Package | Description |
---|---|
net.sourceforge.pmd |
This is the PMD programming mistake detector.
|
net.sourceforge.pmd.lang | |
net.sourceforge.pmd.lang.ast.xpath | |
net.sourceforge.pmd.lang.rule |
Modifier and Type | Method and Description |
---|---|
Language |
Rule.getLanguage()
Get the Language of this Rule.
|
Modifier and Type | Method and Description |
---|---|
void |
RuleSets.apply(List<Node> acuList,
RuleContext ctx,
Language language)
Apply all applicable rules to the compilation units.
|
void |
RuleChain.apply(List<Node> nodes,
RuleContext ctx,
Language language)
Apply the RuleChain to the given Nodes using the given RuleContext, for
those rules using the given Language.
|
void |
Rule.setLanguage(Language language)
Set the Language of this Rule.
|
boolean |
RuleSets.usesDFA(Language language)
Check if the rules that apply to a source of the given language use DFA.
|
boolean |
RuleSet.usesDFA(Language language)
Does any Rule for the given Language use the DFA layer?
|
boolean |
RuleSets.usesTypeResolution(Language language) |
boolean |
RuleSet.usesTypeResolution(Language language)
Does any Rule for the given Language use Type Resolution?
|
Modifier and Type | Method and Description |
---|---|
static List<DataSource> |
PMD.getApplicableFiles(PMDConfiguration configuration,
Set<Language> languages)
Determines all the files, that should be analyzed by PMD.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseLanguageModule
Created by christoferdutz on 21.09.14.
|
Modifier and Type | Method and Description |
---|---|
static Language |
LanguageRegistry.findLanguageByTerseName(String terseName) |
static Language |
LanguageRegistry.getDefaultLanguage() |
Language |
LanguageVersion.getLanguage() |
static Language |
LanguageRegistry.getLanguage(String languageName) |
Modifier and Type | Method and Description |
---|---|
static List<Language> |
LanguageRegistry.findByExtension(String extension) |
static List<Language> |
LanguageRegistry.findWithRuleSupport()
A utility method to find the Languages which have Rule support.
|
static Collection<Language> |
LanguageRegistry.getLanguages() |
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.
|
Modifier and Type | Method and Description |
---|---|
int |
BaseLanguageModule.compareTo(Language o) |
LanguageVersion |
LanguageVersionDiscoverer.getDefaultLanguageVersion(Language language)
Get the current default LanguageVersion for the given Language.
|
Modifier and Type | Method and Description |
---|---|
static String |
LanguageRegistry.commaSeparatedTerseNamesForLanguage(List<Language> languages) |
Constructor and Description |
---|
LanguageFilenameFilter(Language language)
Create a LanguageFilenameFilter for a single Language.
|
LanguageVersion(Language language,
String version,
LanguageVersionHandler languageVersionHandler) |
Constructor and Description |
---|
LanguageFilenameFilter(Set<Language> languages)
Create a LanguageFilenameFilter for a List of Languages.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractASTXPathHandler.initialize(net.sf.saxon.sxpath.IndependentContext context,
Language language,
Class<?> functionsClass) |
Modifier and Type | Method and Description |
---|---|
Language |
AbstractRule.getLanguage() |
Language |
AbstractDelegateRule.getLanguage() |
Language |
RuleReference.getOverriddenLanguage() |
Modifier and Type | Method and Description |
---|---|
void |
RuleReference.setLanguage(Language language) |
void |
AbstractRule.setLanguage(Language language) |
void |
AbstractDelegateRule.setLanguage(Language language) |
Copyright © 2002–2017 PMD. All rights reserved.