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, setType
collectDumpedModifiers, 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, 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 ASTFieldDeclaration(int id)
public ASTFieldDeclaration(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 isSyntacticallyPublic()
public boolean isPublic()
isPublic
in interface AccessNodeInterface
isPublic
in class SimpleJavaAccessNode
public boolean isSyntacticallyStatic()
public boolean isStatic()
isStatic
in interface AccessNodeInterface
isStatic
in class SimpleJavaAccessNode
public boolean isSyntacticallyFinal()
public boolean isFinal()
isFinal
in interface AccessNodeInterface
isFinal
in class SimpleJavaAccessNode
public boolean isPrivate()
isPrivate
in interface AccessNodeInterface
isPrivate
in class SimpleJavaAccessNode
public boolean isPackagePrivate()
isPackagePrivate
in interface AccessNodeInterface
isPackagePrivate
in class SimpleJavaAccessNode
public boolean isProtected()
isProtected
in interface AccessNodeInterface
isProtected
in class SimpleJavaAccessNode
public boolean isInterfaceMember()
public boolean isArray()
isArray
in interface Dimensionable
public int getArrayDepth()
getArrayDepth
in interface Dimensionable
public void dump(java.lang.String prefix)
dump
in class SimpleNode
public java.lang.String getVariableName()
null
if the child node is not found.