public final class EnumDeclaration extends TypeDeclaration implements DocumentableNode
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE| Constructor and Description |
|---|
EnumDeclaration() |
EnumDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
String name,
List<ClassOrInterfaceType> implementsList,
List<EnumConstantDeclaration> entries,
List<BodyDeclaration> members) |
EnumDeclaration(int modifiers,
List<AnnotationExpr> annotations,
String name,
List<ClassOrInterfaceType> implementsList,
List<EnumConstantDeclaration> entries,
List<BodyDeclaration> members) |
EnumDeclaration(int modifiers,
String name) |
| 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.
|
List<EnumConstantDeclaration> |
getEntries() |
List<ClassOrInterfaceType> |
getImplements() |
JavadocComment |
getJavaDoc() |
void |
setEntries(List<EnumConstantDeclaration> entries) |
void |
setImplements(List<ClassOrInterfaceType> implementsList) |
void |
setJavaDoc(JavadocComment javadocComment) |
getMembers, getModifiers, getName, getNameExpr, setMembers, setModifiers, setName, setNameExprgetAnnotations, setAnnotationsaddOrphanComment, 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, toStringWithoutCommentspublic EnumDeclaration()
public EnumDeclaration(int modifiers,
String name)
public EnumDeclaration(int modifiers,
List<AnnotationExpr> annotations,
String name,
List<ClassOrInterfaceType> implementsList,
List<EnumConstantDeclaration> entries,
List<BodyDeclaration> members)
public EnumDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
String name,
List<ClassOrInterfaceType> implementsList,
List<EnumConstantDeclaration> entries,
List<BodyDeclaration> members)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic List<EnumConstantDeclaration> getEntries()
public List<ClassOrInterfaceType> getImplements()
public void setEntries(List<EnumConstantDeclaration> entries)
public void setImplements(List<ClassOrInterfaceType> implementsList)
public void setJavaDoc(JavadocComment javadocComment)
setJavaDoc in interface DocumentableNodepublic JavadocComment getJavaDoc()
getJavaDoc in interface DocumentableNodeCopyright © 2007-2015. All Rights Reserved.