public class ASTEnumDeclaration extends AbstractJavaAccessTypeNode implements ASTAnyTypeDeclaration
ASTAnyTypeDeclaration.TypeKind
parser
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
Constructor and Description |
---|
ASTEnumDeclaration(int id) |
ASTEnumDeclaration(JavaParser p,
int id) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ASTAnyTypeBodyDeclaration> |
getDeclarations()
Retrieves the member declarations (fields, methods, classes, etc.) from the body of this type declaration.
|
JavaQualifiedName |
getQualifiedName()
Returns a qualified name for this node.
|
ASTAnyTypeDeclaration.TypeKind |
getTypeKind()
Finds the type kind of this declaration.
|
boolean |
isNested() |
java.lang.Object |
jjtAccept(JavaParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
getType, getTypeDefinition, setType, setTypeDefinition
getModifiers, isAbstract, isDefault, isFinal, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, setAbstract, setDefault, setFinal, setModifiers, setNative, setPrivate, setProtected, setPublic, setStatic, setStrictfp, setSynchronized, setTransient, setVolatile
childrenAccept, comment, comment, getScope, jjtClose, jjtOpen, setScope, toString
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getModifiers, isAbstract, isDefault, isFinal, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, setAbstract, setDefault, setFinal, setModifiers, setNative, setPrivate, setProtected, setPublic, setStatic, setStrictfp, setSynchronized, setTransient, setVolatile
childrenAccept, getScope, setScope
public ASTEnumDeclaration(int id)
public ASTEnumDeclaration(JavaParser p, int id)
public java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
AbstractJavaNode
jjtAccept
in interface JavaNode
jjtAccept
in class AbstractJavaNode
public boolean isNested()
public JavaQualifiedName getQualifiedName()
JavaQualifiableNode
getQualifiedName
in interface QualifiableNode
getQualifiedName
in interface JavaQualifiableNode
public ASTAnyTypeDeclaration.TypeKind getTypeKind()
ASTAnyTypeDeclaration
getTypeKind
in interface ASTAnyTypeDeclaration
public java.util.List<ASTAnyTypeBodyDeclaration> getDeclarations()
ASTAnyTypeDeclaration
getDeclarations
in interface ASTAnyTypeDeclaration
Copyright © 2002–2017 PMD. All rights reserved.