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>
-
- 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
,ASTElseWhenBlock
,ASTEmptyReferenceExpression
,ASTExpression
,ASTExpressionStatement
,ASTField
,ASTFieldDeclaration
,ASTFieldDeclarationStatements
,ASTForEachStatement
,ASTForLoopStatement
,ASTFormalComment
,ASTIdentifierCase
,ASTIfBlockStatement
,ASTIfElseBlockStatement
,ASTIllegalStoreExpression
,ASTInstanceOfExpression
,ASTJavaMethodCallExpression
,ASTJavaVariableExpression
,ASTLiteralCase
,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
,ASTSwitchStatement
,ASTTernaryExpression
,ASTThisMethodCallExpression
,ASTThisVariableExpression
,ASTThrowStatement
,ASTTriggerVariableExpression
,ASTTryCatchFinallyBlockStatement
,ASTTypeWhenBlock
,ASTUserClassMethods
,ASTUserExceptionMethods
,ASTValueWhenBlock
,ASTVariableDeclaration
,ASTVariableDeclarationStatements
,ASTVariableExpression
,ASTWhileLoopStatement
@Deprecated @InternalApi public abstract class AbstractApexNode<T extends apex.jorje.semantic.ast.AstNode> extends AbstractApexNodeBase implements ApexNode<T>
Deprecated.UseApexNode
-
-
Field Summary
Fields Modifier and Type Field Description protected T
node
Deprecated.-
Fields inherited from class net.sourceforge.pmd.lang.ast.AbstractNode
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractApexNode(T node)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Iterable<? extends ApexNode<?>>
children()
Deprecated.ApexNode<?>
getChild(int index)
Deprecated.String
getDefiningType()
Deprecated.String
getLocation()
Deprecated.String
getNamespace()
Deprecated.T
getNode()
Deprecated.ApexNode<?>
getParent()
Deprecated.protected void
handleSourceCode(String source)
Deprecated.boolean
hasRealLoc()
Deprecated.-
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, 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, jjtAccept
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, 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
-
-
-
-
Field Detail
-
node
protected final T extends apex.jorje.semantic.ast.AstNode node
Deprecated.
-
-
Constructor Detail
-
AbstractApexNode
protected AbstractApexNode(T node)
Deprecated.
-
-
Method Detail
-
getChild
public ApexNode<?> getChild(int index)
Deprecated.
-
getParent
public ApexNode<?> getParent()
Deprecated.
-
handleSourceCode
protected void handleSourceCode(String source)
Deprecated.
-
getNode
@Deprecated @InternalApi public T getNode()
Deprecated.Description copied from interface:ApexNode
Get the underlying AST node.
-
hasRealLoc
public boolean hasRealLoc()
Deprecated.- Specified by:
hasRealLoc
in interfaceApexNode<T extends apex.jorje.semantic.ast.AstNode>
-
getLocation
public String getLocation()
Deprecated.
-
getDefiningType
public String getDefiningType()
Deprecated.- Specified by:
getDefiningType
in interfaceApexNode<T extends apex.jorje.semantic.ast.AstNode>
-
getNamespace
public String getNamespace()
Deprecated.- Specified by:
getNamespace
in interfaceApexNode<T extends apex.jorje.semantic.ast.AstNode>
-
-