A B C D E F G H I J L M N O P R S T U V W X 
All Classes All Packages

A

AbstractCompoundFilter<T> - Class in net.sourceforge.pmd.util.filter
Deprecated.
See Filter
AbstractCompoundFilter() - Constructor for class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
Deprecated.
 
AbstractCompoundFilter(Filter<T>...) - Constructor for class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
Deprecated.
 
AbstractDelegateFilter<T> - Class in net.sourceforge.pmd.util.filter
Deprecated.
See Filter
AbstractDelegateFilter() - Constructor for class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
Deprecated.
 
AbstractDelegateFilter(Filter<T>) - Constructor for class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
Deprecated.
 
AbstractLanguage - Class in net.sourceforge.pmd.cpd
 
AbstractLanguage(String, String, Tokenizer, String...) - Constructor for class net.sourceforge.pmd.cpd.AbstractLanguage
 
add(File) - Method in class net.sourceforge.pmd.cpd.CPD
 
add(List<File>) - Method in class net.sourceforge.pmd.cpd.CPD
 
addAllInDirectory(File) - Method in class net.sourceforge.pmd.cpd.CPD
 
addConfigError(Report.ConfigurationError) - Method in class net.sourceforge.pmd.Report
Deprecated.
PMD's way of creating a report is internal and may be changed in pmd 7.
addError(Report.ProcessingError) - Method in class net.sourceforge.pmd.Report
Deprecated.
PMD's way of creating a report is internal and may be changed in pmd 7.
addExample(String) - Method in interface net.sourceforge.pmd.Rule
Add a single example for this Rule.
addFilter(Filter<T>) - Method in class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
Deprecated.
 
addListener(GlobalAnalysisListener) - Method in class net.sourceforge.pmd.PmdAnalysis
Add a new listener.
addListeners(Collection<? extends GlobalAnalysisListener>) - Method in class net.sourceforge.pmd.PmdAnalysis
Add several listeners at once.
addRecursively(File) - Method in class net.sourceforge.pmd.cpd.CPD
 
addRenderer(Renderer) - Method in class net.sourceforge.pmd.PmdAnalysis
Add a new renderer.
addRenderers(Collection<Renderer>) - Method in class net.sourceforge.pmd.PmdAnalysis
Add several renderers at once.
addRuleSet(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Add a new ruleset paths to load when starting the analysis.
addRuleSet(RuleSet) - Method in class net.sourceforge.pmd.PmdAnalysis
Add a new ruleset.
addRuleSets(Collection<RuleSet>) - Method in class net.sourceforge.pmd.PmdAnalysis
Add several rulesets at once.
addRuleViolation(RuleViolation) - Method in class net.sourceforge.pmd.Report
Deprecated.
PMD's way of creating a report is internal and may be changed in pmd 7.
AndFilter<T> - Class in net.sourceforge.pmd.util.filter
Deprecated.
See Filter
AndFilter() - Constructor for class net.sourceforge.pmd.util.filter.AndFilter
Deprecated.
 
AndFilter(Filter<T>...) - Constructor for class net.sourceforge.pmd.util.filter.AndFilter
Deprecated.
 
applies(TextFile) - Method in class net.sourceforge.pmd.RuleSets
Check if a given source file should be checked by rules in this RuleSets.
apply(Node, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.xpath.XPathRule
 
apply(Node, RuleContext) - Method in interface net.sourceforge.pmd.Rule
Process the given node.
apply(RootNode, FileAnalysisListener) - Method in class net.sourceforge.pmd.RuleSets
Apply all applicable rules to the compilation units.
asPMD7RulePriority() - Method in enum net.sourceforge.pmd.RulePriority
 

B

buildRegexFilterExcludeOverInclude(List<String>, List<String>) - Static method in class net.sourceforge.pmd.util.filter.Filters
Deprecated.
Construct a String Filter using set of include and exclude regular expressions.
buildRegexFilterIncludeOverExclude(List<String>, List<String>) - Static method in class net.sourceforge.pmd.util.filter.Filters
Deprecated.
Construct a String Filter using set of include and exclude regular expressions.
buildReport(Consumer<? super FileAnalysisListener>) - Static method in class net.sourceforge.pmd.Report
Create a report by making side effects on a FileAnalysisListener.
buildTargetSelector() - Method in class net.sourceforge.pmd.lang.rule.xpath.XPathRule
 

C

CLASS_NAME - Static variable in interface net.sourceforge.pmd.RuleViolation
Key in RuleViolation.getAdditionalInfo() for the name of the class in which the violation was identified.
close() - Method in class net.sourceforge.pmd.PmdAnalysis
 
commaSeparatedList(Function<? super Language, String>) - Method in class net.sourceforge.pmd.lang.LanguageRegistry
Formats the set of languages with the given formatter, sort and join everything with commas.
compareTo(Mark) - Method in class net.sourceforge.pmd.cpd.Mark
 
ConfigurationError(Rule, String) - Constructor for class net.sourceforge.pmd.Report.ConfigurationError
Creates a new configuration error for a specific rule.
ConfigurationError(Rule, String) - Constructor for class net.sourceforge.pmd.reporting.Report.ConfigurationError
 
CPD - Class in net.sourceforge.pmd.cpd
Adapter for PMD 7.
CPD - Static variable in class net.sourceforge.pmd.lang.LanguageRegistry
Contains the languages that support CPD and are found on the classpath of the classloader of this class.
CPD(CPDConfiguration) - Constructor for class net.sourceforge.pmd.cpd.CPD
 
CPDConfiguration - Class in net.sourceforge.pmd.cpd
 
CPDConfiguration() - Constructor for class net.sourceforge.pmd.cpd.CPDConfiguration
 
CPDConfiguration(LanguageRegistry) - Constructor for class net.sourceforge.pmd.cpd.CPDConfiguration
 
CpdLanguageAdapter(CpdCapableLanguage, Properties) - Constructor for class net.sourceforge.pmd.cpd.LanguageFactory.CpdLanguageAdapter
 
CPDRenderer - Interface in net.sourceforge.pmd.cpd.renderer
Deprecated.
create(PMDConfiguration) - Static method in class net.sourceforge.pmd.PmdAnalysis
Constructs a new instance from a configuration.
createLanguage(String, Properties) - Static method in class net.sourceforge.pmd.cpd.LanguageFactory
 
createRenderer() - Method in class net.sourceforge.pmd.PMDConfiguration
Create a Renderer instance based upon the configured reporting options.
createRenderer(boolean) - Method in class net.sourceforge.pmd.PMDConfiguration
Create a Renderer instance based upon the configured reporting options.
CSVRenderer - Class in net.sourceforge.pmd.cpd
Renders a report to CSV.
CSVRenderer() - Constructor for class net.sourceforge.pmd.cpd.CSVRenderer
 
CSVRenderer(boolean) - Constructor for class net.sourceforge.pmd.cpd.CSVRenderer
 
CSVRenderer(char) - Constructor for class net.sourceforge.pmd.cpd.CSVRenderer
 
CSVRenderer(char, boolean) - Constructor for class net.sourceforge.pmd.cpd.CSVRenderer
 

D

deepCopy() - Method in class net.sourceforge.pmd.lang.rule.xpath.XPathRule
 
deepCopy() - Method in interface net.sourceforge.pmd.Rule
Creates a new copy of this rule.
deepCopy$$bridge() - Method in interface net.sourceforge.pmd.Rule
 
DEFAULT_COMPARATOR - Static variable in interface net.sourceforge.pmd.RuleViolation
A comparator for rule violations.
DEFAULT_LANGUAGE - Static variable in class net.sourceforge.pmd.cpd.CPDConfiguration
 
DEFAULT_LINECOUNTPERFILE - Static variable in class net.sourceforge.pmd.cpd.CSVRenderer
 
DEFAULT_RENDERER - Static variable in class net.sourceforge.pmd.cpd.CPDConfiguration
 
DEFAULT_SEPARATOR - Static variable in class net.sourceforge.pmd.cpd.CSVRenderer
 
DEFAULT_SEPARATOR - Static variable in class net.sourceforge.pmd.cpd.SimpleRenderer
 
DEFAULT_SUPPRESS_MARKER - Static variable in class net.sourceforge.pmd.PMDConfiguration
The default suppress marker string.
defaultFileExtension() - Method in interface net.sourceforge.pmd.renderers.Renderer
Return the default filename extension to use.
DeprecatedUntil700 - Annotation Type in net.sourceforge.pmd.annotation
Tags a deprecated member that should not be removed before PMD 7.0.0.
DirectoryFilter - Class in net.sourceforge.pmd.util.filter
Deprecated.
See Filter
dysfunctionReason() - Method in class net.sourceforge.pmd.lang.rule.xpath.XPathRule
 

E

EcmascriptLanguage - Class in net.sourceforge.pmd.cpd
 
EcmascriptLanguage() - Constructor for class net.sourceforge.pmd.cpd.EcmascriptLanguage
 
EcmascriptTokenizer - Class in net.sourceforge.pmd.cpd
 
EcmascriptTokenizer() - Constructor for class net.sourceforge.pmd.cpd.EcmascriptTokenizer
 
end() - Method in interface net.sourceforge.pmd.renderers.Renderer
This method is at the very end of the Rendering process, after Renderer.renderFileReport(Report).
end(RuleContext) - Method in interface net.sourceforge.pmd.Rule
End processing.
endsWith - Variable in class net.sourceforge.pmd.util.filter.RegexStringFilter
Deprecated.
 
equals(Object) - Method in class net.sourceforge.pmd.cpd.Mark
 
extensions - Variable in class net.sourceforge.pmd.util.filter.FileExtensionFilter
Deprecated.
 

F

FileExtensionFilter - Class in net.sourceforge.pmd.util.filter
Deprecated.
See Filter
FileExtensionFilter(boolean, String...) - Constructor for class net.sourceforge.pmd.util.filter.FileExtensionFilter
Deprecated.
Matches any files with the given extensions, optionally ignoring case.
FileExtensionFilter(String...) - Constructor for class net.sourceforge.pmd.util.filter.FileExtensionFilter
Deprecated.
Matches any files with the given extensions, ignoring case
filenameFilter() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
fileNameRenderer() - Method in class net.sourceforge.pmd.PmdAnalysis
 
files() - Method in class net.sourceforge.pmd.PmdAnalysis
Returns the file collector for the analysed sources.
filter - Variable in class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
Deprecated.
 
filter(File) - Method in class net.sourceforge.pmd.util.filter.DirectoryFilter
Deprecated.
 
filter(File) - Method in class net.sourceforge.pmd.util.filter.FileExtensionFilter
Deprecated.
 
filter(String) - Method in class net.sourceforge.pmd.util.filter.RegexStringFilter
Deprecated.
 
filter(Predicate<Language>) - Method in class net.sourceforge.pmd.lang.LanguageRegistry
Create a new registry with the languages that satisfy the predicate.
filter(Filter<T>, Collection<T>) - Static method in class net.sourceforge.pmd.util.filter.Filters
Deprecated.
Filter a given Collection.
filter(T) - Method in class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
Deprecated.
 
filter(T) - Method in class net.sourceforge.pmd.util.filter.AndFilter
Deprecated.
 
filter(T) - Method in interface net.sourceforge.pmd.util.filter.Filter
Deprecated.
 
filter(T) - Method in class net.sourceforge.pmd.util.filter.NotFilter
Deprecated.
 
filter(T) - Method in class net.sourceforge.pmd.util.filter.OrFilter
Deprecated.
 
Filter<T> - Interface in net.sourceforge.pmd.util.filter
Deprecated.
Will be replaced with standard java.util.function.Predicate with 7.0.0
filters - Variable in class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
Deprecated.
 
Filters - Class in net.sourceforge.pmd.util.filter
Deprecated.
Internal API, see Filter
filterViolations(Predicate<RuleViolation>) - Method in class net.sourceforge.pmd.Report
Creates a new report taking all the information from this report, but filtering the violations.
filterViolations(Predicate<RuleViolation>) - Method in class net.sourceforge.pmd.Report
Deprecated.
findByExtension(String) - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
Deprecated.
Not replaced, extension will be extended to match full name in PMD 7.
findLanguageByTerseName(String) - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
flush() - Method in interface net.sourceforge.pmd.renderers.Renderer
 
fromPmdConfig(PMDConfiguration) - Static method in class net.sourceforge.pmd.RuleSetLoader
 
fromStringFilter(Filter<String>) - Static method in class net.sourceforge.pmd.util.filter.Filters
Deprecated.
Given a String Filter, expose as a Filter on another type.

G

getAdditionalInfo() - Method in interface net.sourceforge.pmd.RuleViolation
A map of additional key-value pairs known about this violation.
getAllRules() - Method in class net.sourceforge.pmd.RuleSets
Return all rules from all rulesets.
getAllRuleSets() - Method in class net.sourceforge.pmd.RuleSets
Get all the RuleSets.
getAnalysisCache() - Method in class net.sourceforge.pmd.PMDConfiguration
Retrieves the currently used analysis cache.
getBeginColumn() - Method in interface net.sourceforge.pmd.RuleViolation
Get the column number of the begin line in the source file in which this violation was identified.
getBeginLine() - Method in interface net.sourceforge.pmd.RuleViolation
Get the begin line number in the source file in which this violation was identified.
getBeginTokenIndex() - Method in class net.sourceforge.pmd.cpd.Mark
 
getChecksum() - Method in class net.sourceforge.pmd.RuleSets
Retrieves a checksum of the rulesets being used.
getClassLoader() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the ClassLoader being used by PMD when processing Rules.
getClassName() - Method in interface net.sourceforge.pmd.RuleViolation
Deprecated.
getConfigurationErrors() - Method in class net.sourceforge.pmd.Report
Returns an unmodifiable list of configuration errors that have been recorded until now.
getCPDReportRenderer() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getDependenciesOf(Language) - Method in class net.sourceforge.pmd.lang.LanguageRegistry
Creates a language registry containing the given language and its dependencies, fetched from this language registry or the parameter.
getDescription() - Method in interface net.sourceforge.pmd.renderers.Renderer
Get the description of the Renderer.
getDescription() - Method in interface net.sourceforge.pmd.Rule
Get the description of this Rule.
getDescription() - Method in interface net.sourceforge.pmd.RuleViolation
Get the description of this violation.
getDetail() - Method in class net.sourceforge.pmd.Report.ProcessingError
 
getDirectoryFilter() - Static method in class net.sourceforge.pmd.util.filter.Filters
Deprecated.
Get a File Filter for directories.
getEncoding() - Method in class net.sourceforge.pmd.cpd.XMLRenderer
 
getEndColumn() - Method in interface net.sourceforge.pmd.RuleViolation
Get the column number of the end line in the source file in which this violation was identified.
getEndLine() - Method in interface net.sourceforge.pmd.RuleViolation
Get the end line number in the source file in which this violation was identified.
getEndsWith() - Method in class net.sourceforge.pmd.util.filter.RegexStringFilter
Deprecated.
 
getEndTokenIndex() - Method in class net.sourceforge.pmd.cpd.Mark
 
getError() - Method in class net.sourceforge.pmd.Report.ProcessingError
 
getExamples() - Method in interface net.sourceforge.pmd.Rule
Get the list of examples for this Rule.
getExtensions() - Method in class net.sourceforge.pmd.cpd.AbstractLanguage
 
getExtensions() - Method in interface net.sourceforge.pmd.cpd.Language
 
getExternalInfoUrl() - Method in interface net.sourceforge.pmd.Rule
Get a URL for external information about this Rule.
getFile() - Method in class net.sourceforge.pmd.Report.ProcessingError
 
getFileExtensionFilter(String...) - Static method in class net.sourceforge.pmd.util.filter.Filters
Deprecated.
Get a File Filter for files with the given extensions, ignoring case.
getFileExtensionOrDirectoryFilter(String...) - Static method in class net.sourceforge.pmd.util.filter.Filters
Deprecated.
Get a File Filter for directories or for files with the given extensions, ignoring case.
getFileFilter() - Method in class net.sourceforge.pmd.cpd.AbstractLanguage
 
getFileFilter() - Method in interface net.sourceforge.pmd.cpd.Language
 
getFileId() - Method in class net.sourceforge.pmd.Report.ProcessingError
 
getFileId() - Method in interface net.sourceforge.pmd.RuleViolation
Return the ID of the file where the violation was found.
getFilename() - Method in class net.sourceforge.pmd.cpd.Mark
 
getFilename() - Method in interface net.sourceforge.pmd.RuleViolation
Deprecated.
getFilter() - Method in class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
Deprecated.
 
getFilters() - Method in class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
Deprecated.
 
getLanguage() - Method in class net.sourceforge.pmd.cpd.LanguageFactory.CpdLanguageAdapter
 
getLanguage() - Method in interface net.sourceforge.pmd.Rule
Get the Language of this Rule.
getLanguage(String) - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
getLanguageByFullName(String) - Method in class net.sourceforge.pmd.lang.LanguageRegistry
Returns a language from its full name (eg "Java").
getLanguageById(String) - Method in class net.sourceforge.pmd.lang.LanguageRegistry
Returns a language from its ID (eg "java").
getLanguageProperties(Language) - Method in class net.sourceforge.pmd.PmdAnalysis
Returns a mutable bundle of language properties that are associated to the given language (always the same for a given language).
getLanguages() - Method in class net.sourceforge.pmd.lang.LanguageRegistry
Returns a set of all the known languages.
getLanguageVersionById(String, String) - Method in class net.sourceforge.pmd.lang.LanguageRegistry
Returns a language version from its language ID (eg "java").
getLocation() - Method in class net.sourceforge.pmd.cpd.Mark
Return the location of this source range in the source file.
getLocation() - Method in interface net.sourceforge.pmd.RuleViolation
Returns the location where the violation should be reported.
getMatches() - Method in class net.sourceforge.pmd.cpd.CPD
 
getMaximumLanguageVersion() - Method in interface net.sourceforge.pmd.Rule
Get the maximum LanguageVersion to which this Rule applies.
getMessage() - Method in interface net.sourceforge.pmd.Rule
Get the message to show when this Rule identifies a violation.
getMethodName() - Method in interface net.sourceforge.pmd.RuleViolation
Deprecated.
getMinimumLanguageVersion() - Method in interface net.sourceforge.pmd.Rule
Get the minimum LanguageVersion to which this Rule applies.
getMinimumPriority() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the minimum priority threshold when loading Rules from RuleSets.
getMinimumPriority$$bridge() - Method in class net.sourceforge.pmd.PMDConfiguration
 
getMinimumTileSize() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getMsg() - Method in class net.sourceforge.pmd.Report.ProcessingError
 
getName() - Method in class net.sourceforge.pmd.cpd.AbstractLanguage
 
getName() - Method in interface net.sourceforge.pmd.cpd.Language
 
getName() - Method in interface net.sourceforge.pmd.renderers.Renderer
Get the name of the Renderer.
getName() - Method in interface net.sourceforge.pmd.Rule
Get the name of this Rule.
getName() - Method in enum net.sourceforge.pmd.RulePriority
Get the descriptive name of this priority.
getOperator() - Method in class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
Deprecated.
 
getOperator() - Method in class net.sourceforge.pmd.util.filter.AndFilter
Deprecated.
 
getOperator() - Method in class net.sourceforge.pmd.util.filter.OrFilter
Deprecated.
 
getPackageName() - Method in interface net.sourceforge.pmd.RuleViolation
getPriority() - Method in interface net.sourceforge.pmd.Rule
Get the priority of this Rule.
getPriority() - Method in enum net.sourceforge.pmd.RulePriority
Get the priority value as a number.
getProcessingErrors() - Method in class net.sourceforge.pmd.Report
Returns an unmodifiable list of processing errors that have been recorded until now.
getRegex() - Method in class net.sourceforge.pmd.util.filter.RegexStringFilter
Deprecated.
 
getRendererName() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getRenderers() - Static method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getReporter() - Method in class net.sourceforge.pmd.PmdAnalysis
 
getReportFile() - Method in class net.sourceforge.pmd.PMDConfiguration
getReportFilePath() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the file to which the report should render.
getReportFormat() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the report format.
getReportProperties() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the Report properties.
getResultImpl() - Method in class net.sourceforge.pmd.Report.GlobalReportBuilderListener
 
getResultImpl() - Method in class net.sourceforge.pmd.Report.ReportBuilderListener
 
getRule() - Method in interface net.sourceforge.pmd.RuleViolation
Get the Rule which identified this violation.
getRule$$bridge() - Method in interface net.sourceforge.pmd.RuleViolation
 
getRuleByName(String) - Method in class net.sourceforge.pmd.RuleSets
Returns the first Rule found with the given name.
getRuleClass() - Method in interface net.sourceforge.pmd.Rule
Get the implementation class of this Rule.
getRuleSetName() - Method in interface net.sourceforge.pmd.Rule
Get the name of the RuleSet containing this Rule.
getRuleSetPaths() - Method in class net.sourceforge.pmd.PMDConfiguration
Returns the list of ruleset URIs.
getRulesets() - Method in class net.sourceforge.pmd.PmdAnalysis
Returns an unmodifiable view of the ruleset list.
getRuleSets() - Method in class net.sourceforge.pmd.PMDConfiguration
getRuleSetsIterator() - Method in class net.sourceforge.pmd.RuleSets
 
getRuleViolation() - Method in class net.sourceforge.pmd.Report.SuppressedViolation
 
getRuleViolation() - Method in class net.sourceforge.pmd.reporting.Report.SuppressedViolation
 
getSince() - Method in interface net.sourceforge.pmd.Rule
Get the version of PMD in which this Rule was added.
getSkipBlocksPattern() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getSuppressedViolations() - Method in class net.sourceforge.pmd.Report
Returns an unmodifiable list of violations that were suppressed.
getSuppressMarker() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the suppress marker.
getSuppressor() - Method in class net.sourceforge.pmd.Report.SuppressedViolation
 
getTargetSelector() - Method in interface net.sourceforge.pmd.Rule
Returns the object that selects the nodes to which this rule applies.
getTerseName() - Method in class net.sourceforge.pmd.cpd.AbstractLanguage
 
getTerseName() - Method in interface net.sourceforge.pmd.cpd.Language
 
getThreads() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the number of threads to use when processing Rules.
getTokenizer() - Method in class net.sourceforge.pmd.cpd.AbstractLanguage
 
getTokenizer() - Method in interface net.sourceforge.pmd.cpd.Language
 
getUserMessage() - Method in class net.sourceforge.pmd.Report.SuppressedViolation
 
getVariableName() - Method in interface net.sourceforge.pmd.RuleViolation
getViolations() - Method in class net.sourceforge.pmd.Report
Returns an unmodifiable list of violations that have been recorded until now.
getWriter() - Method in interface net.sourceforge.pmd.renderers.Renderer
Get the Writer for the Renderer.
getXPathExpression() - Method in class net.sourceforge.pmd.lang.rule.xpath.XPathRule
Returns the XPath expression that implements this rule.
GlobalReportBuilderListener() - Constructor for class net.sourceforge.pmd.Report.GlobalReportBuilderListener
 
GlobalReportBuilderListener() - Constructor for class net.sourceforge.pmd.reporting.Report.GlobalReportBuilderListener
 
go() - Method in class net.sourceforge.pmd.cpd.CPD
 

H

hashCode() - Method in class net.sourceforge.pmd.cpd.Mark
 
HIGH - net.sourceforge.pmd.RulePriority
High: Change absolutely required.

I

IGNORE_ANNOTATIONS - Static variable in class net.sourceforge.pmd.cpd.JavaTokenizer
 
IGNORE_IDENTIFIERS - Static variable in class net.sourceforge.pmd.cpd.JavaTokenizer
 
IGNORE_LITERALS - Static variable in class net.sourceforge.pmd.cpd.JavaTokenizer
 
ignoreCase - Variable in class net.sourceforge.pmd.util.filter.FileExtensionFilter
Deprecated.
 
initialize(LanguageProcessor) - Method in class net.sourceforge.pmd.lang.rule.xpath.XPathRule
 
initialize(LanguageProcessor) - Method in interface net.sourceforge.pmd.Rule
Initialize the rule using the language processor if needed.
initializeRules(LanguageProcessorRegistry, PmdReporter) - Method in class net.sourceforge.pmd.RuleSets
 
INSTANCE - Static variable in class net.sourceforge.pmd.util.filter.DirectoryFilter
Deprecated.
 
isDeprecated() - Method in interface net.sourceforge.pmd.Rule
Gets whether this Rule is deprecated.
isFailOnViolation() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isFailOnViolation() - Method in class net.sourceforge.pmd.PMDConfiguration
Whether PMD should exit with status 4 (the default behavior, true) if violations are found or just with 0 (to not break the build, e.g.).
isHelp() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isIgnoreAnnotations() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isIgnoreIdentifierAndLiteralSequences() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isIgnoreIdentifiers() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isIgnoreIncrementalAnalysis() - Method in class net.sourceforge.pmd.PMDConfiguration
Returns whether incremental analysis was explicitly disabled by the user or not.
isIgnoreLiterals() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isIgnoreLiteralSequences() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isIgnoreUsings() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isNoSkipBlocks() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isRuleSetFactoryCompatibilityEnabled() - Method in class net.sourceforge.pmd.PMDConfiguration
Checks if the rule set factory compatibility feature is enabled.
isShowSuppressedViolations() - Method in class net.sourceforge.pmd.PMDConfiguration
Get whether the report should show suppressed violations.
isShowSuppressedViolations() - Method in interface net.sourceforge.pmd.renderers.Renderer
Get the indicator for whether to show suppressed violations.
isSkipDuplicates() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isSkipLexicalErrors() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
issue() - Method in class net.sourceforge.pmd.Report.ConfigurationError
Gets the reason for the configuration error.
iterator() - Method in class net.sourceforge.pmd.lang.LanguageRegistry
 

J

JavaLanguage - Class in net.sourceforge.pmd.cpd
 
JavaLanguage() - Constructor for class net.sourceforge.pmd.cpd.JavaLanguage
 
JavaLanguage(Properties) - Constructor for class net.sourceforge.pmd.cpd.JavaLanguage
 
JavaTokenizer - Class in net.sourceforge.pmd.cpd
 
JavaTokenizer(Properties) - Constructor for class net.sourceforge.pmd.cpd.JavaTokenizer
 
JSPLanguage - Class in net.sourceforge.pmd.cpd
 
JSPLanguage() - Constructor for class net.sourceforge.pmd.cpd.JSPLanguage
 
JSPTokenizer - Class in net.sourceforge.pmd.cpd
 
JSPTokenizer() - Constructor for class net.sourceforge.pmd.cpd.JSPTokenizer
 

L

Language - Interface in net.sourceforge.pmd.cpd
 
LanguageFactory - Class in net.sourceforge.pmd.cpd
 
LanguageFactory.CpdLanguageAdapter - Class in net.sourceforge.pmd.cpd
 
LanguageRegistry - Class in net.sourceforge.pmd.lang
A set of languages with convenient methods.
LanguageRegistry(Set<? extends Language>) - Constructor for class net.sourceforge.pmd.lang.LanguageRegistry
Create a new registry that contains the given set of languages.
loadFromResources(Collection<String>) - Method in class net.sourceforge.pmd.RuleSetLoader
 
loadLanguages(ClassLoader) - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
Create a new registry by loading the languages registered via ServiceLoader on the classpath of the given classloader.
LOW - net.sourceforge.pmd.RulePriority
Low: Change highly optional.

M

Mark - Class in net.sourceforge.pmd.cpd
A range of tokens in a source file, identified by a start and end token (both included in the range).
MEDIUM - net.sourceforge.pmd.RulePriority
Medium: Change recommended.
MEDIUM_HIGH - net.sourceforge.pmd.RulePriority
Medium to high: Change highly recommended.
MEDIUM_LOW - net.sourceforge.pmd.RulePriority
Medium to low: Change optional.
merge(Report) - Method in class net.sourceforge.pmd.Report
Deprecated.
Convert Renderer to use the reports.
METHOD_NAME - Static variable in interface net.sourceforge.pmd.RuleViolation
Key in RuleViolation.getAdditionalInfo() for the name of the method in which the violation was identified.

N

net.sourceforge.pmd - package net.sourceforge.pmd
 
net.sourceforge.pmd.annotation - package net.sourceforge.pmd.annotation
 
net.sourceforge.pmd.cpd - package net.sourceforge.pmd.cpd
 
net.sourceforge.pmd.cpd.renderer - package net.sourceforge.pmd.cpd.renderer
 
net.sourceforge.pmd.lang - package net.sourceforge.pmd.lang
 
net.sourceforge.pmd.lang.rule - package net.sourceforge.pmd.lang.rule
 
net.sourceforge.pmd.lang.rule.xpath - package net.sourceforge.pmd.lang.rule.xpath
 
net.sourceforge.pmd.renderers - package net.sourceforge.pmd.renderers
 
net.sourceforge.pmd.reporting - package net.sourceforge.pmd.reporting
 
net.sourceforge.pmd.util - package net.sourceforge.pmd.util
 
net.sourceforge.pmd.util.filter - package net.sourceforge.pmd.util.filter
 
newListener() - Method in interface net.sourceforge.pmd.renderers.Renderer
Returns a new analysis listener, that handles violations by rendering them in an implementation-defined way.
newRuleSetLoader() - Method in class net.sourceforge.pmd.PmdAnalysis
Returns a new ruleset loader, which can be used to create new rulesets (add them then with PmdAnalysis.addRuleSet(RuleSet)).
NotFilter<T> - Class in net.sourceforge.pmd.util.filter
Deprecated.
See Filter
NotFilter() - Constructor for class net.sourceforge.pmd.util.filter.NotFilter
Deprecated.
 
NotFilter(Filter<T>) - Constructor for class net.sourceforge.pmd.util.filter.NotFilter
Deprecated.
 

O

onConfigError(Report.ConfigurationError) - Method in class net.sourceforge.pmd.Report.GlobalReportBuilderListener
 
onError(Report.ProcessingError) - Method in class net.sourceforge.pmd.Report.ReportBuilderListener
 
onRuleViolation(RuleViolation) - Method in class net.sourceforge.pmd.Report.ReportBuilderListener
 
onSuppressedRuleViolation(Report.SuppressedViolation) - Method in class net.sourceforge.pmd.Report.ReportBuilderListener
 
optimize() - Method in class net.sourceforge.pmd.util.filter.RegexStringFilter
Deprecated.
 
OrFilter<T> - Class in net.sourceforge.pmd.util.filter
Deprecated.
See Filter
OrFilter() - Constructor for class net.sourceforge.pmd.util.filter.OrFilter
Deprecated.
 
OrFilter(Filter<T>...) - Constructor for class net.sourceforge.pmd.util.filter.OrFilter
Deprecated.
 

P

PACKAGE_NAME - Static variable in interface net.sourceforge.pmd.RuleViolation
Key in RuleViolation.getAdditionalInfo() for the name of the package in which the violation was identified.
pattern - Variable in class net.sourceforge.pmd.util.filter.RegexStringFilter
Deprecated.
 
performAnalysis() - Method in class net.sourceforge.pmd.PmdAnalysis
Run PMD with the current state of this instance.
performAnalysisAndCollectReport() - Method in class net.sourceforge.pmd.PmdAnalysis
Run PMD with the current state of this instance.
performAnalysisAndCollectReport$$bridge() - Method in class net.sourceforge.pmd.PmdAnalysis
 
PMD - Static variable in class net.sourceforge.pmd.lang.LanguageRegistry
Contains the languages that support PMD and are found on the classpath of the classloader of this class.
PmdAnalysis - Class in net.sourceforge.pmd
Main programmatic API of PMD.
PMDConfiguration - Class in net.sourceforge.pmd
This class contains the details for the runtime configuration of a PMD run.
PMDConfiguration() - Constructor for class net.sourceforge.pmd.PMDConfiguration
 
PMDConfiguration(LanguageRegistry) - Constructor for class net.sourceforge.pmd.PMDConfiguration
 
Predicate<T> - Interface in net.sourceforge.pmd.util
Simple predicate of one argument.
prependAuxClasspath(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Prepend the specified classpath like string to the current ClassLoader of the configuration.
prependClasspath(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Deprecated.
ProcessingError(Throwable, FileId) - Constructor for class net.sourceforge.pmd.Report.ProcessingError
Creates a new processing error
ProcessingError(Throwable, FileId) - Constructor for class net.sourceforge.pmd.reporting.Report.ProcessingError
 

R

regex - Variable in class net.sourceforge.pmd.util.filter.RegexStringFilter
Deprecated.
 
RegexStringFilter - Class in net.sourceforge.pmd.util.filter
Deprecated.
See Filter
RegexStringFilter(String) - Constructor for class net.sourceforge.pmd.util.filter.RegexStringFilter
Deprecated.
 
removeDysfunctionalRules(Collection<Rule>) - Method in class net.sourceforge.pmd.RuleSets
Remove and collect any rules that report problems.
render(Iterator<Match>, Writer) - Method in class net.sourceforge.pmd.cpd.CSVRenderer
 
render(Iterator<Match>, Writer) - Method in interface net.sourceforge.pmd.cpd.renderer.CPDRenderer
Deprecated.
 
render(Iterator<Match>, Writer) - Method in class net.sourceforge.pmd.cpd.SimpleRenderer
 
render(Iterator<Match>, Writer) - Method in class net.sourceforge.pmd.cpd.XMLRenderer
 
render(CPDReport, Writer) - Method in class net.sourceforge.pmd.cpd.CSVRenderer
 
render(CPDReport, Writer) - Method in class net.sourceforge.pmd.cpd.SimpleRenderer
 
render(CPDReport, Writer) - Method in class net.sourceforge.pmd.cpd.XMLRenderer
 
Renderer - Interface in net.sourceforge.pmd.renderers
This is an interface for rendering a Report.
renderFileReport(Report) - Method in interface net.sourceforge.pmd.renderers.Renderer
 
renderFileReport(Report) - Method in interface net.sourceforge.pmd.renderers.Renderer
Render the given file Report.
Report - Class in net.sourceforge.pmd
A Report collects all information during a PMD execution.
Report - Class in net.sourceforge.pmd.reporting
 
Report() - Constructor for class net.sourceforge.pmd.Report
 
Report() - Constructor for class net.sourceforge.pmd.reporting.Report
 
Report.ConfigurationError - Class in net.sourceforge.pmd
Represents a configuration error.
Report.ConfigurationError - Class in net.sourceforge.pmd.reporting
 
Report.GlobalReportBuilderListener - Class in net.sourceforge.pmd
A GlobalAnalysisListener that accumulates the events of all files into a Report.
Report.GlobalReportBuilderListener - Class in net.sourceforge.pmd.reporting
 
Report.ProcessingError - Class in net.sourceforge.pmd
Represents a processing error, such as a parse error.
Report.ProcessingError - Class in net.sourceforge.pmd.reporting
 
Report.ReportBuilderListener - Class in net.sourceforge.pmd
A FileAnalysisListener that accumulates events into a Report.
Report.ReportBuilderListener - Class in net.sourceforge.pmd.reporting
 
Report.SuppressedViolation - Class in net.sourceforge.pmd
Represents a violation, that has been suppressed.
Report.SuppressedViolation - Class in net.sourceforge.pmd.reporting
 
ReportBuilderListener() - Constructor for class net.sourceforge.pmd.Report.ReportBuilderListener
 
ReportBuilderListener() - Constructor for class net.sourceforge.pmd.reporting.Report.ReportBuilderListener
 
rule() - Method in class net.sourceforge.pmd.Report.ConfigurationError
Gets the wrongly configured rule
rule() - Method in class net.sourceforge.pmd.reporting.Report.ConfigurationError
 
Rule - Interface in net.sourceforge.pmd.lang.rule
 
Rule - Interface in net.sourceforge.pmd
This is the basic Rule interface for PMD rules.
ruleCount() - Method in class net.sourceforge.pmd.RuleSets
Determines the total count of rules that are used in all rule sets.
RulePriority - Enum in net.sourceforge.pmd
These are the possible Rule priority values.
RuleSetLoader - Class in net.sourceforge.pmd
 
RuleSetLoader() - Constructor for class net.sourceforge.pmd.RuleSetLoader
 
RuleSetLoadException - Exception in net.sourceforge.pmd.lang.rule
An exception that is thrown when something wrong occurs while loading rulesets.
RuleSetLoadException - Exception in net.sourceforge.pmd
 
RuleSetLoadException(RuleSetReferenceId, Throwable) - Constructor for exception net.sourceforge.pmd.lang.rule.RuleSetLoadException
 
RuleSetLoadException(RuleSetReferenceId, String) - Constructor for exception net.sourceforge.pmd.lang.rule.RuleSetLoadException
 
RuleSetLoadException(RuleSetReferenceId, Throwable) - Constructor for exception net.sourceforge.pmd.RuleSetLoadException
 
RuleSetLoadException(RuleSetReferenceId, String) - Constructor for exception net.sourceforge.pmd.RuleSetLoadException
 
RuleSetReferenceId - Class in net.sourceforge.pmd
 
RuleSetReferenceId(String) - Constructor for class net.sourceforge.pmd.RuleSetReferenceId
 
RuleSetReferenceId(String, RuleSetReferenceId) - Constructor for class net.sourceforge.pmd.RuleSetReferenceId
 
RuleSets - Class in net.sourceforge.pmd
Grouping of Rules per Language in a RuleSet.
RuleSets(Collection<? extends RuleSet>) - Constructor for class net.sourceforge.pmd.RuleSets
 
RuleSets(RuleSet) - Constructor for class net.sourceforge.pmd.RuleSets
Public constructor.
RuleSets(RuleSets) - Constructor for class net.sourceforge.pmd.RuleSets
Copy constructor.
RuleViolation - Interface in net.sourceforge.pmd.reporting
 
RuleViolation - Interface in net.sourceforge.pmd
A RuleViolation is created by a Rule when it identifies a violation of the Rule constraints.
runAndReturnStats() - Method in class net.sourceforge.pmd.PmdAnalysis
 

S

setAnalysisCache(AnalysisCache) - Method in class net.sourceforge.pmd.PMDConfiguration
Sets the analysis cache to be used.
setAnalysisCacheLocation(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Sets the location of the analysis cache to be used.
setBenchmark(boolean) - Method in class net.sourceforge.pmd.PMDConfiguration
Deprecated.
setClassLoader(ClassLoader) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the ClassLoader being used by PMD when processing Rules.
setDeprecated(boolean) - Method in interface net.sourceforge.pmd.Rule
Sets whether this Rule is deprecated.
setDescription(String) - Method in interface net.sourceforge.pmd.renderers.Renderer
Set the description of the Renderer.
setDescription(String) - Method in interface net.sourceforge.pmd.Rule
Set the description of this Rule.
setEncoding(String) - Method in class net.sourceforge.pmd.cpd.XMLRenderer
 
setExternalInfoUrl(String) - Method in interface net.sourceforge.pmd.Rule
Set a URL for external information about this Rule.
setFailOnViolation(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setFailOnViolation(boolean) - Method in class net.sourceforge.pmd.PMDConfiguration
Sets whether PMD should exit with status 4 (the default behavior, true) if violations are found or just with 0 (to not break the build, e.g.).
setFileNameRenderer(FileNameRenderer) - Method in interface net.sourceforge.pmd.renderers.Renderer
Set the FileNameRenderer used to render file paths to the report.
setFilter(Filter<T>) - Method in class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
Deprecated.
 
setFilters(List<Filter<T>>) - Method in class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
Deprecated.
 
setHelp(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setIgnoreAnnotations(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setIgnoreIdentifierAndLiteralSequences(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setIgnoreIdentifiers(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setIgnoreIncrementalAnalysis(boolean) - Method in class net.sourceforge.pmd.PMDConfiguration
Sets whether the user has explicitly disabled incremental analysis or not.
setIgnoreLiterals(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setIgnoreLiteralSequences(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setIgnoreUsings(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setLanguage(Language) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setLanguage(Language) - Method in interface net.sourceforge.pmd.Rule
Set the Language of this Rule.
setMaximumLanguageVersion(LanguageVersion) - Method in interface net.sourceforge.pmd.Rule
Set the maximum LanguageVersion to which this Rule applies.
setMessage(String) - Method in interface net.sourceforge.pmd.Rule
Set the message to show when this Rule identifies a violation.
setMinimumLanguageVersion(LanguageVersion) - Method in interface net.sourceforge.pmd.Rule
Set the minimum LanguageVersion to which this Rule applies.
setMinimumPriority(RulePriority) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the minimum priority threshold when loading Rules from RuleSets.
setMinimumTileSize(int) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setName(String) - Method in interface net.sourceforge.pmd.renderers.Renderer
Set the name of the Renderer.
setName(String) - Method in interface net.sourceforge.pmd.Rule
Set the name of this Rule.
setNoSkipBlocks(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setPriority(RulePriority) - Method in interface net.sourceforge.pmd.Rule
Set the priority of this Rule.
setProperties(Properties) - Method in class net.sourceforge.pmd.cpd.AbstractLanguage
 
setProperties(Properties) - Method in class net.sourceforge.pmd.cpd.JavaLanguage
 
setProperties(Properties) - Method in interface net.sourceforge.pmd.cpd.Language
 
setRendererName(String) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setReportFile(String) - Method in class net.sourceforge.pmd.PMDConfiguration
setReportFile(String) - Method in interface net.sourceforge.pmd.renderers.Renderer
Sets the filename where the report should be written to.
setReportFile(Path) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the file to which the report should render.
setReportFormat(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the report format.
setReportProperties(Properties) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the Report properties.
setRuleClass(String) - Method in interface net.sourceforge.pmd.Rule
Set the class of this Rule.
setRuleSetFactoryCompatibilityEnabled(boolean) - Method in class net.sourceforge.pmd.PMDConfiguration
Sets the rule set factory compatibility feature enabled/disabled.
setRuleSetName(String) - Method in interface net.sourceforge.pmd.Rule
Set the name of the RuleSet containing this Rule.
setRuleSets(List<String>) - Method in class net.sourceforge.pmd.PMDConfiguration
Sets the list of ruleset paths to load when starting the analysis.
setRuleSets(String) - Method in class net.sourceforge.pmd.PMDConfiguration
setShowSuppressedViolations(boolean) - Method in class net.sourceforge.pmd.PMDConfiguration
Set whether the report should show suppressed violations.
setShowSuppressedViolations(boolean) - Method in interface net.sourceforge.pmd.renderers.Renderer
Set the indicator for whether to show suppressed violations.
setSince(String) - Method in interface net.sourceforge.pmd.Rule
Set the version of PMD in which this Rule was added.
setSkipBlocksPattern(String) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setSkipDuplicates(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setSkipLexicalErrors(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setSourceEncoding(String) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setSourceEncoding(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Deprecated.
setSourceEncoding(Charset) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setSuppressMarker(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the suppress marker.
setThreads(int) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the number of threads to use when processing Rules.
setWriter(Writer) - Method in interface net.sourceforge.pmd.renderers.Renderer
Set the Writer for the Renderer.
SimpleRenderer - Class in net.sourceforge.pmd.cpd
 
SimpleRenderer() - Constructor for class net.sourceforge.pmd.cpd.SimpleRenderer
 
SimpleRenderer(boolean) - Constructor for class net.sourceforge.pmd.cpd.SimpleRenderer
 
SimpleRenderer(String) - Constructor for class net.sourceforge.pmd.cpd.SimpleRenderer
 
singleton(Language) - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
Creates a language registry containing a single language.
start() - Method in interface net.sourceforge.pmd.renderers.Renderer
This method is called before any source files are processed.
start(RuleContext) - Method in interface net.sourceforge.pmd.Rule
Start processing.
startFileAnalysis(TextFile) - Method in interface net.sourceforge.pmd.renderers.Renderer
This method is called each time a source file is processed.
startFileAnalysis(TextFile) - Method in class net.sourceforge.pmd.Report.GlobalReportBuilderListener
 
SuppressedViolation(RuleViolation, ViolationSuppressor, String) - Constructor for class net.sourceforge.pmd.reporting.Report.SuppressedViolation
 
SuppressedViolation(RuleViolation, ViolationSuppressor, String) - Constructor for class net.sourceforge.pmd.Report.SuppressedViolation
Creates a suppressed violation.

T

test(T) - Method in interface net.sourceforge.pmd.util.Predicate
 
toFileFilter(FilenameFilter) - Static method in class net.sourceforge.pmd.util.filter.Filters
Deprecated.
Given a FilenameFilter, expose as a File Filter.
toFilenameFilter(Filter<File>) - Static method in class net.sourceforge.pmd.util.filter.Filters
Deprecated.
Given a File Filter, expose as a FilenameFilter.
Tokenizer - Interface in net.sourceforge.pmd.cpd
 
toNormalizedFileFilter(Filter<String>) - Static method in class net.sourceforge.pmd.util.filter.Filters
Deprecated.
Given a String Filter, expose as a File Filter.
toString() - Method in class net.sourceforge.pmd.lang.LanguageRegistry
 
toString() - Method in class net.sourceforge.pmd.Report.ReportBuilderListener
 
toString() - Method in enum net.sourceforge.pmd.RulePriority
Returns the descriptive name of the priority.
toString() - Method in class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
Deprecated.
 
toString() - Method in class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
Deprecated.
 
toString() - Method in class net.sourceforge.pmd.util.filter.DirectoryFilter
Deprecated.
 
toString() - Method in class net.sourceforge.pmd.util.filter.NotFilter
Deprecated.
 
toString() - Method in class net.sourceforge.pmd.util.filter.RegexStringFilter
Deprecated.
 

U

union(Report) - Method in class net.sourceforge.pmd.Report
Creates a new report by combining this report with another report.

V

valueOf(int) - Static method in enum net.sourceforge.pmd.RulePriority
Get the priority which corresponds to the given number as returned by RulePriority.getPriority().
valueOf(String) - Static method in enum net.sourceforge.pmd.RulePriority
Returns the enum constant of this type with the specified name.
valueOfNullable(int) - Static method in enum net.sourceforge.pmd.RulePriority
Returns the priority which corresponds to the given number as returned by RulePriority.getPriority().
valueOfNullable(String) - Static method in enum net.sourceforge.pmd.RulePriority
Returns the priority which corresponds to the given number as returned by RulePriority.getPriority().
values() - Static method in enum net.sourceforge.pmd.RulePriority
Returns an array containing the constants of this enum type, in the order they are declared.
VARIABLE_NAME - Static variable in interface net.sourceforge.pmd.RuleViolation
Key in RuleViolation.getAdditionalInfo() for the name of the variable related to the violation.
VIOLATION_SUPPRESS_REGEX_DESCRIPTOR - Static variable in interface net.sourceforge.pmd.Rule
The property descriptor to universally suppress violations with messages matching a regular expression.
VIOLATION_SUPPRESS_XPATH_DESCRIPTOR - Static variable in interface net.sourceforge.pmd.Rule
Name of the property to universally suppress violations on nodes which match a given relative XPath expression.

W

warnDeprecated(boolean) - Method in class net.sourceforge.pmd.RuleSetLoader
 

X

XMLRenderer - Class in net.sourceforge.pmd.cpd
 
XMLRenderer() - Constructor for class net.sourceforge.pmd.cpd.XMLRenderer
Creates a XML Renderer with the default (platform dependent) encoding.
XMLRenderer(String) - Constructor for class net.sourceforge.pmd.cpd.XMLRenderer
Creates a XML Renderer with a specific output encoding.
XPATH_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.rule.xpath.XPathRule
XPathRule - Class in net.sourceforge.pmd.lang.rule.xpath
Rule that tries to match an XPath expression against a DOM view of an AST.
XPathRule - Class in net.sourceforge.pmd.lang.rule
 
XPathRule() - Constructor for class net.sourceforge.pmd.lang.rule.xpath.XPathRule
Deprecated.
This is now only used by the ruleset loader. When we have syntactic sugar for XPath rules in the XML, we won't need this anymore.
XPathRule() - Constructor for class net.sourceforge.pmd.lang.rule.XPathRule
 
XPathRule(XPathVersion, String) - Constructor for class net.sourceforge.pmd.lang.rule.xpath.XPathRule
Make a new XPath rule with the given version + expression
A B C D E F G H I J L M N O P R S T U V W X 
All Classes All Packages