Package net.sourceforge.pmd.lang
Class LanguageRegistry
- java.lang.Object
-
- net.sourceforge.pmd.lang.LanguageRegistry
-
public final class LanguageRegistry extends Object
Created by christoferdutz on 20.09.14.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static String
commaSeparatedTerseNamesForLanguage(List<Language> languages)
Deprecated.This is too specific, will be removed with 7.0.0static String
commaSeparatedTerseNamesForLanguageVersion(List<LanguageVersion> languageVersions)
Deprecated.This is too specific, will be removed with 7.0.0static List<LanguageVersion>
findAllVersions()
Deprecated.This is not useful, will be removed with 7.0.0static List<Language>
findByExtension(String extension)
static Language
findLanguageByTerseName(String terseName)
static LanguageVersion
findLanguageVersionByTerseName(String terseNameAndVersion)
Deprecated.This is not useful, will be removed with 7.0.0static List<Language>
findWithRuleSupport()
Deprecated.This method will be removed with PMD 7.0.0.static Language
getDefaultLanguage()
static LanguageRegistry
getInstance()
Deprecated.Use the static methods instead, will be made privatestatic Language
getLanguage(String languageName)
static Collection<Language>
getLanguages()
-
-
-
Method Detail
-
getInstance
@Deprecated public static LanguageRegistry getInstance()
Deprecated.Use the static methods instead, will be made private
-
getLanguages
public static Collection<Language> getLanguages()
-
getDefaultLanguage
public static Language getDefaultLanguage()
-
findLanguageVersionByTerseName
@Deprecated public static LanguageVersion findLanguageVersionByTerseName(String terseNameAndVersion)
Deprecated.This is not useful, will be removed with 7.0.0
-
findAllVersions
@Deprecated public static List<LanguageVersion> findAllVersions()
Deprecated.This is not useful, will be removed with 7.0.0
-
findWithRuleSupport
@Deprecated public static List<Language> findWithRuleSupport()
Deprecated.This method will be removed with PMD 7.0.0. UsegetLanguages()
instead.A utility method to find the Languages which have Rule support.- Returns:
- A List of Languages with Rule support.
-
commaSeparatedTerseNamesForLanguage
@Deprecated public static String commaSeparatedTerseNamesForLanguage(List<Language> languages)
Deprecated.This is too specific, will be removed with 7.0.0
-
commaSeparatedTerseNamesForLanguageVersion
@Deprecated public static String commaSeparatedTerseNamesForLanguageVersion(List<LanguageVersion> languageVersions)
Deprecated.This is too specific, will be removed with 7.0.0
-
-