net.sourceforge.pmd.lang.ast.Node, net.sourceforge.pmd.lang.ast.QualifiableNode, AccessNode, ASTAnyTypeDeclaration, JavaNode, JavaQualifiableNode, TypeNode, net.sourceforge.pmd.lang.symboltable.ScopedNodepublic class ASTEnumDeclaration extends AbstractJavaAccessTypeNode implements ASTAnyTypeDeclaration
ASTAnyTypeDeclaration.TypeKindparserbeginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent| Constructor | Description |
|---|---|
ASTEnumDeclaration(int id) |
|
ASTEnumDeclaration(JavaParser p,
int id) |
| Modifier and Type | Method | 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.
|
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, setVolatilegetType, getTypeDefinition, setType, setTypeDefinitionchildrenAccept, comment, comment, getScope, getXPathNodeName, jjtClose, jjtOpen, setScopeappendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, 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, toStringgetModifiers, 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, setVolatilechildrenAccept, getScope, setScopepublic ASTEnumDeclaration(int id)
public ASTEnumDeclaration(JavaParser p, int id)
public java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
AbstractJavaNodejjtAccept in interface JavaNodejjtAccept in class AbstractJavaNodepublic boolean isNested()
public JavaQualifiedName getQualifiedName()
JavaQualifiableNodegetQualifiedName in interface JavaQualifiableNodegetQualifiedName in interface net.sourceforge.pmd.lang.ast.QualifiableNodepublic ASTAnyTypeDeclaration.TypeKind getTypeKind()
ASTAnyTypeDeclarationgetTypeKind in interface ASTAnyTypeDeclarationpublic java.util.List<ASTAnyTypeBodyDeclaration> getDeclarations()
ASTAnyTypeDeclarationgetDeclarations in interface ASTAnyTypeDeclarationCopyright © 2002–2018 PMD. All rights reserved.