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.
    • Method Detail

      • getContainsComment

        boolean getContainsComment()