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) |
Modifier and Type | Method and Description |
---|---|
static Language |
Language.findByTerseName(String terseName)
A utility method to find the Language associated with the given
terse name, whatever the case is.
|
static Language |
Language.getDefaultLanguage()
Return the default language for PMD.
|
Language |
LanguageVersion.getLanguage()
Get the Language for this LanguageVersion.
|
static Language |
Language.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Language[] |
Language.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static List<Language> |
Language.findByExtension(String extension)
A utility method to find the Languages which are associated with
the given file extension.
|
static List<Language> |
Language.findWithRuleSupport()
A utility method to find the Languages which have Rule support.
|
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 |
---|---|
LanguageVersion |
LanguageVersionDiscoverer.getDefaultLanguageVersion(Language language)
Get the current default LanguageVersion for the given Language.
|
Modifier and Type | Method and Description |
---|---|
static String |
Language.commaSeparatedTerseNames(List<Language> languages)
Return a comma separated list of Language terse names.
|
Constructor and Description |
---|
LanguageFilenameFilter(Language language)
Create a LanguageFilenameFilter for a single Language.
|
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 |
AbstractDelegateRule.getLanguage() |
Language |
AbstractRule.getLanguage() |
Language |
RuleReference.getOverriddenLanguage() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDelegateRule.setLanguage(Language language) |
void |
AbstractRule.setLanguage(Language language) |
void |
RuleReference.setLanguage(Language language) |
Copyright © 2002-2013 InfoEther. All Rights Reserved.