public class ASTMethodDeclaration extends AccessNode
beginColumn, beginLine, children, endColumn, endLine, id, parent, parser
Constructor and Description |
---|
ASTMethodDeclaration(int id) |
ASTMethodDeclaration(JavaParser p,
int id) |
Modifier and Type | Method and Description |
---|---|
void |
dump(java.lang.String prefix) |
ASTBlock |
getBlock() |
java.lang.String |
getMethodName()
Gets the name of the method.
|
ASTResultType |
getResultType() |
boolean |
isAbstract() |
boolean |
isInterfaceMember() |
boolean |
isPublic() |
boolean |
isSyntacticallyAbstract() |
boolean |
isSyntacticallyPublic() |
boolean |
isVoid() |
java.lang.Object |
jjtAccept(JavaParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
collectDumpedModifiers, getModifiers, isFinal, isNative, isPackagePrivate, isPrivate, isProtected, 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 ASTMethodDeclaration(int id)
public ASTMethodDeclaration(JavaParser p, int id)
public java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface JavaNode
jjtAccept
in class SimpleJavaNode
public void dump(java.lang.String prefix)
dump
in class SimpleNode
public java.lang.String getMethodName()
public boolean isSyntacticallyPublic()
public boolean isSyntacticallyAbstract()
public boolean isPublic()
isPublic
in interface AccessNodeInterface
isPublic
in class SimpleJavaAccessNode
public boolean isAbstract()
isAbstract
in interface AccessNodeInterface
isAbstract
in class SimpleJavaAccessNode
public boolean isInterfaceMember()
public boolean isVoid()
public ASTResultType getResultType()
public ASTBlock getBlock()