public class ASTVariableDeclaratorId extends AbstractJavaTypeNode
parser
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
Constructor and Description |
---|
ASTVariableDeclaratorId(int id) |
ASTVariableDeclaratorId(JavaParser p,
int id) |
Modifier and Type | Method and Description |
---|---|
void |
bumpArrayDepth() |
int |
getArrayDepth() |
VariableNameDeclaration |
getNameDeclaration() |
Node |
getTypeNameNode() |
ASTType |
getTypeNode()
Determines the type node of this variable id.
|
List<NameOccurrence> |
getUsages() |
boolean |
isArray() |
boolean |
isExceptionBlockParameter() |
Object |
jjtAccept(JavaParserVisitor visitor,
Object data)
Accept the visitor.
|
void |
setNameDeclaration(VariableNameDeclaration decl) |
getType, setType
childrenAccept, comment, comment, getScope, jjtClose, jjtOpen, setScope, toString
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, setDataFlowNode, setImage, setUserData, testingOnly__setBeginColumn, testingOnly__setBeginLine, testingOnly__setEndColumn, testingOnly__setEndLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, setDataFlowNode, setImage, setUserData
public ASTVariableDeclaratorId(int id)
public ASTVariableDeclaratorId(JavaParser p, int id)
public Object jjtAccept(JavaParserVisitor visitor, Object data)
jjtAccept
in interface JavaNode
jjtAccept
in class AbstractJavaNode
public VariableNameDeclaration getNameDeclaration()
public void setNameDeclaration(VariableNameDeclaration decl)
public List<NameOccurrence> getUsages()
public void bumpArrayDepth()
public int getArrayDepth()
public boolean isArray()
public boolean isExceptionBlockParameter()
public Node getTypeNameNode()
public ASTType getTypeNode()
null
if there is no explicit type.Copyright © 2002-2015 InfoEther. All Rights Reserved.