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