public class Implements extends InheritanceSpecification
supertypes
Constructor and Description |
---|
Implements()
Implements.
|
Implements(ExtList children)
Implements.
|
Implements(TypeReference supertype)
Implements.
|
Implements(TypeReference[] typeRefs)
Implements.
|
Modifier and Type | Method and Description |
---|---|
void |
prettyPrint(PrettyPrinter p)
Pretty printing the source element.
|
void |
visit(Visitor v)
calls the corresponding method of a visitor in order to
perform some action/transformation on this element
|
getChildAt, getChildCount, getLastElement, getSupertypes, getTypeReferenceAt, getTypeReferenceCount
compatibleBlockSize, computeHashCode, equals, equalsModRenaming, getArrayPos, match, matchChildren
getComments, hashCode, prettyPrintMain, reuseSignature
getEndPosition, getFirstElement, getFirstElementIncludingBlocks, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getComments, match
equalsModRenaming, getEndPosition, getFirstElement, getFirstElementIncludingBlocks, getPositionInfo, getRelativePosition, getStartPosition
public Implements()
public Implements(TypeReference supertype)
supertype
- a type reference.public Implements(TypeReference[] typeRefs)
typeRefs
- a type reference array.public Implements(ExtList children)
children
- containing the children. May include:
a Comment,
several TypeReference (as references to the supertypes)public void visit(Visitor v)
v
- the Visitorpublic void prettyPrint(PrettyPrinter p) throws java.io.IOException
JavaSourceElement
prettyPrint
in interface SourceElement
prettyPrint
in class JavaProgramElement
p
- a pretty printer.java.io.IOException
- occasionally thrown.