net.sourceforge.pmd.lang.ast.Node, JavaNode, TypeNode, net.sourceforge.pmd.lang.symboltable.ScopedNodeASTAdditiveExpression, ASTAllocationExpression, ASTAndExpression, ASTAnnotation, ASTBooleanLiteral, ASTCastExpression, ASTClassOrInterfaceType, ASTCompilationUnit, ASTConditionalAndExpression, ASTConditionalExpression, ASTConditionalOrExpression, ASTEqualityExpression, ASTExclusiveOrExpression, ASTExpression, 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, ASTWildcardBoundspublic abstract class AbstractJavaTypeNode extends AbstractJavaNode implements TypeNode
AbstractJavaNode,
TypeNodeparser| Constructor | Description |
|---|---|
AbstractJavaTypeNode(int i) |
|
AbstractJavaTypeNode(JavaParser p,
int i) |
| 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 typeDefinition) |
Set the TypeDefinition associated with this node.
|
childrenAccept, comment, comment, getScope, getXPathNodeName, jjtAccept, jjtClose, jjtOpen, setScopeappendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toStringfindChildNodesWithXPath, 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, setUserDatapublic AbstractJavaTypeNode(int i)
public AbstractJavaTypeNode(JavaParser p, int i)
public java.lang.Class<?> getType()
TypeNodepublic void setType(java.lang.Class<?> type)
TypeNodepublic JavaTypeDefinition getTypeDefinition()
TypeNodegetType().getTypeDefinition in interface TypeNodenullpublic void setTypeDefinition(JavaTypeDefinition typeDefinition)
TypeNodesetTypeDefinition in interface TypeNodetypeDefinition - A TypeDefinition objectCopyright © 2002–2018 PMD. All rights reserved.