public class ASTFieldDeclaration extends AbstractJavaAccessTypeNode implements Dimensionable
parser
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
Constructor and Description |
---|
ASTFieldDeclaration(int id) |
ASTFieldDeclaration(JavaParser p,
int id) |
Modifier and Type | Method and Description |
---|---|
int |
getArrayDepth() |
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() |
Object |
jjtAccept(JavaParserVisitor visitor,
Object data)
Accept the visitor.
|
getType, setType
getModifiers, isAbstract, isDefault, isNative, isStrictfp, isSynchronized, isTransient, isVolatile, setAbstract, setDefault, setFinal, setModifiers, setNative, setPrivate, setProtected, setPublic, setStatic, setStrictfp, setSynchronized, setTransient, setVolatile
childrenAccept, comment, comment, getScope, jjtClose, jjtOpen, setScope, toString
appendElement, 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__setEndLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findChildNodesWithXPath, 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, setUserData
public ASTFieldDeclaration(int id)
public ASTFieldDeclaration(JavaParser p, int id)
public Object jjtAccept(JavaParserVisitor visitor, Object data)
jjtAccept
in interface JavaNode
jjtAccept
in class AbstractJavaNode
public boolean isSyntacticallyPublic()
public boolean isPublic()
isPublic
in interface AccessNode
isPublic
in class AbstractJavaAccessNode
public boolean isSyntacticallyStatic()
public boolean isStatic()
isStatic
in interface AccessNode
isStatic
in class AbstractJavaAccessNode
public boolean isSyntacticallyFinal()
public boolean isFinal()
isFinal
in interface AccessNode
isFinal
in class AbstractJavaAccessNode
public boolean isPrivate()
isPrivate
in interface AccessNode
isPrivate
in class AbstractJavaAccessNode
public boolean isPackagePrivate()
isPackagePrivate
in interface AccessNode
isPackagePrivate
in class AbstractJavaAccessNode
public boolean isProtected()
isProtected
in interface AccessNode
isProtected
in class AbstractJavaAccessNode
public boolean isInterfaceMember()
public boolean isArray()
isArray
in interface Dimensionable
public int getArrayDepth()
getArrayDepth
in interface Dimensionable
public String getVariableName()
null
if the child node is not found.Copyright © 2002-2015 InfoEther. All Rights Reserved.