Class ASTApexFile
-
- All Implemented Interfaces:
-
net.sourceforge.pmd.lang.apex.ast.ApexNode,net.sourceforge.pmd.lang.ast.Node,net.sourceforge.pmd.lang.ast.RootNode,net.sourceforge.pmd.lang.ast.impl.GenericNode,net.sourceforge.pmd.reporting.Reportable
public final class ASTApexFile extends AbstractApexNode.Single<T> implements RootNode
-
-
Field Summary
Fields Modifier and Type Field Description public final AstInfo<ASTApexFile>astInfopublic final static Comparator<Node>COORDS_COMPARATOR
-
Method Summary
Modifier and Type Method Description AstInfo<ASTApexFile>getAstInfo()ASTUserClassOrInterface<out Object>getMainNode()ASTApexFilegetRoot()List<Issue>getGlobalIssues()List<TypeSummary>getTypeSummaries()Returns an unmodifiable list of all type summaries in the org. StringgetDefiningType()-
Methods inherited from class net.sourceforge.pmd.lang.apex.ast.AbstractApexNode.Single
hasRealLoc -
Methods inherited from class net.sourceforge.pmd.lang.ast.RootNode
getAstInfo -
Methods inherited from class net.sourceforge.pmd.lang.apex.ast.AbstractApexNode
acceptVisitor, getTextRegion, getXPathNodeName -
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.AbstractNode
children, firstChild, getChild, getIndexInParent, getNumChildren, getParent, getUserMap, toString -
Methods inherited from class net.sourceforge.pmd.lang.ast.impl.GenericNode
ancestors, ancestorsOrSelf, asStream, descendants, descendantsOrSelf, getFirstChild, getLastChild, getNextSibling, getPreviousSibling -
Methods inherited from class net.sourceforge.pmd.lang.ast.Node
acceptVisitor, ancestors, ancestors, ancestorsOrSelf, asStream, children, children, compareLocation, descendants, descendants, descendantsOrSelf, getBeginColumn, getBeginLine, getChild, getEndColumn, getEndLine, getFirstChild, getImage, getLanguageVersion, getLastChild, getNextSibling, getParent, getPreviousSibling, getReportLocation, getTextDocument, getTextRegion, getXPathAttributesIterator, getXPathNodeName, hasImageEqualTo, isFindBoundary -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAstInfo
AstInfo<ASTApexFile> getAstInfo()
-
getMainNode
ASTUserClassOrInterface<out Object> getMainNode()
-
getRoot
@NonNull() ASTApexFile getRoot()
-
getGlobalIssues
List<Issue> getGlobalIssues()
-
getTypeSummaries
@NonNull() List<TypeSummary> getTypeSummaries()
Returns an unmodifiable list of all type summaries in the org. Returns an empty list when multifile analysis is unavailable. This enables rules to perform complex cross-type analysis.
- Since:
7.24.0
-
getDefiningType
String getDefiningType()
-
-
-
-