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,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 intgetEndColumn()intgetEndLine()StringgetImage()ASTModifierNodegetModifiers()ApexQualifiedNamegetQualifiedName()StringgetReturnType()ApexOperationSignaturegetSignature()booleanhasSuppressWarningsAnnotationFor(net.sourceforge.pmd.Rule rule)booleanisConstructor()ObjectjjtAccept(ApexParserVisitor visitor, Object data)Accept the visitor-
Methods inherited from class net.sourceforge.pmd.lang.apex.ast.AbstractApexNode
children, getChild, getLocation, getNode, getParent, handleSourceCode, hasRealLoc
-
Methods inherited from class net.sourceforge.pmd.lang.apex.ast.AbstractApexNodeBase
childrenAccept, getBeginColumn, getBeginLine, 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, 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, getBeginColumn, getBeginLine, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getIndexInParent, getNthParent, getNumChildren, 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 Object jjtAccept(ApexParserVisitor visitor, Object data)
Description copied from class:AbstractApexNodeBaseAccept the visitor. *- Specified by:
jjtAcceptin interfaceApexNode<apex.jorje.semantic.ast.member.Method>- Specified by:
jjtAcceptin classAbstractApexNodeBase
-
getImage
public String getImage()
- Specified by:
getImagein interfacenet.sourceforge.pmd.lang.ast.Node- Overrides:
getImagein classnet.sourceforge.pmd.lang.ast.AbstractNode
-
getEndLine
public int getEndLine()
- Specified by:
getEndLinein interfacenet.sourceforge.pmd.lang.ast.Node- Overrides:
getEndLinein classAbstractApexNodeBase
-
getEndColumn
public int getEndColumn()
- Specified by:
getEndColumnin interfacenet.sourceforge.pmd.lang.ast.Node- Overrides:
getEndColumnin classAbstractApexNodeBase
-
getQualifiedName
public ApexQualifiedName getQualifiedName()
- Specified by:
getQualifiedNamein interfaceApexQualifiableNode- Specified by:
getQualifiedNamein interfacenet.sourceforge.pmd.lang.ast.QualifiableNode
-
getSignature
public ApexOperationSignature getSignature()
- Specified by:
getSignaturein interfacenet.sourceforge.pmd.lang.ast.SignedNode<ASTMethod>
-
hasSuppressWarningsAnnotationFor
public boolean hasSuppressWarningsAnnotationFor(net.sourceforge.pmd.Rule rule)
- Specified by:
hasSuppressWarningsAnnotationForin interfaceCanSuppressWarnings
-
isConstructor
public boolean isConstructor()
-
getModifiers
public ASTModifierNode getModifiers()
-
getReturnType
public String getReturnType()
-
-