Interface SymbolDeclaratorNode
-
- All Superinterfaces:
net.sourceforge.pmd.lang.ast.impl.GenericNode<JavaNode>,JavaNode,net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeNode<JavaNode>,net.sourceforge.pmd.lang.ast.Node,net.sourceforge.pmd.reporting.Reportable,net.sourceforge.pmd.lang.ast.TextAvailableNode
- All Known Subinterfaces:
ASTExecutableDeclaration,ASTTypeDeclaration,TypeParamOwnerNode
- All Known Implementing Classes:
ASTAnnotationTypeDeclaration,ASTAnonymousClassDeclaration,ASTClassDeclaration,ASTCompactConstructorDeclaration,ASTConstructorDeclaration,ASTEnumDeclaration,ASTImplicitClassDeclaration,ASTMethodDeclaration,ASTRecordComponent,ASTRecordComponentList,ASTRecordDeclaration,ASTTypeParameter,ASTVariableId
public interface SymbolDeclaratorNode extends JavaNode
A node that declares a corresponding symbol.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JElementSymbolgetSymbol()Returns 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, getPreviousSibling
-
Methods inherited from interface net.sourceforge.pmd.lang.java.ast.JavaNode
getEnclosingType, getRoot, getSymbolTable, getTypeSystem
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeNode
getFirstToken, getLastToken, tokens
-
Methods 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, isFindBoundary
-
-
-
-
Method Detail
-
getSymbol
JElementSymbol getSymbol()
Returns the symbol this node declares.
-
-