net.sourceforge.pmd.lang.ast.Node
, AccessNode
, JavaNode
, TypeNode
, net.sourceforge.pmd.lang.symboltable.ScopedNode
ASTAnnotationTypeDeclaration
, ASTClassOrInterfaceDeclaration
, ASTEnumDeclaration
, ASTFieldDeclaration
public abstract class AbstractJavaAccessTypeNode extends AbstractJavaAccessNode implements TypeNode
parser
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
Constructor | Description |
---|---|
AbstractJavaAccessTypeNode(int i) |
|
AbstractJavaAccessTypeNode(JavaParser parser,
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.
|
getModifiers, isAbstract, isDefault, isFinal, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, setAbstract, setDefault, setFinal, setModifiers, setNative, setPrivate, setProtected, setPublic, setStatic, setStrictfp, setSynchronized, setTransient, setVolatile
childrenAccept, comment, comment, getScope, getXPathNodeName, jjtAccept, jjtClose, jjtOpen, setScope
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, 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, toString
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
public AbstractJavaAccessTypeNode(int i)
public AbstractJavaAccessTypeNode(JavaParser parser, int i)
public java.lang.Class<?> getType()
TypeNode
public void setType(java.lang.Class<?> type)
TypeNode
public JavaTypeDefinition getTypeDefinition()
TypeNode
getType()
.getTypeDefinition
in interface TypeNode
null
public void setTypeDefinition(JavaTypeDefinition typeDefinition)
TypeNode
setTypeDefinition
in interface TypeNode
typeDefinition
- A TypeDefinition objectCopyright © 2002–2018 PMD. All rights reserved.