Class ASTMethod
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.AbstractNode
-
- net.sourceforge.pmd.lang.apex.ast.AbstractApexNode<apex.jorje.semantic.ast.member.Method>
-
- net.sourceforge.pmd.lang.apex.ast.ASTMethod
-
- All Implemented Interfaces:
ApexNode<apex.jorje.semantic.ast.member.Method>
,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
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.lang.apex.ast.AbstractApexNode
node
-
-
Constructor Summary
Constructors Constructor Description ASTMethod(apex.jorje.semantic.ast.member.Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEndColumn()
int
getEndLine()
java.lang.String
getImage()
ApexQualifiedName
getQualifiedName()
ApexOperationSignature
getSignature()
boolean
hasSuppressWarningsAnnotationFor(net.sourceforge.pmd.Rule rule)
java.lang.Object
jjtAccept(ApexParserVisitor visitor, java.lang.Object data)
Accept the visitor.-
Methods inherited from class net.sourceforge.pmd.lang.apex.ast.AbstractApexNode
childrenAccept, getBeginColumn, getBeginLine, getLocation, getNode, getXPathNodeName, handleSourceCode, hasRealLoc
-
Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getNthParent, getParentsOfType, getUserData, getXPathAttributesIterator, 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
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getNthParent, getParentsOfType, getUserData, getXPathAttributesIterator, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
-
-
-
-
Method Detail
-
jjtAccept
public java.lang.Object jjtAccept(ApexParserVisitor visitor, java.lang.Object data)
Description copied from interface:ApexNode
Accept the visitor. *
-
getImage
public java.lang.String getImage()
- Specified by:
getImage
in interfacenet.sourceforge.pmd.lang.ast.Node
- Overrides:
getImage
in classnet.sourceforge.pmd.lang.ast.AbstractNode
-
getEndLine
public int getEndLine()
- Specified by:
getEndLine
in interfacenet.sourceforge.pmd.lang.ast.Node
- Overrides:
getEndLine
in classAbstractApexNode<apex.jorje.semantic.ast.member.Method>
-
getEndColumn
public int getEndColumn()
- Specified by:
getEndColumn
in interfacenet.sourceforge.pmd.lang.ast.Node
- Overrides:
getEndColumn
in classAbstractApexNode<apex.jorje.semantic.ast.member.Method>
-
getQualifiedName
public ApexQualifiedName getQualifiedName()
- Specified by:
getQualifiedName
in interfaceApexQualifiableNode
- Specified by:
getQualifiedName
in interfacenet.sourceforge.pmd.lang.ast.QualifiableNode
-
getSignature
public ApexOperationSignature getSignature()
- Specified by:
getSignature
in interfacenet.sourceforge.pmd.lang.ast.SignedNode<ASTMethod>
-
hasSuppressWarningsAnnotationFor
public boolean hasSuppressWarningsAnnotationFor(net.sourceforge.pmd.Rule rule)
- Specified by:
hasSuppressWarningsAnnotationFor
in interfaceCanSuppressWarnings
-
-