Class AbstractJavaParser

  • All Implemented Interfaces:
    net.sourceforge.pmd.lang.Parser
    Direct Known Subclasses:
    JavaLanguageParser

    @Deprecated
    public abstract class AbstractJavaParser
    extends net.sourceforge.pmd.lang.AbstractParser
    Deprecated.
    For removal, the abstraction is not useful.
    This is a generic Java specific implementation of the Parser interface. It creates a JavaParser instance, and sets the exclude marker. It also exposes the exclude map from the JavaParser instance.
    See Also:
    AbstractParser, JavaParser
    • Constructor Detail

      • AbstractJavaParser

        public AbstractJavaParser​(net.sourceforge.pmd.lang.ParserOptions parserOptions)
        Deprecated.
    • Method Detail

      • createTokenManager

        public net.sourceforge.pmd.lang.TokenManager createTokenManager​(Reader source)
        Deprecated.
        Specified by:
        createTokenManager in class net.sourceforge.pmd.lang.AbstractParser
      • canParse

        public boolean canParse()
        Deprecated.