JavaNode, net.sourceforge.pmd.lang.ast.Node, net.sourceforge.pmd.lang.symboltable.ScopedNodeASTAnnotationTypeMemberDeclaration, ASTClassOrInterfaceBodyDeclarationpublic interface ASTAnyTypeBodyDeclaration extends JavaNode
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
ASTAnyTypeBodyDeclaration.DeclarationKind |
Kind of declaration.
|
| Modifier and Type | Method | Description |
|---|---|---|
JavaNode |
getDeclarationNode() |
Returns the child of this declaration,
which can be cast to a more specific node
type using
getKind() as a cue. |
ASTAnyTypeBodyDeclaration.DeclarationKind |
getKind() |
Gets the kind of declaration this node contains.
|
childrenAccept, getScope, jjtAccept, setScopefindChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserDataJavaNode getDeclarationNode()
getKind() as a cue.
Returns null if this is an empty declaration, that is, a single semicolon.
ASTAnyTypeBodyDeclaration.DeclarationKind getKind()
Copyright © 2002–2018 PMD. All rights reserved.