public final class AnnotationMemberDeclaration extends BodyDeclaration implements DocumentableNode
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, setAnnotationsaddOrphanComment, 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, toStringWithoutCommentspublic 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)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic Expression getDefaultValue()
public int getModifiers()
ModifierSetpublic java.lang.String getName()
public void setJavaDoc(JavadocComment javadocComment)
setJavaDoc in interface DocumentableNodepublic 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 JavadocComment getJavaDoc()
getJavaDoc in interface DocumentableNodeCopyright © 2007-2015. All Rights Reserved.