public final class AnnotationMemberDeclaration extends BodyDeclaration implements DocumentableNode, NamedNode
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
AnnotationMemberDeclaration() |
AnnotationMemberDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
java.util.List<AnnotationExpr> annotations,
Type type,
java.lang.String name,
Expression defaultValue) |
AnnotationMemberDeclaration(int modifiers,
java.util.List<AnnotationExpr> annotations,
Type type,
java.lang.String name,
Expression defaultValue) |
AnnotationMemberDeclaration(int modifiers,
Type type,
java.lang.String name,
Expression defaultValue) |
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.
|
Expression |
getDefaultValue() |
JavadocComment |
getJavaDoc() |
int |
getModifiers()
Return the modifiers of this member declaration.
|
java.lang.String |
getName() |
Type |
getType() |
void |
setDefaultValue(Expression defaultValue) |
void |
setJavaDoc(JavadocComment javadocComment) |
void |
setModifiers(int modifiers) |
void |
setName(java.lang.String name) |
void |
setType(Type type) |
getAnnotations, setAnnotations
addOrphanComment, clone, contains, equals, getAllContainedComments, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEndColumn, getEndLine, getOrphanComments, getParentNode, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setComment, setData, setEndColumn, setEndLine, setParentNode, toString, toStringWithoutComments
public AnnotationMemberDeclaration()
public AnnotationMemberDeclaration(int modifiers, Type type, java.lang.String name, Expression defaultValue)
public AnnotationMemberDeclaration(int modifiers, java.util.List<AnnotationExpr> annotations, Type type, java.lang.String name, Expression defaultValue)
public AnnotationMemberDeclaration(int beginLine, int beginColumn, int endLine, int endColumn, int modifiers, java.util.List<AnnotationExpr> annotations, Type type, java.lang.String name, Expression defaultValue)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public Expression getDefaultValue()
public int getModifiers()
ModifierSet
public Type getType()
public void setDefaultValue(Expression defaultValue)
public void setModifiers(int modifiers)
public void setName(java.lang.String name)
public void setType(Type type)
public void setJavaDoc(JavadocComment javadocComment)
setJavaDoc
in interface DocumentableNode
public JavadocComment getJavaDoc()
getJavaDoc
in interface DocumentableNode
Copyright © 2007-2015. All Rights Reserved.