public class ASTLocalVariableDeclaration extends AccessNode implements Dimensionable, CanSuppressWarnings
beginColumn, beginLine, children, endColumn, endLine, id, parent, parser
Constructor and Description |
---|
ASTLocalVariableDeclaration(int id) |
ASTLocalVariableDeclaration(JavaParser p,
int id) |
Modifier and Type | Method and Description |
---|---|
void |
dump(java.lang.String prefix) |
int |
getArrayDepth() |
ASTType |
getTypeNode() |
java.lang.String |
getVariableName()
Gets the variable name of this field.
|
boolean |
hasSuppressWarningsAnnotationFor(Rule rule) |
boolean |
isArray() |
java.lang.Object |
jjtAccept(JavaParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
collectDumpedModifiers, getModifiers, isAbstract, isFinal, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, setAbstract, setAbstract, setFinal, setFinal, setModifiers, setNative, setNative, setPrivate, setPrivate, setProtected, setProtected, setPublic, setPublic, setStatic, setStatic, setStrictfp, setStrictfp, setSynchronized, setSynchronized, setTransient, setTransient, setVolatile, setVolatile
childrenAccept, jjtClose, jjtOpen, toString
appendElement, asXml, containsChildOfType, dumpChildren, findChildNodesWithXPath, findChildrenOfType, findChildrenOfType, findChildrenOfType, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstParentOfType, getImage, getLabel, getNthParent, getParentsOfType, getScope, hasImageEqualTo, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParent, setDataFlowNode, setImage, setScope, testingOnly__setBeginColumn, testingOnly__setBeginLine, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParent
public ASTLocalVariableDeclaration(int id)
public ASTLocalVariableDeclaration(JavaParser p, int id)
public java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface JavaNode
jjtAccept
in class SimpleJavaNode
public boolean hasSuppressWarningsAnnotationFor(Rule rule)
hasSuppressWarningsAnnotationFor
in interface CanSuppressWarnings
public boolean isArray()
isArray
in interface Dimensionable
public int getArrayDepth()
getArrayDepth
in interface Dimensionable
public ASTType getTypeNode()
public void dump(java.lang.String prefix)
dump
in class SimpleNode
public java.lang.String getVariableName()
null
if the child node is not found.