Interface ApexNode<T extends apex.jorje.semantic.ast.AstNode>

    • Method Detail

      • getNode

        @Deprecated
        T getNode()
        Deprecated.
        the underlying AST node should not be available outside of the AST node. If information is needed from the underlying node, then PMD's AST node need to expose this information.
        Get the underlying AST node.
      • hasRealLoc

        boolean hasRealLoc()
      • getDefiningType

        String getDefiningType()
      • getNamespace

        String getNamespace()
      • getApexVersion

        default double getApexVersion()
        Gets the apex version this class has been compiled with. Use Version to compare, e.g. node.getApexVersion() >= Version.V176.getExternal()
        Returns:
        the apex version