public class ASTMethodDeclaration extends AbstractJavaAccessNode implements DFAGraphMethod, ASTMethodOrConstructorDeclaration
parserbeginColumn, 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, setVolatilechildrenAccept, comment, comment, getScope, jjtClose, jjtOpen, setScope, toStringappendElement, 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, testingOnlySetEndLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetModifiers, isDefault, isFinal, isNative, isPackagePrivate, isPrivate, isProtected, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, setAbstract, setDefault, setFinal, setModifiers, setNative, setPrivate, setProtected, setPublic, setStatic, setStrictfp, setSynchronized, setTransient, setVolatilechildrenAccept, getScope, setScopepublic ASTMethodDeclaration(int id)
public ASTMethodDeclaration(JavaParser p, int id)
public java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
jjtAccept in interface JavaNodejjtAccept in class AbstractJavaNodepublic java.lang.String getMethodName()
public java.lang.String getName()
getName in interface DFAGraphMethodpublic boolean isSyntacticallyPublic()
public boolean isSyntacticallyAbstract()
public boolean isPublic()
isPublic in interface AccessNodeisPublic in class AbstractJavaAccessNodepublic boolean isAbstract()
isAbstract in interface AccessNodeisAbstract in class AbstractJavaAccessNodepublic boolean isInterfaceMember()
public boolean isVoid()
public ASTResultType getResultType()
public ASTBlock getBlock()
public ASTNameList getThrows()
public JavaQualifiedName getQualifiedName()
JavaQualifiableNodegetQualifiedName in interface QualifiableNodegetQualifiedName in interface JavaQualifiableNodepublic JavaOperationSignature getSignature()
getSignature in interface SignedNode<ASTMethodOrConstructorDeclaration>getSignature in interface ASTMethodOrConstructorDeclarationCopyright © 2002–2017 PMD. All rights reserved.