Interface TypeParamOwnerNode
-
- All Superinterfaces:
GenericNode<JavaNode>
,JavaNode
,JjtreeNode<JavaNode>
,Node
,Reportable
,SymbolDeclaratorNode
,TextAvailableNode
- All Known Subinterfaces:
ASTExecutableDeclaration
,ASTTypeDeclaration
- All Known Implementing Classes:
ASTAnnotationTypeDeclaration
,ASTAnonymousClassDeclaration
,ASTClassDeclaration
,ASTConstructorDeclaration
,ASTEnumDeclaration
,ASTMethodDeclaration
,ASTRecordDeclaration
public interface TypeParamOwnerNode extends SymbolDeclaratorNode
A symbol declaration, whose symbol can declare type parameters.- Author:
- Clément Fournier
-
-
Field Summary
-
Fields inherited from interface net.sourceforge.pmd.lang.ast.Node
COORDS_COMPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description JTypeParameterOwnerSymbol
getSymbol()
Returns the symbol this node declares.default @Nullable ASTTypeParameters
getTypeParameters()
Returns the type parameter declaration of this node, or null if there is none.-
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
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.TextAvailableNode
getOriginalText, getText, getTextRegion
-
-
-
-
Method Detail
-
getSymbol
JTypeParameterOwnerSymbol getSymbol()
Description copied from interface:SymbolDeclaratorNode
Returns the symbol this node declares.- Specified by:
getSymbol
in interfaceSymbolDeclaratorNode
-
getTypeParameters
default @Nullable ASTTypeParameters getTypeParameters()
Returns the type parameter declaration of this node, or null if there is none.
-
-