public final class AnnotationDeclaration extends TypeDeclaration
| Constructor and Description |
|---|
AnnotationDeclaration() |
AnnotationDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
String name,
List<BodyDeclaration> members) |
AnnotationDeclaration(int modifiers,
String name) |
AnnotationDeclaration(JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
String name,
List<BodyDeclaration> members) |
| Modifier and Type | Method and Description |
|---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
AnnotationDeclaration |
clone() |
List<Node> |
getChildren() |
addBodyReference, addUsage, getBodyReferences, getIdentityComparator, getMembers, getMethodDefinitions, getModifiers, getName, getScopeLevel, getSymbolData, getSymbolName, getTypeDefinitions, getUsages, getVariableDefinitions, merge, removeChild, replaceChildNode, setBodyReferences, setMembers, setModifiers, setName, setScopeLevel, setSymbolData, setUsagesgetAnnotations, getJavaDoc, merge, setAnnotations, setJavaDoccheck, clone, clone, contains, diableConstraints, enableConstraints, equals, getBeginColumn, getBeginLine, getCommonAncestor, getConstraints, getData, getEndColumn, getEndLine, getParentNode, getPrettySource, getPrettySource, hashCode, isAncestorOf, isInEqualLocation, isNewNode, isPreviousThan, remove, replaceChildNodeInList, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setConstraints, setData, setEndColumn, setEndLine, toString, updateReferencespublic AnnotationDeclaration()
public AnnotationDeclaration(int modifiers,
String name)
public AnnotationDeclaration(JavadocComment javaDoc, int modifiers, List<AnnotationExpr> annotations, String name, List<BodyDeclaration> members)
public AnnotationDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
String name,
List<BodyDeclaration> members)
public List<Node> getChildren()
getChildren in class TypeDeclarationpublic <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic AnnotationDeclaration clone() throws CloneNotSupportedException
clone in class NodeCloneNotSupportedExceptionCopyright © 2018. All rights reserved.