oracle.javatools.parser.java.v2.model
Interface SourceAnnotation
- All Superinterfaces: 
 - Element, JavaAnnotation, JavaElement, JavaHasType, SourceElement, SourceHasName
 
public interface SourceAnnotation
- extends SourceElement, SourceHasName, JavaAnnotation
 
An annotation (not to be confused with annotation type).
 
 
 
 
| Methods inherited from interface oracle.javatools.parser.java.v2.model.SourceElement | 
addSelf, addSelf, addSelfAfter, addSelfBefore, clearBinding, cloneSelf, compile, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getEndOffset, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelf | 
 
 
 
| Methods inherited from interface oracle.javatools.parser.java.v2.model.JavaElement | 
getElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo | 
 
EMPTY_ARRAY
static final SourceAnnotation[] EMPTY_ARRAY
getArgumentList
SourceListExpression getArgumentList()
- Gets the argument list.
 
- Returns:
 - The argument list expression used to construct this annotation.
 
 
 
getArgumentCount
int getArgumentCount()
- Gets the number of arguments.  Equivalent to calling
 getArgumentList().getOperandCount().
 
- Returns:
 - The size of the argument list expression.
 
 
 
getArgumentAt
SourceExpression getArgumentAt(int i)
- Gets the indicated argument.  Equivalent to calling
 getArgumentList().getOperandAt( i ).
 
- Parameters:
 i - 0-based.
 
 
Copyright © 1997, 2011, Oracle. All rights reserved.