Package net.sourceforge.pmd.lang
Interface PmdCapableLanguage
- All Superinterfaces:
Comparable<Language>,Language
- All Known Implementing Classes:
PlainTextLanguage,SimpleDialectLanguageModuleBase,SimpleLanguageModuleBase
A language that supports
PMD.- Author:
- Clément Fournier
-
Method Summary
Modifier and TypeMethodDescriptionCreate a newLanguageProcessorfor this language, given a property bundle with configuration.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface net.sourceforge.pmd.lang.Language
getBaseLanguageId, getDefaultVersion, getDependencies, getExtensions, getId, getLatestVersion, getName, getShortName, getVersion, getVersionNamesAndAliases, getVersions, hasExtension, hasVersion, isDialectOf, newPropertyBundle
-
Method Details
-
createProcessor
Create a newLanguageProcessorfor this language, given a property bundle with configuration. The bundle was created by this instance usingLanguage.newPropertyBundle(). It can be assumed that the bundle will never be mutated anymore, and this method takes ownership of it.- Parameters:
bundle- A bundle of properties created by this instance.- Returns:
- A new language processor
-