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, getTypeReferenceCountcompatibleBlockSize, computeHashCode, equals, equalsModRenaming, getArrayPos, match, matchChildrengetComments, hashCode, prettyPrintMain, reuseSignaturegetEndPosition, getFirstElement, getFirstElementIncludingBlocks, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetComments, matchequalsModRenaming, getEndPosition, getFirstElement, getFirstElementIncludingBlocks, getPositionInfo, getRelativePosition, getStartPositionpublic 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
JavaSourceElementprettyPrint in interface SourceElementprettyPrint in class JavaProgramElementp - a pretty printer.java.io.IOException - occasionally thrown.