Class ASTMethod
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.AbstractNode
-
- net.sourceforge.pmd.lang.apex.ast.AbstractApexNodeBase
-
- 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
,Node
,QualifiableNode
,SignedNode<ASTMethod>
public class ASTMethod extends AbstractApexNode<apex.jorje.semantic.ast.member.Method> implements ApexQualifiableNode, SignedNode<ASTMethod>, CanSuppressWarnings
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.lang.apex.ast.AbstractApexNode
node
-
Fields inherited from class net.sourceforge.pmd.lang.ast.AbstractNode
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
-
-
Constructor Summary
Constructors Constructor Description ASTMethod(apex.jorje.semantic.ast.member.Method method)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getArity()
int
getBeginColumn()
int
getBeginLine()
String
getCanonicalName()
int
getEndColumn()
int
getEndLine()
String
getImage()
ASTModifierNode
getModifiers()
ApexQualifiedName
getQualifiedName()
String
getReturnType()
ApexOperationSignature
getSignature()
boolean
hasSuppressWarningsAnnotationFor(Rule rule)
boolean
isConstructor()
Object
jjtAccept(ApexParserVisitor visitor, Object data)
Accept the visitor.-
Methods inherited from class net.sourceforge.pmd.lang.apex.ast.AbstractApexNode
children, getChild, getDefiningType, getLocation, getNamespace, getNode, getParent, handleSourceCode, hasRealLoc
-
Methods inherited from class net.sourceforge.pmd.lang.apex.ast.AbstractApexNodeBase
childrenAccept, getXPathNodeName
-
Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getIndexInParent, getNthParent, getNumChildren, getParentsOfType, getUserData, getUserMap, 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.lang.apex.ast.ApexNode
childrenAccept
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getIndexInParent, getNthParent, getNumChildren, getParentsOfType, getUserData, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
-
-
-
-
Constructor Detail
-
ASTMethod
@Deprecated @InternalApi public ASTMethod(apex.jorje.semantic.ast.member.Method method)
Deprecated.
-
-
Method Detail
-
jjtAccept
public Object jjtAccept(ApexParserVisitor visitor, Object data)
Description copied from class:AbstractApexNodeBase
Accept the visitor. *- Specified by:
jjtAccept
in interfaceApexNode<apex.jorje.semantic.ast.member.Method>
- Specified by:
jjtAccept
in classAbstractApexNodeBase
-
getImage
public String getImage()
- Specified by:
getImage
in interfaceNode
- Overrides:
getImage
in classAbstractNode
-
getCanonicalName
public String getCanonicalName()
-
getBeginLine
public int getBeginLine()
- Specified by:
getBeginLine
in interfaceNode
- Overrides:
getBeginLine
in classAbstractApexNodeBase
-
getBeginColumn
public int getBeginColumn()
- Specified by:
getBeginColumn
in interfaceNode
- Overrides:
getBeginColumn
in classAbstractApexNodeBase
-
getEndLine
public int getEndLine()
- Specified by:
getEndLine
in interfaceNode
- Overrides:
getEndLine
in classAbstractApexNodeBase
-
getEndColumn
public int getEndColumn()
- Specified by:
getEndColumn
in interfaceNode
- Overrides:
getEndColumn
in classAbstractApexNodeBase
-
getQualifiedName
public ApexQualifiedName getQualifiedName()
- Specified by:
getQualifiedName
in interfaceApexQualifiableNode
- Specified by:
getQualifiedName
in interfaceQualifiableNode
-
getSignature
public ApexOperationSignature getSignature()
- Specified by:
getSignature
in interfaceSignedNode<ASTMethod>
-
hasSuppressWarningsAnnotationFor
public boolean hasSuppressWarningsAnnotationFor(Rule rule)
- Specified by:
hasSuppressWarningsAnnotationFor
in interfaceCanSuppressWarnings
-
isConstructor
public boolean isConstructor()
-
getModifiers
public ASTModifierNode getModifiers()
-
getReturnType
public String getReturnType()
-
getArity
public int getArity()
-
-