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, setVolatilechildrenAccept, jjtClose, jjtOpen, toStringappendElement, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitjjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParentpublic ASTLocalVariableDeclaration(int id)
public ASTLocalVariableDeclaration(JavaParser p, int id)
public java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
jjtAccept in interface JavaNodejjtAccept in class SimpleJavaNodepublic boolean hasSuppressWarningsAnnotationFor(Rule rule)
hasSuppressWarningsAnnotationFor in interface CanSuppressWarningspublic boolean isArray()
isArray in interface Dimensionablepublic int getArrayDepth()
getArrayDepth in interface Dimensionablepublic ASTType getTypeNode()
public void dump(java.lang.String prefix)
dump in class SimpleNodepublic java.lang.String getVariableName()
null if the child node is not found.