public class ASTFieldDeclaration extends SimpleJavaAccessTypeNode implements Dimensionable
beginColumn, beginLine, children, endColumn, endLine, id, parent, parser| Constructor and Description |
|---|
ASTFieldDeclaration(int id) |
ASTFieldDeclaration(JavaParser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(java.lang.String prefix) |
int |
getArrayDepth() |
java.lang.String |
getVariableName()
Gets the variable name of this field.
|
boolean |
isArray() |
boolean |
isFinal() |
boolean |
isInterfaceMember() |
boolean |
isPackagePrivate() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
boolean |
isSyntacticallyFinal() |
boolean |
isSyntacticallyPublic() |
boolean |
isSyntacticallyStatic() |
java.lang.Object |
jjtAccept(JavaParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
getType, setTypecollectDumpedModifiers, getModifiers, isAbstract, isNative, 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 ASTFieldDeclaration(int id)
public ASTFieldDeclaration(JavaParser p, int id)
public java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
jjtAccept in interface JavaNodejjtAccept in class SimpleJavaNodepublic boolean isSyntacticallyPublic()
public boolean isPublic()
isPublic in interface AccessNodeInterfaceisPublic in class SimpleJavaAccessNodepublic boolean isSyntacticallyStatic()
public boolean isStatic()
isStatic in interface AccessNodeInterfaceisStatic in class SimpleJavaAccessNodepublic boolean isSyntacticallyFinal()
public boolean isFinal()
isFinal in interface AccessNodeInterfaceisFinal in class SimpleJavaAccessNodepublic boolean isPrivate()
isPrivate in interface AccessNodeInterfaceisPrivate in class SimpleJavaAccessNodepublic boolean isPackagePrivate()
isPackagePrivate in interface AccessNodeInterfaceisPackagePrivate in class SimpleJavaAccessNodepublic boolean isProtected()
isProtected in interface AccessNodeInterfaceisProtected in class SimpleJavaAccessNodepublic boolean isInterfaceMember()
public boolean isArray()
isArray in interface Dimensionablepublic int getArrayDepth()
getArrayDepth in interface Dimensionablepublic void dump(java.lang.String prefix)
dump in class SimpleNodepublic java.lang.String getVariableName()
null if the child node is not found.