net.sourceforge.pmd.lang.ast.Node
AbstractJavaAccessTypeNode
, AbstractJavaTypeNode
, ASTAdditiveExpression
, ASTAllocationExpression
, ASTAndExpression
, ASTAnnotationTypeDeclaration
, ASTBooleanLiteral
, ASTCastExpression
, ASTClassOrInterfaceDeclaration
, ASTClassOrInterfaceType
, ASTCompilationUnit
, ASTConditionalAndExpression
, ASTConditionalExpression
, ASTConditionalOrExpression
, ASTEnumDeclaration
, ASTEqualityExpression
, ASTExclusiveOrExpression
, ASTExpression
, ASTFieldDeclaration
, ASTImportDeclaration
, ASTInclusiveOrExpression
, ASTInstanceOfExpression
, ASTLiteral
, ASTMarkerAnnotation
, ASTMultiplicativeExpression
, ASTName
, ASTNormalAnnotation
, ASTNullLiteral
, ASTPostfixExpression
, ASTPreDecrementExpression
, ASTPreIncrementExpression
, ASTPrimaryExpression
, ASTPrimaryPrefix
, ASTPrimarySuffix
, ASTPrimitiveType
, ASTReferenceType
, ASTRelationalExpression
, ASTShiftExpression
, ASTSingleMemberAnnotation
, ASTStatementExpression
, ASTType
, ASTTypeArgument
, ASTTypeBound
, ASTTypeDeclaration
, ASTTypeParameter
, ASTUnaryExpression
, ASTUnaryExpressionNotPlusMinus
, ASTVariableDeclarator
, ASTVariableDeclaratorId
, ASTWildcardBounds
public interface TypeNode extends net.sourceforge.pmd.lang.ast.Node
Modifier and Type | Method | Description |
---|---|---|
java.lang.Class<?> |
getType() |
Get the Java Class associated with this node.
|
JavaTypeDefinition |
getTypeDefinition() |
Get the TypeDefinition associated with this node.
|
void |
setType(java.lang.Class<?> type) |
Set the Java Class associated with this node.
|
void |
setTypeDefinition(JavaTypeDefinition type) |
Set the TypeDefinition associated with this node.
|
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
java.lang.Class<?> getType()
null
.JavaTypeDefinition getTypeDefinition()
getType()
.null
void setTypeDefinition(JavaTypeDefinition type)
type
- A TypeDefinition objectvoid setType(java.lang.Class<?> type)
type
- A Java ClassCopyright © 2002–2018 PMD. All rights reserved.