Interface LanguageVersionHandler

All Known Implementing Classes:
AbstractLanguageVersionHandler, AbstractPmdLanguageVersionHandler, BasePmdDialectLanguageVersionHandler

public interface LanguageVersionHandler
Interface for obtaining the classes necessary for checking source files of a specific language.
Author:
pieter_van_raemdonck - Application Engineers NV/SA - www.ae.be
  • Method Details

    • 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

      default LanguageMetricsProvider getLanguageMetricsProvider()
      Returns the metrics provider for this language version, or null if it has none.
    • getDesignerBindings

      default DesignerBindings getDesignerBindings()
      Returns the designer bindings for this language version. Null is not an acceptable result, use DesignerBindings.DefaultDesignerBindings.getInstance() instead.
      Since:
      6.20.0