public class ASTVariableDeclaratorId extends AbstractJavaTypeNode
parserbeginColumn, 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() |
boolean |
isExplicitReceiverParameter() |
Object |
jjtAccept(JavaParserVisitor visitor,
Object data)
Accept the visitor.
|
void |
setExplicitReceiverParameter() |
void |
setNameDeclaration(VariableNameDeclaration decl) |
getType, setTypechildrenAccept, comment, comment, getScope, jjtClose, jjtOpen, setScope, toStringappendElement, 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__setEndLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindChildNodesWithXPath, 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, setUserDatapublic ASTVariableDeclaratorId(int id)
public ASTVariableDeclaratorId(JavaParser p, int id)
public Object jjtAccept(JavaParserVisitor visitor, Object data)
jjtAccept in interface JavaNodejjtAccept in class AbstractJavaNodepublic VariableNameDeclaration getNameDeclaration()
public void setNameDeclaration(VariableNameDeclaration decl)
public List<NameOccurrence> getUsages()
public void bumpArrayDepth()
public int getArrayDepth()
public boolean isArray()
public boolean isExceptionBlockParameter()
public void setExplicitReceiverParameter()
public boolean isExplicitReceiverParameter()
public Node getTypeNameNode()
public ASTType getTypeNode()
null if there is no explicit type.Copyright © 2002–2016 InfoEther. All rights reserved.