Package net.sourceforge.pmd.lang
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 Summary
Modifier and TypeMethodDescriptiondefault DesignerBindingsReturns the designer bindings for this language version.default List<ViolationSuppressor>Returns additional language-specific violation suppressors.default LanguageMetricsProviderReturns the metrics provider for this language version, or null if it has none.Returns the parser instance.default ViolationDecoratorReturns the language-specific violation decorator.default XPathHandlerGet the XPathHandler.
-
Method Details
-
getXPathHandler
Get the XPathHandler. -
getParser
Parser getParser()Returns the parser instance. -
getViolationDecorator
Returns the language-specific violation decorator. -
getExtraViolationSuppressors
Returns additional language-specific violation suppressors. These take precedence over the default suppressors (eg nopmd comment), but do not replace them. -
getLanguageMetricsProvider
Returns the metrics provider for this language version, or null if it has none. -
getDesignerBindings
Returns the designer bindings for this language version. Null is not an acceptable result, useDesignerBindings.DefaultDesignerBindings.getInstance()instead.- Since:
- 6.20.0
-