public class ASTMethodDeclaration extends AbstractJavaAccessNode implements DFAGraphMethod, ASTMethodOrConstructorDeclaration
parser
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
Constructor and Description |
---|
ASTMethodDeclaration(int id) |
ASTMethodDeclaration(JavaParser p,
int id) |
Modifier and Type | Method and Description |
---|---|
ASTBlock |
getBlock() |
java.lang.String |
getMethodName()
Gets the name of the method.
|
java.lang.String |
getName() |
JavaQualifiedName |
getQualifiedName()
Returns a qualified name for this node.
|
ASTResultType |
getResultType() |
JavaOperationSignature |
getSignature() |
ASTNameList |
getThrows() |
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.
|
getModifiers, isDefault, isFinal, isNative, isPackagePrivate, isPrivate, isProtected, isStatic, 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, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getModifiers, isDefault, isFinal, isNative, isPackagePrivate, isPrivate, isProtected, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, setAbstract, setDefault, setFinal, setModifiers, setNative, setPrivate, setProtected, setPublic, setStatic, setStrictfp, setSynchronized, setTransient, setVolatile
childrenAccept, getScope, setScope
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 AbstractJavaNode
public java.lang.String getMethodName()
public java.lang.String getName()
getName
in interface DFAGraphMethod
public boolean isSyntacticallyPublic()
public boolean isSyntacticallyAbstract()
public boolean isPublic()
isPublic
in interface AccessNode
isPublic
in class AbstractJavaAccessNode
public boolean isAbstract()
isAbstract
in interface AccessNode
isAbstract
in class AbstractJavaAccessNode
public boolean isInterfaceMember()
public boolean isVoid()
public ASTResultType getResultType()
public ASTBlock getBlock()
public ASTNameList getThrows()
public JavaQualifiedName getQualifiedName()
JavaQualifiableNode
getQualifiedName
in interface QualifiableNode
getQualifiedName
in interface JavaQualifiableNode
public JavaOperationSignature getSignature()
getSignature
in interface SignedNode<ASTMethodOrConstructorDeclaration>
getSignature
in interface ASTMethodOrConstructorDeclaration
Copyright © 2002–2017 PMD. All rights reserved.