ApexNode<ASTMethod>
, ApexQualifiableNode
, CanSuppressWarnings
, net.sourceforge.pmd.lang.ast.Node
, net.sourceforge.pmd.lang.ast.QualifiableNode
, net.sourceforge.pmd.lang.ast.SignedNode<ASTMethod>
public class ASTMethod extends AbstractApexNode<apex.jorje.semantic.ast.member.Method> implements ApexQualifiableNode, net.sourceforge.pmd.lang.ast.SignedNode<ASTMethod>, CanSuppressWarnings
node
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
Constructor | Description |
---|---|
ASTMethod(apex.jorje.semantic.ast.member.Method method) |
Modifier and Type | Method | Description |
---|---|---|
int |
getEndColumn() |
|
int |
getEndLine() |
|
java.lang.String |
getImage() |
|
ApexQualifiedName |
getQualifiedName() |
|
ApexOperationSignature |
getSignature() |
|
boolean |
hasSuppressWarningsAnnotationFor(Rule rule) |
|
java.lang.Object |
jjtAccept(ApexParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
childrenAccept, getBeginColumn, getBeginLine, getLocation, getNode, getXPathNodeName, handleSourceCode, hasRealLoc
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toString
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getNthParent, getParentsOfType, getUserData, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
public java.lang.Object jjtAccept(ApexParserVisitor visitor, java.lang.Object data)
ApexNode
public java.lang.String getImage()
getImage
in interface net.sourceforge.pmd.lang.ast.Node
getImage
in class net.sourceforge.pmd.lang.ast.AbstractNode
public int getEndLine()
getEndLine
in interface net.sourceforge.pmd.lang.ast.Node
getEndLine
in class AbstractApexNode<apex.jorje.semantic.ast.member.Method>
public int getEndColumn()
getEndColumn
in interface net.sourceforge.pmd.lang.ast.Node
getEndColumn
in class AbstractApexNode<apex.jorje.semantic.ast.member.Method>
public ApexQualifiedName getQualifiedName()
getQualifiedName
in interface ApexQualifiableNode
getQualifiedName
in interface net.sourceforge.pmd.lang.ast.QualifiableNode
public ApexOperationSignature getSignature()
getSignature
in interface net.sourceforge.pmd.lang.ast.SignedNode<ASTMethod>
public boolean hasSuppressWarningsAnnotationFor(Rule rule)
hasSuppressWarningsAnnotationFor
in interface CanSuppressWarnings
Copyright © 2002–2018 PMD. All rights reserved.