Interface ASTCommentContainer<T extends apex.jorje.semantic.ast.AstNode>
-
- All Superinterfaces:
ApexNode<T>
,GenericNode<ApexNode<?>>
,Node
,Reportable
- All Known Implementing Classes:
ASTCatchBlockStatement
@Experimental public interface ASTCommentContainer<T extends apex.jorje.semantic.ast.AstNode> extends ApexNode<T>
Interface for nodes that can contain comments. Because comments are for the most part lost, the tree builder only captures whether the node did contain comments of any sort in the source code and not the actual contents of those comments. This is useful for rules which need to know whether a node did contain comments.
-
-
Field Summary
-
Fields inherited from interface net.sourceforge.pmd.lang.ast.Node
COORDS_COMPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getContainsComment()
-
Methods inherited from interface net.sourceforge.pmd.lang.apex.ast.ApexNode
getApexVersion, getDefiningType, getNamespace, getNode, getRoot, hasRealLoc, jjtAccept
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.impl.GenericNode
ancestors, ancestorsOrSelf, asStream, children, descendants, descendantsOrSelf, getChild, getFirstChild, getLastChild, getNextSibling, getNthParent, getParent, getPreviousSibling
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
acceptVisitor, ancestors, children, compareLocation, descendants, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, firstChild, getAstInfo, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getIndexInParent, getLanguageVersion, getNumChildren, getParentsOfType, getReportLocation, getTextDocument, getTextRegion, getUserMap, getXPathAttributesIterator, getXPathNodeName, hasDescendantOfType, hasImageEqualTo, isFindBoundary
-
-