Uses of Class
net.sourceforge.pmd.lang.LanguageRegistry
-
Packages that use LanguageRegistry Package Description net.sourceforge.pmd This is the PMD programming mistake detector.net.sourceforge.pmd.cpd Token-based copy-paste detection.net.sourceforge.pmd.lang net.sourceforge.pmd.lang.rule net.sourceforge.pmd.util.treeexport -
-
Uses of LanguageRegistry in net.sourceforge.pmd
Methods in net.sourceforge.pmd that return LanguageRegistry Modifier and Type Method Description LanguageRegistryAbstractConfiguration. getLanguageRegistry()Constructors in net.sourceforge.pmd with parameters of type LanguageRegistry Constructor Description AbstractConfiguration(LanguageRegistry languageRegistry, PmdReporter messageReporter)PMDConfiguration(@NonNull LanguageRegistry languageRegistry) -
Uses of LanguageRegistry in net.sourceforge.pmd.cpd
Constructors in net.sourceforge.pmd.cpd with parameters of type LanguageRegistry Constructor Description CPDConfiguration(LanguageRegistry languageRegistry) -
Uses of LanguageRegistry in net.sourceforge.pmd.lang
Fields in net.sourceforge.pmd.lang declared as LanguageRegistry Modifier and Type Field Description static LanguageRegistryLanguageRegistry. CPDContains the languages that support CPD and are found on the classpath of the classloader of this class.static LanguageRegistryLanguageRegistry. PMDContains the languages that support PMD and are found on the classpath of the classloader of this class.Methods in net.sourceforge.pmd.lang that return LanguageRegistry Modifier and Type Method Description LanguageRegistryLanguageRegistry. filter(Predicate<Language> filterFun)Create a new registry with the languages that satisfy the predicate.LanguageRegistryLanguageRegistry. getDependenciesOf(Language lang)Creates a language registry containing the given language and its dependencies, fetched from this language registry or the parameter.LanguageRegistryLanguageProcessorRegistry. getLanguages()Return the languages that are registered in this instance.static @NonNull LanguageRegistryLanguageRegistry. loadLanguages(ClassLoader classLoader)Create a new registry by loading the languages registered viaServiceLoaderon the classpath of the given classloader.static LanguageRegistryLanguageRegistry. singleton(Language l)Creates a language registry containing a single language.Methods in net.sourceforge.pmd.lang with parameters of type LanguageRegistry Modifier and Type Method Description static LanguageProcessorRegistryLanguageProcessorRegistry. create(LanguageRegistry registry, Map<Language,LanguagePropertyBundle> languageProperties, PmdReporter messageReporter)Create a new instance by creating a processor for each language in the given language registry.voidLanguageVersionDiscoverer. onlyRecognizeLanguages(LanguageRegistry lang)Make it so that the only extensions that are considered are those of the given language.Constructors in net.sourceforge.pmd.lang with parameters of type LanguageRegistry Constructor Description LanguageVersionDiscoverer(LanguageRegistry registry)Build a new instance with no forced version.LanguageVersionDiscoverer(LanguageRegistry registry, LanguageVersion forcedVersion)Build a new instance. -
Uses of LanguageRegistry in net.sourceforge.pmd.lang.rule
Methods in net.sourceforge.pmd.lang.rule with parameters of type LanguageRegistry Modifier and Type Method Description RuleSetLoaderRuleSetLoader. withLanguages(LanguageRegistry languageRegistry) -
Uses of LanguageRegistry in net.sourceforge.pmd.util.treeexport
Constructors in net.sourceforge.pmd.util.treeexport with parameters of type LanguageRegistry Constructor Description TreeExportConfiguration(LanguageRegistry registry)
-