public class AnnotationUseSpecification extends Modifier implements TypeReferenceContainer
Modifier and Type | Field and Description |
---|---|
protected TypeReference |
tr |
Constructor and Description |
---|
AnnotationUseSpecification(TypeReference tr) |
Modifier and Type | Method and Description |
---|---|
ProgramElement |
getChildAt(int index)
Returns the child at the specified index in this node's "virtual"
child array.
|
int |
getChildCount()
Returns the number of children of this node.
|
protected java.lang.String |
getSymbol()
Get symbol.
|
TypeReference |
getTypeReferenceAt(int index) |
int |
getTypeReferenceCount()
Get the number of type references in this container.
|
getText, prettyPrint, visit
computeHashCode, equals, equalsModRenaming, getComments, hashCode, match, prettyPrintMain, reuseSignature
getEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getComments, match
equalsModRenaming, getEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getPositionInfo, getRelativePosition, getStartPosition, prettyPrint, visit
protected final TypeReference tr
public AnnotationUseSpecification(TypeReference tr)
protected java.lang.String getSymbol()
Modifier
public TypeReference getTypeReferenceAt(int index)
getTypeReferenceAt
in interface TypeReferenceContainer
public int getTypeReferenceCount()
TypeReferenceContainer
getTypeReferenceCount
in interface TypeReferenceContainer
public ProgramElement getChildAt(int index)
NonTerminalProgramElement
getChildAt
in interface NonTerminalProgramElement
index
- an index into this node's "virtual" child arraypublic int getChildCount()
NonTerminalProgramElement
getChildCount
in interface NonTerminalProgramElement