Uses of Interface
net.sourceforge.pmd.lang.Language
-
Packages that use Language Package Description net.sourceforge.pmd This is the PMD programming mistake detector.net.sourceforge.pmd.internal.util net.sourceforge.pmd.lang net.sourceforge.pmd.lang.ast.xpath net.sourceforge.pmd.lang.document net.sourceforge.pmd.lang.rule -
-
Uses of Language in net.sourceforge.pmd
Methods in net.sourceforge.pmd that return Language Modifier and Type Method Description Language
Rule. getLanguage()
Get the Language of this Rule.Methods in net.sourceforge.pmd with parameters of type Language Modifier and Type Method Description void
RuleChain. apply(List<Node> nodes, RuleContext ctx, Language language)
Deprecated.Apply the RuleChain to the given Nodes using the given RuleContext, for those rules using the given Language.void
RuleSets. apply(List<Node> acuList, RuleContext ctx, Language language)
Deprecated.Apply all applicable rules to the compilation units.void
Rule. setLanguage(Language language)
Set the Language of this Rule.boolean
RuleSet. usesDFA(Language language)
Deprecated.SeeRule.isDfa()
boolean
RuleSets. usesDFA(Language language)
Deprecated.SeeRule.isDfa()
boolean
RuleSet. usesMultifile(Language language)
Deprecated.boolean
RuleSets. usesMultifile(Language language)
Deprecated.boolean
RuleSet. usesTypeResolution(Language language)
Deprecated.boolean
RuleSets. usesTypeResolution(Language language)
Deprecated.Method parameters in net.sourceforge.pmd with type arguments of type Language Modifier and Type Method Description static List<DataSource>
PMD. getApplicableFiles(PMDConfiguration configuration, Set<Language> languages)
Deprecated.This may leak resources and should not be used directly. -
Uses of Language in net.sourceforge.pmd.internal.util
Method parameters in net.sourceforge.pmd.internal.util with type arguments of type Language Modifier and Type Method Description static FileCollector
FileCollectionUtil. collectFiles(PMDConfiguration configuration, Set<Language> languages, MessageReporter reporter)
-
Uses of Language in net.sourceforge.pmd.lang
Classes in net.sourceforge.pmd.lang that implement Language Modifier and Type Class Description class
BaseLanguageModule
Created by christoferdutz on 21.09.14.class
PlainTextLanguage
A dummy language implementation whose parser produces a single node.Methods in net.sourceforge.pmd.lang that return Language Modifier and Type Method Description static Language
LanguageRegistry. findLanguageByTerseName(String terseName)
Returns a language from its terse name (eg"java"
).static Language
LanguageRegistry. getDefaultLanguage()
Returns a "default language" known to the service loader.static Language
PlainTextLanguage. getInstance()
Returns the singleton instance of this language.static Language
LanguageRegistry. getLanguage(String languageName)
Returns a language from its full name (eg"Java"
).Language
LanguageVersion. getLanguage()
Returns the language that owns this version.Methods in net.sourceforge.pmd.lang that return types with arguments of type Language Modifier and Type Method Description static List<Language>
LanguageRegistry. findByExtension(String extensionWithoutDot)
Returns all languages that support the given extension.static List<Language>
LanguageRegistry. findWithRuleSupport()
Deprecated.This method will be removed with PMD 7.0.0.static Collection<Language>
LanguageRegistry. getLanguages()
Returns a collection of all the known languages.List<Language>
LanguageVersionDiscoverer. getLanguagesForFile(File sourceFile)
Get the Languages of a given source file.List<Language>
LanguageVersionDiscoverer. getLanguagesForFile(String fileName)
Get the Languages of a given source file.Methods in net.sourceforge.pmd.lang with parameters of type Language Modifier and Type Method Description int
BaseLanguageModule. compareTo(Language o)
LanguageVersion
LanguageVersionDiscoverer. getDefaultLanguageVersion(Language language)
Get the current default LanguageVersion for the given Language.Method parameters in net.sourceforge.pmd.lang with type arguments of type Language Modifier and Type Method Description static String
LanguageRegistry. commaSeparatedTerseNamesForLanguage(List<Language> languages)
Deprecated.This is too specific, will be removed with 7.0.0Constructors in net.sourceforge.pmd.lang with parameters of type Language Constructor Description LanguageFilenameFilter(Language language)
Create a LanguageFilenameFilter for a single Language.LanguageVersion(Language language, String version, LanguageVersionHandler languageVersionHandler)
Deprecated.UsegetVersion(String)
.Constructor parameters in net.sourceforge.pmd.lang with type arguments of type Language Constructor Description LanguageFilenameFilter(Set<Language> languages)
Create a LanguageFilenameFilter for a List of Languages. -
Uses of Language in net.sourceforge.pmd.lang.ast.xpath
Methods in net.sourceforge.pmd.lang.ast.xpath with parameters of type Language Modifier and Type Method Description void
AbstractASTXPathHandler. initialize(net.sf.saxon.sxpath.IndependentContext context, Language language, Class<?> functionsClass)
Deprecated. -
Uses of Language in net.sourceforge.pmd.lang.document
Methods in net.sourceforge.pmd.lang.document with parameters of type Language Modifier and Type Method Description boolean
FileCollector. addFile(Path file, Language language)
Add a file with the given language (which overrides the file patterns).Method parameters in net.sourceforge.pmd.lang.document with type arguments of type Language Modifier and Type Method Description void
FileCollector. filterLanguages(Set<Language> languages)
Exclude all collected files whose language is not part of the given collection. -
Uses of Language in net.sourceforge.pmd.lang.rule
Methods in net.sourceforge.pmd.lang.rule that return Language Modifier and Type Method Description Language
AbstractDelegateRule. getLanguage()
Deprecated.Language
AbstractRule. getLanguage()
Language
RuleReference. getOverriddenLanguage()
Deprecated.overriding the language of a rule is not supported.Methods in net.sourceforge.pmd.lang.rule with parameters of type Language Modifier and Type Method Description void
AbstractDelegateRule. setLanguage(Language language)
Deprecated.void
AbstractRule. setLanguage(Language language)
void
RuleReference. setLanguage(Language language)
Deprecated.overriding the language of a rule is not supported.
-