Interface LanguageVersionHandler

    • Method Detail

      • getXPathHandler

        default XPathHandler getXPathHandler()
        Get the XPathHandler.
      • getParser

        Parser getParser()
        Returns the parser instance.
      • getViolationDecorator

        default ViolationDecorator getViolationDecorator()
        Returns the language-specific violation decorator.
      • getExtraViolationSuppressors

        default List<ViolationSuppressor> getExtraViolationSuppressors()
        Returns additional language-specific violation suppressors. These take precedence over the default suppressors (eg nopmd comment), but do not replace them.
      • getLanguageMetricsProvider

        @Experimental
        default LanguageMetricsProvider getLanguageMetricsProvider()
        Returns the metrics provider for this language version, or null if it has none. Note: this is experimental, ie unstable until 7.0.0, after which it will probably be promoted to a stable API. For instance the return type will probably be changed to an Optional.