Package | Description |
---|---|
net.sourceforge.pmd |
This is the PMD programming mistake detector.
|
net.sourceforge.pmd.cache | |
net.sourceforge.pmd.processor |
Modifier and Type | Method and Description |
---|---|
RuleSets |
RuleSetFactory.createRuleSets(java.util.List<RuleSetReferenceId> ruleSetReferenceIds)
Create a RuleSets from a list of RuleSetReferenceIds.
|
RuleSets |
RuleSetFactory.createRuleSets(java.lang.String referenceString)
Create a RuleSets from a comma separated list of RuleSet reference IDs.
|
static RuleSets |
RulesetsFactoryUtils.getRuleSets(java.lang.String rulesets,
RuleSetFactory factory)
Creates a new rulesets with the given string.
|
static RuleSets |
RulesetsFactoryUtils.getRuleSetsWithBenchmark(java.lang.String rulesets,
RuleSetFactory factory)
|
Modifier and Type | Method and Description |
---|---|
void |
SourceCodeProcessor.processSourceCode(java.io.InputStream sourceCode,
RuleSets ruleSets,
RuleContext ctx)
Processes the input stream against a rule set using the given input
encoding.
|
void |
SourceCodeProcessor.processSourceCode(java.io.Reader sourceCode,
RuleSets ruleSets,
RuleContext ctx)
Processes the input stream against a rule set using the given input
encoding.
|
Constructor and Description |
---|
RuleSets(RuleSets ruleSets)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
NoopAnalysisCache.checkValidity(RuleSets ruleSets,
java.lang.ClassLoader classLoader) |
void |
AnalysisCache.checkValidity(RuleSets ruleSets,
java.lang.ClassLoader auxclassPathClassLoader)
Checks if the cache is valid for the configured rulesets and class loader.
|
void |
AbstractAnalysisCache.checkValidity(RuleSets ruleSets,
java.lang.ClassLoader auxclassPathClassLoader) |
void |
CachedRuleMapper.initialize(RuleSets rs)
Initialize the mapper with the given rulesets.
|
Modifier and Type | Method and Description |
---|---|
protected RuleSets |
AbstractPMDProcessor.createRuleSets(RuleSetFactory factory,
Report report)
Create instances for each rule defined in the ruleset(s) in the
configuration.
|
Constructor and Description |
---|
PmdRunnable(DataSource dataSource,
java.lang.String fileName,
java.util.List<Renderer> renderers,
RuleContext ruleContext,
RuleSets ruleSets,
SourceCodeProcessor sourceCodeProcessor) |
Copyright © 2002–2017 PMD. All rights reserved.