Class AbstractApexNode<T extends apex.jorje.semantic.ast.AstNode>
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.AbstractNode
-
- net.sourceforge.pmd.lang.apex.ast.AbstractApexNodeBase
-
- net.sourceforge.pmd.lang.apex.ast.AbstractApexNode<T>
-
- All Implemented Interfaces:
ApexNode<T>
,net.sourceforge.pmd.lang.ast.Node
- Direct Known Subclasses:
ApexRootNode
,ASTAnnotation
,ASTAnnotationParameter
,ASTArrayLoadExpression
,ASTArrayStoreExpression
,ASTAssignmentExpression
,ASTBinaryExpression
,ASTBindExpressions
,ASTBlockStatement
,ASTBooleanExpression
,ASTBreakStatement
,ASTBridgeMethodCreator
,ASTCastExpression
,ASTCatchBlockStatement
,ASTClassRefExpression
,ASTConstructorPreamble
,ASTConstructorPreambleStatement
,ASTContinueStatement
,ASTDmlDeleteStatement
,ASTDmlInsertStatement
,ASTDmlMergeStatement
,ASTDmlUndeleteStatement
,ASTDmlUpdateStatement
,ASTDmlUpsertStatement
,ASTDoLoopStatement
,ASTExpression
,ASTExpressionStatement
,ASTField
,ASTFieldDeclaration
,ASTFieldDeclarationStatements
,ASTForEachStatement
,ASTForLoopStatement
,ASTIfBlockStatement
,ASTIfElseBlockStatement
,ASTIllegalStoreExpression
,ASTInstanceOfExpression
,ASTJavaMethodCallExpression
,ASTJavaVariableExpression
,ASTLiteralExpression
,ASTMapEntryNode
,ASTMethod
,ASTMethodBlockStatement
,ASTMethodCallExpression
,ASTModifier
,ASTModifierNode
,ASTModifierOrAnnotation
,ASTMultiStatement
,ASTNestedExpression
,ASTNestedStoreExpression
,ASTNewKeyValueObjectExpression
,ASTNewListInitExpression
,ASTNewListLiteralExpression
,ASTNewMapInitExpression
,ASTNewMapLiteralExpression
,ASTNewObjectExpression
,ASTNewSetInitExpression
,ASTNewSetLiteralExpression
,ASTPackageVersionExpression
,ASTParameter
,ASTPostfixExpression
,ASTPrefixExpression
,ASTProperty
,ASTReferenceExpression
,ASTReturnStatement
,ASTRunAsBlockStatement
,ASTSoqlExpression
,ASTSoslExpression
,ASTStandardCondition
,ASTStatement
,ASTStatementExecuted
,ASTSuperMethodCallExpression
,ASTSuperVariableExpression
,ASTTernaryExpression
,ASTThisMethodCallExpression
,ASTThisVariableExpression
,ASTThrowStatement
,ASTTriggerVariableExpression
,ASTTryCatchFinallyBlockStatement
,ASTUserClassMethods
,ASTUserExceptionMethods
,ASTVariableDeclaration
,ASTVariableDeclarationStatements
,ASTVariableExpression
,ASTWhileLoopStatement
public abstract class AbstractApexNode<T extends apex.jorje.semantic.ast.AstNode> extends AbstractApexNodeBase implements ApexNode<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractApexNode(T node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLocation()
T
getNode()
Get the underlying AST node.protected void
handleSourceCode(String source)
boolean
hasRealLoc()
-
Methods inherited from class net.sourceforge.pmd.lang.apex.ast.AbstractApexNodeBase
childrenAccept, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getXPathNodeName, jjtAccept
-
Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getDataFlowNode, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, 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 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, jjtAccept
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, getXPathAttributesIterator, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
-
-
-
-
Field Detail
-
node
protected final T extends apex.jorje.semantic.ast.AstNode node
-
-
Constructor Detail
-
AbstractApexNode
protected AbstractApexNode(T node)
-
-