public final class AnnotationDeclaration extends TypeDeclaration
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
AnnotationDeclaration() |
AnnotationDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
String name,
List<BodyDeclaration> members)
Deprecated.
prefer using Range objects.
|
AnnotationDeclaration(int modifiers,
List<AnnotationExpr> annotations,
String name,
List<BodyDeclaration> members) |
AnnotationDeclaration(int modifiers,
String name) |
AnnotationDeclaration(Range range,
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.
|
getJavaDoc, getMembers, getModifiers, getName, getNameExpr, setMembers, setModifiers, setName, setNameExpr
getAnnotations, setAnnotations
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEnd, getEndColumn, getEndLine, getOrphanComments, getParentNode, getRange, hasComment, hashCode, isPositionedAfter, isPositionedAfter, isPositionedBefore, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBeginColumn, setBeginLine, setComment, setData, setEnd, setEndColumn, setEndLine, setParentNode, setRange, toString, toStringWithoutComments
public AnnotationDeclaration()
public AnnotationDeclaration(int modifiers, String name)
public AnnotationDeclaration(int modifiers, List<AnnotationExpr> annotations, String name, List<BodyDeclaration> members)
@Deprecated public AnnotationDeclaration(int beginLine, int beginColumn, int endLine, int endColumn, int modifiers, List<AnnotationExpr> annotations, String name, List<BodyDeclaration> members)
public AnnotationDeclaration(Range range, int modifiers, List<AnnotationExpr> annotations, String name, List<BodyDeclaration> members)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
Copyright © 2007–2016. All rights reserved.