Interface SymbolDeclaratorNode
- All Superinterfaces:
GenericNode<JavaNode>,JavaNode,JjtreeNode<JavaNode>,Node,Reportable,TextAvailableNode
- All Known Subinterfaces:
ASTExecutableDeclaration,ASTTypeDeclaration,TypeParamOwnerNode
- All Known Implementing Classes:
ASTAnnotationTypeDeclaration,ASTAnonymousClassDeclaration,ASTClassDeclaration,ASTCompactConstructorDeclaration,ASTConstructorDeclaration,ASTEnumDeclaration,ASTImplicitClassDeclaration,ASTMethodDeclaration,ASTRecordComponent,ASTRecordComponentList,ASTRecordDeclaration,ASTTypeParameter,ASTVariableId
A node that declares a corresponding symbol.
-
Field Summary
Fields inherited from interface net.sourceforge.pmd.lang.ast.Node
COORDS_COMPARATOR -
Method Summary
Modifier and TypeMethodDescriptionReturns the symbol this node declares.Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.GenericNode
ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getChild, getFirstChild, getLastChild, getNextSibling, getParent, getPreviousSiblingMethods inherited from interface net.sourceforge.pmd.lang.java.ast.JavaNode
getEnclosingType, getRoot, getSymbolTable, getTypeSystemMethods inherited from interface net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeNode
getFirstToken, getLastToken, tokensMethods inherited from interface net.sourceforge.pmd.lang.ast.Node
acceptVisitor, ancestors, children, compareLocation, descendants, firstChild, getAstInfo, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getImage, getIndexInParent, getLanguageVersion, getNumChildren, getReportLocation, getTextDocument, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasImageEqualTo, isFindBoundaryMethods inherited from interface net.sourceforge.pmd.lang.ast.TextAvailableNode
getOriginalText, getText, getTextRegion
-
Method Details
-
getSymbol
JElementSymbol getSymbol()Returns the symbol this node declares.
-