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

A

AbstractAccumulatingRenderer - Class in net.sourceforge.pmd.renderers
Abstract base class for Renderer implementations which only produce output once all source files are processed.
AbstractAccumulatingRenderer(String, String) - Constructor for class net.sourceforge.pmd.renderers.AbstractAccumulatingRenderer
 
AbstractAnalysisCache - Class in net.sourceforge.pmd.cache
Abstract implementation of the analysis cache.
AbstractAnalysisCache() - Constructor for class net.sourceforge.pmd.cache.AbstractAnalysisCache
Creates a new empty cache
AbstractASTXPathHandler - Class in net.sourceforge.pmd.lang.ast.xpath
Deprecated.
AbstractASTXPathHandler() - Constructor for class net.sourceforge.pmd.lang.ast.xpath.AbstractASTXPathHandler
Deprecated.
 
AbstractCompoundFilter<T> - Class in net.sourceforge.pmd.util.filter
A base class for Filters which implements behavior using a List of other Filters.
AbstractCompoundFilter() - Constructor for class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
 
AbstractCompoundFilter(Filter<T>...) - Constructor for class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
 
AbstractConfiguration - Class in net.sourceforge.pmd
Base configuration class for both PMD and CPD.
AbstractConfiguration() - Constructor for class net.sourceforge.pmd.AbstractConfiguration
Create a new abstract configuration.
AbstractDataFlowNode - Class in net.sourceforge.pmd.lang.dfa
Each data flow contains a set of DataFlowNodes.
AbstractDataFlowNode(List<DataFlowNode>) - Constructor for class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
AbstractDataFlowNode(List<DataFlowNode>, Node) - Constructor for class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
AbstractDelegateFilter<T> - Class in net.sourceforge.pmd.util.filter
A base class for Filters which implements behavior using delegation to an underlying filter.
AbstractDelegateFilter() - Constructor for class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
 
AbstractDelegateFilter(Filter<T>) - Constructor for class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
 
AbstractDelegateRule - Class in net.sourceforge.pmd.lang.rule
Deprecated.
This is only relevant to RuleReference, but prevents sharing the implementation of AbstractPropertySource. Will be removed in 7.0.0
AbstractDelegateRule() - Constructor for class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
AbstractIncrementingRenderer - Class in net.sourceforge.pmd.renderers
Abstract base class for Renderer implementations which can produce output incrementally for RuleViolations as source files are processed.
AbstractIncrementingRenderer(String, String) - Constructor for class net.sourceforge.pmd.renderers.AbstractIncrementingRenderer
 
AbstractLanguage - Class in net.sourceforge.pmd.cpd
 
AbstractLanguage(String, String, Tokenizer, String...) - Constructor for class net.sourceforge.pmd.cpd.AbstractLanguage
 
AbstractLanguageMetricsProvider<T extends QualifiableNode,​O extends QualifiableNode> - Class in net.sourceforge.pmd.lang.metrics.internal
Base implementation for LanguageMetricsProvider.
AbstractLanguageMetricsProvider(Class<T>, Class<O>, MetricsComputer<T, O>) - Constructor for class net.sourceforge.pmd.lang.metrics.internal.AbstractLanguageMetricsProvider
 
AbstractLanguageVersionHandler - Class in net.sourceforge.pmd.lang
This is a generic implementation of the LanguageVersionHandler interface.
AbstractLanguageVersionHandler() - Constructor for class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
AbstractMetric<N extends Node> - Class in net.sourceforge.pmd.lang.metrics
Abstract class for all metrics.
AbstractMetric() - Constructor for class net.sourceforge.pmd.lang.metrics.AbstractMetric
 
AbstractMetricsComputer<T extends QualifiableNode,​O extends QualifiableNode> - Class in net.sourceforge.pmd.lang.metrics
Base class for metrics computers.
AbstractMetricsComputer() - Constructor for class net.sourceforge.pmd.lang.metrics.AbstractMetricsComputer
 
AbstractMetricsFacade<T extends QualifiableNode,​O extends QualifiableNode> - Class in net.sourceforge.pmd.lang.metrics
Base class for a façade that can compute metrics for types, operations and compute aggregate results with a result option.
AbstractMetricsFacade() - Constructor for class net.sourceforge.pmd.lang.metrics.AbstractMetricsFacade
 
AbstractNameDeclaration - Class in net.sourceforge.pmd.lang.symboltable
Base class for all name declarations.
AbstractNameDeclaration(ScopedNode) - Constructor for class net.sourceforge.pmd.lang.symboltable.AbstractNameDeclaration
 
AbstractNode - Class in net.sourceforge.pmd.lang.ast
Base class for all implementations of the Node interface.
AbstractNode(int) - Constructor for class net.sourceforge.pmd.lang.ast.AbstractNode
 
AbstractNode(int, int, int, int, int) - Constructor for class net.sourceforge.pmd.lang.ast.AbstractNode
 
AbstractNodeInfo - Class in net.sourceforge.pmd.lang.ast.xpath.saxon
Deprecated.
AbstractNodeInfo() - Constructor for class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
AbstractParser - Class in net.sourceforge.pmd.lang
This is a generic implementation of the Parser interface.
AbstractParser(ParserOptions) - Constructor for class net.sourceforge.pmd.lang.AbstractParser
 
AbstractPMDProcessor - Class in net.sourceforge.pmd.processor
 
AbstractPMDProcessor(PMDConfiguration) - Constructor for class net.sourceforge.pmd.processor.AbstractPMDProcessor
 
AbstractPropertySource - Class in net.sourceforge.pmd.properties
Base class for PropertySource.
AbstractPropertySource() - Constructor for class net.sourceforge.pmd.properties.AbstractPropertySource
 
AbstractRenderer - Class in net.sourceforge.pmd.renderers
Abstract base class for Renderer implementations.
AbstractRenderer(String, String) - Constructor for class net.sourceforge.pmd.renderers.AbstractRenderer
 
AbstractReportNode - Class in net.sourceforge.pmd.lang.dfa.report
Deprecated.
AbstractReportNode() - Constructor for class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Deprecated.
 
AbstractRule - Class in net.sourceforge.pmd.lang.rule
Basic abstract implementation of all parser-independent methods of the Rule interface.
AbstractRule() - Constructor for class net.sourceforge.pmd.lang.rule.AbstractRule
 
AbstractRuleChainVisitor - Class in net.sourceforge.pmd.lang.rule
This is a base class for RuleChainVisitor implementations which extracts interesting nodes from an AST, and lets each Rule visit the nodes it has expressed interest in.
AbstractRuleChainVisitor() - Constructor for class net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor
 
AbstractRuleViolationFactory - Class in net.sourceforge.pmd.lang.rule
 
AbstractRuleViolationFactory() - Constructor for class net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
 
AbstractScope - Class in net.sourceforge.pmd.lang.symboltable
Base class for any Scope.
AbstractScope() - Constructor for class net.sourceforge.pmd.lang.symboltable.AbstractScope
 
AbstractTokenizer - Class in net.sourceforge.pmd.cpd
 
AbstractTokenizer() - Constructor for class net.sourceforge.pmd.cpd.AbstractTokenizer
 
AbstractTokenManager - Class in net.sourceforge.pmd.lang.ast
 
AbstractTokenManager() - Constructor for class net.sourceforge.pmd.lang.ast.AbstractTokenManager
 
AbstractXPathRuleQuery - Class in net.sourceforge.pmd.lang.rule.xpath
This implementation of XPathRuleQuery provides support for RuleChain visits.
AbstractXPathRuleQuery() - Constructor for class net.sourceforge.pmd.lang.rule.xpath.AbstractXPathRuleQuery
 
accept(File, String) - Method in class net.sourceforge.pmd.lang.LanguageFilenameFilter
Check if a file should be checked by PMD.
accept(NodeVisitor, Object) - Method in class net.sourceforge.pmd.dcd.graph.ClassNode
 
accept(NodeVisitor, Object) - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
accept(NodeVisitor, Object) - Method in interface net.sourceforge.pmd.dcd.graph.NodeVisitorAcceptor
 
accept(NodeVisitor, Object) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraph
 
accept(ReportVisitor) - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Deprecated.
 
accessor - Variable in class net.sourceforge.pmd.renderers.ColumnDescriptor
 
accessTypeMatches(int) - Method in class net.sourceforge.pmd.lang.dfa.VariableAccess
 
ActionCommands - Class in net.sourceforge.pmd.util.viewer.gui
Deprecated.
actionPerformed(ActionEvent) - Method in class net.sourceforge.pmd.util.designer.CreateXMLRulePanel
Deprecated.
We let our class implement the ActionListener interface and use it to generate the xml code when the user presses the "Create rule XML" button.
actionPerformed(ActionEvent) - Method in class net.sourceforge.pmd.util.viewer.gui.MainFrame
Deprecated.
 
actionPerformed(ActionEvent) - Method in class net.sourceforge.pmd.util.viewer.gui.menu.XPathFragmentAddingItem
Deprecated.
 
actionPerformed(ActionEvent) - Method in class net.sourceforge.pmd.util.viewer.gui.ParseExceptionHandler
Deprecated.
 
add(Component) - Method in class net.sourceforge.pmd.cpd.GridBagHelper
 
add(Component, int) - Method in class net.sourceforge.pmd.cpd.GridBagHelper
 
add(File) - Method in class net.sourceforge.pmd.cpd.CPD
 
add(Class<?>) - Method in class net.sourceforge.pmd.util.TypeMap
Adds a type to the receiver and stores it keyed by both its full and short names.
add(Class<?>...) - Method in class net.sourceforge.pmd.util.TypeMap
Adds an array of types to the receiver at once.
add(List<File>) - Method in class net.sourceforge.pmd.cpd.CPD
 
add(TokenEntry) - Method in class net.sourceforge.pmd.cpd.Tokens
 
add(AbstractReportNode) - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Deprecated.
Adds the child at the end.
add(RuleSet) - Method in class net.sourceforge.pmd.RuleChain
Add all Rules from the given RuleSet which want to participate in the RuleChain.
add(RuleSet, Rule) - Method in class net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor
 
add(RuleSet, Rule) - Method in interface net.sourceforge.pmd.lang.rule.RuleChainVisitor
Add the given rule to the visitor.
add(DBURI) - Method in class net.sourceforge.pmd.cpd.CPD
 
addAllInDirectory(File) - Method in class net.sourceforge.pmd.cpd.CPD
 
addAttributesTo(Map<PropertyDescriptorField, String>) - Method in class net.sourceforge.pmd.properties.modules.NumericPropertyModule
Deprecated.
 
addAttributesTo(Map<PropertyDescriptorField, String>) - Method in class net.sourceforge.pmd.properties.modules.PackagedPropertyModule
Deprecated.
 
addConfigError(Report.ConfigurationError) - Method in class net.sourceforge.pmd.Report
Adds a new configuration error to the report.
addConfiguredParam(Parameter) - Method in class net.sourceforge.pmd.ant.Formatter
 
addConfiguredSourceLanguage(SourceLanguage) - Method in class net.sourceforge.pmd.ant.PMDTask
 
addDataPoint(DataPoint) - Method in interface net.sourceforge.pmd.lang.rule.stat.StatisticalRule
Deprecated.
 
addDataPoint(DataPoint) - Method in class net.sourceforge.pmd.lang.rule.stat.StatisticalRuleHelper
Deprecated.
 
addDeclaration(NameDeclaration) - Method in class net.sourceforge.pmd.lang.symboltable.AbstractScope
 
addDeclaration(NameDeclaration) - Method in interface net.sourceforge.pmd.lang.symboltable.Scope
Adds a new declaration to this scope.
addDocumentOperation(DocumentOperation) - Method in class net.sourceforge.pmd.document.DocumentOperationsApplierForNonOverlappingRegions
 
addedFile(int, File) - Method in interface net.sourceforge.pmd.cpd.CPDListener
 
addedFile(int, File) - Method in class net.sourceforge.pmd.cpd.CPDNullListener
 
addedFile(int, File) - Method in class net.sourceforge.pmd.cpd.GUI
 
addError(Report.ProcessingError) - Method in class net.sourceforge.pmd.Report
Adds a new processing error to the report.
addEscapes(String) - Static method in exception net.sourceforge.pmd.lang.ast.TokenMgrError
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
addExample(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
addExample(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
addExample(String) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
addExample(String) - Method in interface net.sourceforge.pmd.Rule
Add a single example for this Rule.
addExample(String) - Method in class net.sourceforge.pmd.rules.RuleBuilder
 
addFileset(FileSet) - Method in class net.sourceforge.pmd.ant.PMDTask
 
addFileset(FileSet) - Method in class net.sourceforge.pmd.cpd.CPDTask
 
addFilter(Filter<T>) - Method in class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
 
addFirst(AbstractReportNode) - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Deprecated.
Adds the child in front of any other childs.
addFormatter(Formatter) - Method in class net.sourceforge.pmd.ant.PMDTask
 
addLabel(String) - Method in class net.sourceforge.pmd.cpd.GridBagHelper
 
addLast(DataFlowNode) - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
addListener(ThreadSafeReportListener) - Method in class net.sourceforge.pmd.Report
Registers a report listener
addListeners(List<ThreadSafeReportListener>) - Method in class net.sourceforge.pmd.Report
Adds all given listeners to this report
addMetric(Metric) - Method in class net.sourceforge.pmd.Report
Deprecated.
addNameOccurrence(NameOccurrence) - Method in class net.sourceforge.pmd.lang.symboltable.AbstractScope
 
addNameOccurrence(NameOccurrence) - Method in interface net.sourceforge.pmd.lang.symboltable.Scope
Adds a NameOccurrence to this scope - only call this after getting a true back from Scope.contains(NameOccurrence).
addNumberOfViolation(int) - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Deprecated.
 
addPathToChild(DataFlowNode) - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
addPathToChild(DataFlowNode) - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
addRecursively(File) - Method in class net.sourceforge.pmd.cpd.CPD
 
addRuleChainVisit(Class<? extends Node>) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
addRuleChainVisit(Class<? extends Node>) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
addRuleChainVisit(Class<? extends Node>) - Method in interface net.sourceforge.pmd.Rule
Adds an AST node by class to be visited by the Rule on the RuleChain.
addRuleChainVisit(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
addRuleChainVisit(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
addRuleChainVisit(String) - Method in interface net.sourceforge.pmd.Rule
Adds an AST node by name to be visited by the Rule on the RuleChain.
addRuleset(RuleSetWrapper) - Method in class net.sourceforge.pmd.ant.PMDTask
 
addRuleSet(RuleSet) - Method in class net.sourceforge.pmd.RuleSets
Add a ruleset for a language.
addRuleViolation(RuleViolation) - Method in class net.sourceforge.pmd.lang.dfa.report.ReportTree
Deprecated.
Adds the RuleViolation to the tree.
addRuleViolation(RuleViolation) - Method in class net.sourceforge.pmd.Report
Adds a new rule violation to the report and notify the listeners.
addSourceFilesToCPD(CPD, CPDConfiguration) - Static method in class net.sourceforge.pmd.cpd.CPDCommandLineInterface
 
addText(String) - Method in class net.sourceforge.pmd.ant.RuleSetWrapper
 
addTokenEntry(TokenEntry) - Method in class net.sourceforge.pmd.cpd.Match
 
addTreeModelListener(TreeModelListener) - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
Deprecated.
 
addUse(MemberNode) - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
addUser(MemberNode) - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
addVersion(String, LanguageVersionHandler, boolean) - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
addViewerModelListener(ViewerModelListener) - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
Deprecated.
 
addViolation(Object, Node) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
addViolation(Object, Node, Object[]) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
addViolation(Object, Node, String) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
addViolation(RuleContext, Rule, Node, String, int, int, Object[]) - Method in class net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
 
addViolation(RuleContext, Rule, Node, String, int, int, Object[]) - Method in interface net.sourceforge.pmd.lang.rule.RuleViolationFactory
 
addViolation(RuleContext, Rule, Node, String, Object[]) - Method in class net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
 
addViolation(RuleContext, Rule, Node, String, Object[]) - Method in interface net.sourceforge.pmd.lang.rule.RuleViolationFactory
Adds a violation to the report.
addViolation(RuleViolation) - Method in class net.sourceforge.pmd.cache.AnalysisResult
 
addViolations(List<RuleViolation>) - Method in class net.sourceforge.pmd.cache.AnalysisResult
 
addViolationWithMessage(Object, Node, String) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
addViolationWithMessage(Object, Node, String, int, int) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
addViolationWithMessage(Object, Node, String, Object[]) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
addWithoutDuplicates(Collection<T>, Collection<T>) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Add elements from the source to the target as long as they don't already exist there.
addWithoutDuplicates(T[], T) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Deprecated.
addWithoutDuplicates(T[], T[]) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Deprecated.
adjustBeginLineColumn(int, int) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Method to adjust line and column numbers for the start of a token.
adjustBeginLineColumn(int, int) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
AdjustBuffSize() - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
advance() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeAxisIterator
Deprecated.
 
AnalysisCache - Interface in net.sourceforge.pmd.cache
An analysis cache for incremental analysis.
analysisFailed(File) - Method in class net.sourceforge.pmd.cache.AbstractAnalysisCache
 
analysisFailed(File) - Method in interface net.sourceforge.pmd.cache.AnalysisCache
Notifies the cache that analysis of the given file has failed and should not be cached.
analysisFailed(File) - Method in class net.sourceforge.pmd.cache.NoopAnalysisCache
 
AnalysisResult - Class in net.sourceforge.pmd.cache
The result of a single file analysis.
AnalysisResult(long, List<RuleViolation>) - Constructor for class net.sourceforge.pmd.cache.AnalysisResult
 
AnalysisResult(File) - Constructor for class net.sourceforge.pmd.cache.AnalysisResult
 
analyzeToken(T) - Method in class net.sourceforge.pmd.cpd.token.internal.BaseTokenFilter
Extension point for subclasses to analyze all tokens (before filtering) and update internal status to decide on custom discard rules.
AndFilter<T> - Class in net.sourceforge.pmd.util.filter
A logical AND of a list of Filters.
AndFilter() - Constructor for class net.sourceforge.pmd.util.filter.AndFilter
 
AndFilter(Filter<T>...) - Constructor for class net.sourceforge.pmd.util.filter.AndFilter
 
AntLogHandler - Class in net.sourceforge.pmd.util.log
AntLogHandler sends log messages to an Ant Task, so the regular Ant logging is used.
AntLogHandler(Project) - Constructor for class net.sourceforge.pmd.util.log.AntLogHandler
 
AntlrToken - Class in net.sourceforge.pmd.cpd.token
Generic Antlr representation of a token.
AntlrToken(Token, AntlrToken) - Constructor for class net.sourceforge.pmd.cpd.token.AntlrToken
Constructor
AntlrTokenFilter - Class in net.sourceforge.pmd.cpd.token
A generic filter for Antlr-based token managers that allows to use comments to enable / disable analysis of parts of the stream
AntlrTokenFilter(AntlrTokenManager) - Constructor for class net.sourceforge.pmd.cpd.token.AntlrTokenFilter
Creates a new AntlrTokenFilter
AntlrTokenizer - Class in net.sourceforge.pmd.cpd
Deprecated.
This is an internal API.
AntlrTokenizer() - Constructor for class net.sourceforge.pmd.cpd.AntlrTokenizer
Deprecated.
 
AntlrTokenManager - Class in net.sourceforge.pmd.lang.antlr
Generic token manager implementation for all Antlr lexers.
AntlrTokenManager(Lexer, String) - Constructor for class net.sourceforge.pmd.lang.antlr.AntlrTokenManager
Constructor
AntlrTokenManager.ANTLRSyntaxError - Exception in net.sourceforge.pmd.lang.antlr
 
AnyLanguage - Class in net.sourceforge.pmd.cpd
 
AnyLanguage(String...) - Constructor for class net.sourceforge.pmd.cpd.AnyLanguage
 
AnyTokenizer - Class in net.sourceforge.pmd.cpd
This class does a best-guess try-anything tokenization.
AnyTokenizer() - Constructor for class net.sourceforge.pmd.cpd.AnyTokenizer
 
appendElement(Node) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
appendLn(String...) - Method in class net.sourceforge.pmd.benchmark.StringBuilderCR
Deprecated.
 
appendToXPathExpression(String, Object) - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
Deprecated.
Appends the given fragment to the XPath expression.
appendXmlEscaped(StringBuilder, String, boolean) - Static method in class net.sourceforge.pmd.util.StringUtil
 
Applier - Class in net.sourceforge.pmd.lang.symboltable
 
applies(File) - Method in class net.sourceforge.pmd.RuleSet
Check if a given source file should be checked by rules in this RuleSet.
applies(File) - Method in class net.sourceforge.pmd.RuleSets
Check if a given source file should be checked by rules in this RuleSets.
applies(Rule, LanguageVersion) - Static method in class net.sourceforge.pmd.RuleSet
Does the given Rule apply to the given LanguageVersion? If so, the Language must be the same and be between the minimum and maximums versions on the Rule.
apply() - Method in class net.sourceforge.pmd.document.DocumentOperationsApplierForNonOverlappingRegions
 
apply(List<? extends Node>, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
apply(List<? extends Node>, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.MockRule
 
apply(List<? extends Node>, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.XPathRule
Apply the rule to all nodes.
apply(List<? extends Node>, RuleContext) - Method in interface net.sourceforge.pmd.Rule
Apply this rule to the given collection of nodes, using the given context.
apply(List<? extends Node>, RuleContext) - Method in class net.sourceforge.pmd.RuleSet
Executes the rules in this ruleset against each of the given nodes.
apply(List<Node>, RuleContext, Language) - Method in class net.sourceforge.pmd.RuleChain
Apply the RuleChain to the given Nodes using the given RuleContext, for those rules using the given Language.
apply(List<Node>, RuleContext, Language) - Method in class net.sourceforge.pmd.RuleSets
Apply all applicable rules to the compilation units.
apply(Document) - Method in class net.sourceforge.pmd.document.DeleteDocumentOperation
 
apply(Document) - Method in class net.sourceforge.pmd.document.DocumentOperation
Apply this operation to the specified document
apply(Document) - Method in class net.sourceforge.pmd.document.InsertDocumentOperation
 
apply(Document) - Method in class net.sourceforge.pmd.document.ReplaceDocumentOperation
 
apply(RuleContext) - Method in class net.sourceforge.pmd.lang.rule.stat.StatisticalRuleHelper
Deprecated.
 
apply(SearchFunction<E>, Iterator<? extends E>) - Static method in class net.sourceforge.pmd.lang.symboltable.Applier
 
applyTo(E) - Method in interface net.sourceforge.pmd.util.SearchFunction
Applies the search function over a single element.
applyTo(NameDeclaration) - Method in class net.sourceforge.pmd.lang.symboltable.ImageFinderFunction
 
areEqual(Object, Object) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Deprecated.
Objects.deepEquals(Object, Object)
areSemanticEquals(String, String) - Static method in class net.sourceforge.pmd.util.StringUtil
Deprecated.
areSemanticEquals(T[], T[]) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Deprecated.
Arrays.deepEquals(Object[], Object[])
ARRAY_FLAG - Static variable in class net.sourceforge.pmd.properties.modules.MethodPropertyModule
Deprecated.
 
arraysAreEqual(Object, Object) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Deprecated.
Objects.deepEquals(Object, Object)
asDelimitedString(T) - Method in interface net.sourceforge.pmd.properties.PropertyDescriptor
Deprecated.
PMD 7.0.0 will use a more powerful scheme to represent values than simple strings, this method won't be general enough
asHoursMinutesSeconds(long) - Static method in class net.sourceforge.pmd.util.DateTimeUtil
 
asInverseWithShortName() - Method in class net.sourceforge.pmd.util.TypeMap
Creates and returns a map of short type names (without the package prefixes) keyed by the classes themselves.
asMethodGroupsByTypeName(Method[]) - Static method in class net.sourceforge.pmd.util.ClassUtil
Return the methods as a map keyed by their common declaration types.
asMethodGroupsByTypeName(List<Method>) - Static method in class net.sourceforge.pmd.util.ClassUtil
Return the methods as a map keyed by their common declaration types.
asOperationNode(Node) - Method in class net.sourceforge.pmd.lang.metrics.internal.AbstractLanguageMetricsProvider
 
asOperationNode(Node) - Method in interface net.sourceforge.pmd.lang.metrics.LanguageMetricsProvider
Returns the given node casted to LanguageMetricsProvider if it's of the correct type, otherwise returns null.
asReversed(List<T>) - Static method in class net.sourceforge.pmd.internal.util.IteratorUtil
 
ASSERT_STATEMENT - net.sourceforge.pmd.lang.dfa.NodeType
 
asSet(T[]) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Returns the items as a populated set.
asShortestName(Class<?>) - Static method in class net.sourceforge.pmd.util.ClassUtil
Return the name of the type in its short form if its known to us otherwise return its name fully packaged.
asString(E) - Method in class net.sourceforge.pmd.properties.EnumeratedMultiProperty
Deprecated.
 
asString(E) - Method in class net.sourceforge.pmd.properties.EnumeratedProperty
Deprecated.
 
asString(Class) - Method in class net.sourceforge.pmd.properties.TypeMultiProperty
Deprecated.
 
asString(Class) - Method in class net.sourceforge.pmd.properties.TypeProperty
Deprecated.
 
asString(Object[], String) - Static method in class net.sourceforge.pmd.util.StringUtil
Formats all items onto a string with separators if more than one exists, return an empty string if the items are null or empty.
asString(Method) - Method in class net.sourceforge.pmd.properties.MethodMultiProperty
Deprecated.
 
asString(Method) - Method in class net.sourceforge.pmd.properties.MethodProperty
Deprecated.
 
asString(Method) - Static method in class net.sourceforge.pmd.properties.modules.MethodPropertyModule
Deprecated.
 
asStringOn(StringBuffer, Iterator<?>, String) - Static method in class net.sourceforge.pmd.util.StringUtil
Deprecated.
StringUtils.join(Iterator, String)
asStringOn(StringBuilder, Object[], String) - Static method in class net.sourceforge.pmd.util.StringUtil
Deprecated.
StringUtils.join(Iterable, String)
ASTModel - Class in net.sourceforge.pmd.util.viewer.model
Deprecated.
ASTModel(Node) - Constructor for class net.sourceforge.pmd.util.viewer.model.ASTModel
Deprecated.
creates the tree model
ASTNodePopupMenu - Class in net.sourceforge.pmd.util.viewer.gui.menu
Deprecated.
ASTNodePopupMenu(ViewerModel, Node) - Constructor for class net.sourceforge.pmd.util.viewer.gui.menu.ASTNodePopupMenu
Deprecated.
 
ASTPanel - Class in net.sourceforge.pmd.util.viewer.gui
Deprecated.
ASTPanel(ViewerModel) - Constructor for class net.sourceforge.pmd.util.viewer.gui.ASTPanel
Deprecated.
constructs the panel
asTypeNode(Node) - Method in class net.sourceforge.pmd.lang.metrics.internal.AbstractLanguageMetricsProvider
 
asTypeNode(Node) - Method in interface net.sourceforge.pmd.lang.metrics.LanguageMetricsProvider
Returns the given node casted to LanguageMetricsProvider if it's of the correct type, otherwise returns null.
atomize() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
atomize() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
Deprecated.
 
attribute - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
Deprecated.
 
Attribute - Class in net.sourceforge.pmd.lang.ast.xpath
Represents an XPath attribute of a specific node.
Attribute(Node, String, Method) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.Attribute
Creates a new attribute belonging to the given node using its accessor.
Attribute(Node, String, String) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.Attribute
Creates a new attribute belonging to the given node using its string value.
AttributeAxisIterator - Class in net.sourceforge.pmd.lang.ast.xpath
AttributeAxisIterator - Class in net.sourceforge.pmd.lang.ast.xpath.saxon
Deprecated.
AttributeAxisIterator(Node) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.AttributeAxisIterator
Deprecated.
Creates a new iterator that enumerates the attributes of the given node.
AttributeAxisIterator(ElementNode) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeAxisIterator
Deprecated.
Create an iterator over the Attribute axis for the given ElementNode.
attributeName() - Method in enum net.sourceforge.pmd.properties.PropertyDescriptorField
Deprecated.
Returns the String name of this attribute.
AttributeNode - Class in net.sourceforge.pmd.lang.ast.xpath.saxon
Deprecated.
AttributeNode - Interface in net.sourceforge.pmd.lang.ast.xpath
Deprecated.
See Node.getXPathAttributesIterator(). Will be removed in 7.0.0
AttributeNode(Attribute, int) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
Deprecated.
Creates a new AttributeNode from a PMD Attribute.
AttributesSubMenu - Class in net.sourceforge.pmd.util.viewer.gui.menu
Deprecated.
AttributesSubMenu(ViewerModel, Node) - Constructor for class net.sourceforge.pmd.util.viewer.gui.menu.AttributesSubMenu
Deprecated.
 
AttributeToolkit - Class in net.sourceforge.pmd.util.viewer.model
Deprecated.
attributeValuesById() - Method in interface net.sourceforge.pmd.properties.PropertyDescriptor
Deprecated.
Will be removed with 7.0.0
auxClassPathChecksum - Variable in class net.sourceforge.pmd.cache.AbstractAnalysisCache
 
AVERAGE - net.sourceforge.pmd.lang.metrics.ResultOption
Compute the average on all operations.

B

backup(int) - Method in interface net.sourceforge.pmd.lang.ast.CharStream
Backs up the input stream by amount steps.
backup(int) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Retreat.
backup(int) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Backup a number of characters.
BaseLanguageModule - Class in net.sourceforge.pmd.lang
Created by christoferdutz on 21.09.14.
BaseLanguageModule(String, String, String, Class<?>, String...) - Constructor for class net.sourceforge.pmd.lang.BaseLanguageModule
 
BaseTokenFilter<T extends GenericToken> - Class in net.sourceforge.pmd.cpd.token.internal
A generic filter for PMD token managers that allows to use comments to enable / disable analysis of parts of the stream
BaseTokenFilter(TokenManager) - Constructor for class net.sourceforge.pmd.cpd.token.internal.BaseTokenFilter
Creates a new BaseTokenFilter
BasicMetricMemoizer<N extends Node> - Class in net.sourceforge.pmd.lang.metrics
Basic implementation of a metric memoizer.
BasicMetricMemoizer() - Constructor for class net.sourceforge.pmd.lang.metrics.BasicMetricMemoizer
 
BasicProjectMemoizer<T extends QualifiableNode,​O extends QualifiableNode> - Class in net.sourceforge.pmd.lang.metrics
Simple implementation of a project memoizer.
BasicProjectMemoizer() - Constructor for class net.sourceforge.pmd.lang.metrics.BasicProjectMemoizer
 
beginColumn - Variable in class net.sourceforge.pmd.lang.ast.AbstractNode
 
beginColumn - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
beginLine - Variable in class net.sourceforge.pmd.lang.ast.AbstractNode
 
beginLine - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
BeginToken() - Method in interface net.sourceforge.pmd.lang.ast.CharStream
Returns the next character that marks the beginning of the next token.
BeginToken() - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
BeginToken() - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Start.
Benchmark - Enum in net.sourceforge.pmd.benchmark
Deprecated.
Benchmarker - Class in net.sourceforge.pmd.benchmark
Deprecated.
use TimeTracker instead
BenchmarkReport - Interface in net.sourceforge.pmd.benchmark
Deprecated.
body - Variable in class net.sourceforge.pmd.renderers.CodeClimateIssue.Content
 
BODY_PLACEHOLDER - Static variable in class net.sourceforge.pmd.renderers.CodeClimateRenderer
 
BOOLEAN - net.sourceforge.pmd.properties.PropertyTypeId
 
BOOLEAN_LIST - net.sourceforge.pmd.properties.PropertyTypeId
Deprecated.
BooleanMultiProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Not useful, will be removed with 7.0.0
BooleanMultiProperty(String, String, Boolean[], float) - Constructor for class net.sourceforge.pmd.properties.BooleanMultiProperty
Deprecated.
Not useful, will be removed with 7.0.0
BooleanMultiProperty(String, String, List<Boolean>, float) - Constructor for class net.sourceforge.pmd.properties.BooleanMultiProperty
Deprecated.
Not useful, will be removed with 7.0.0
BooleanMultiProperty.BooleanMultiPBuilder - Class in net.sourceforge.pmd.properties
Deprecated.
Not useful, will be removed with 7.0.0
booleanProperty(String) - Static method in class net.sourceforge.pmd.properties.PropertyFactory
Returns a builder for a boolean property.
BooleanProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Use a PropertyDescriptor<Boolean> instead. A builder is available from PropertyFactory.booleanProperty(String) and its overloads. This class will be removed in 7.0.0.
BooleanProperty(String, String, boolean, float) - Constructor for class net.sourceforge.pmd.properties.BooleanProperty
Deprecated.
BooleanProperty(String, String, String, float) - Constructor for class net.sourceforge.pmd.properties.BooleanProperty
Deprecated.
BooleanProperty.BooleanPBuilder - Class in net.sourceforge.pmd.properties
Deprecated.
BREAK_STATEMENT - net.sourceforge.pmd.lang.dfa.NodeType
 
bufcolumn - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
bufcolumn - Variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
buffer - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
buffer - Variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
bufline - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
bufline - Variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
bufpos - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
Position in buffer.
bufpos - Variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Position in buffer.
BUG_RISK - net.sourceforge.pmd.renderers.CodeClimateRule.CodeClimateCategory
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.BooleanMultiProperty.BooleanMultiPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.BooleanProperty.BooleanPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilder
Deprecated.
Builds the descriptor and returns it.
build() - Method in class net.sourceforge.pmd.properties.CharacterMultiProperty.CharacterMultiPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.CharacterProperty.CharacterPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.DoubleMultiProperty.DoubleMultiPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.DoubleProperty.DoublePBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.EnumeratedMultiProperty.EnumMultiPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.EnumeratedProperty.EnumPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.FileProperty.FilePBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.FloatMultiProperty.FloatMultiPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.FloatProperty.FloatPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.IntegerMultiProperty.IntegerMultiPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.IntegerProperty.IntegerPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.LongMultiProperty.LongMultiPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.LongProperty.LongPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.MethodMultiProperty.MethodMultiPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.MethodProperty.MethodPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.PropertyBuilder
Builds the descriptor and returns it.
build() - Method in class net.sourceforge.pmd.properties.PropertyBuilder.GenericCollectionPropertyBuilder
 
build() - Method in class net.sourceforge.pmd.properties.RegexProperty.RegexPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.StringMultiProperty.StringMultiPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.StringProperty.StringPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.TypeMultiProperty.TypeMultiPBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.properties.TypeProperty.TypePBuilder
Deprecated.
 
build() - Method in class net.sourceforge.pmd.rules.RuleBuilder
 
build(Map<PropertyDescriptorField, String>) - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper
Deprecated.
 
build(Map<PropertyDescriptorField, String>) - Method in interface net.sourceforge.pmd.properties.builders.PropertyDescriptorExternalBuilder
Deprecated.
Builds a descriptor.
buildRegexFilterExcludeOverInclude(List<String>, List<String>) - Static method in class net.sourceforge.pmd.util.filter.Filters
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
Construct a String Filter using set of include and exclude regular expressions.
buildRule(Element) - Method in class net.sourceforge.pmd.rules.RuleFactory
Parses a rule element and returns a new rule instance.
buildUsageText() - Static method in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
buildUsageText() - Static method in class net.sourceforge.pmd.cpd.CPDCommandLineInterface
 
buildUsageText(JCommander) - Static method in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
BY_EXTENSION - Static variable in class net.sourceforge.pmd.cpd.LanguageFactory
 

C

CachedRuleMapper - Class in net.sourceforge.pmd.cache
A mapper from rule class names to rule instances for cached rules.
CachedRuleMapper() - Constructor for class net.sourceforge.pmd.cache.CachedRuleMapper
 
CachedRuleViolation - Class in net.sourceforge.pmd.cache
A RuleViolation implementation that is immutable, and therefore cache friendly
cacheExists() - Method in class net.sourceforge.pmd.cache.AbstractAnalysisCache
Returns true if the cache exists.
cacheExists() - Method in class net.sourceforge.pmd.cache.FileAnalysisCache
 
call() - Method in class net.sourceforge.pmd.processor.PmdRunnable
 
call(Context, List) - Method in class net.sourceforge.pmd.lang.xpath.MatchesFunction
Deprecated.
 
callableStatement - Variable in class net.sourceforge.pmd.util.database.DBMSMetadata
CallableStatement to return source code.
canParse() - Method in interface net.sourceforge.pmd.lang.Parser
Indicates if this parser can actual parse, or if it can only tokenize.
CASE_LAST_STATEMENT - net.sourceforge.pmd.lang.dfa.NodeType
 
categories - Variable in class net.sourceforge.pmd.renderers.CodeClimateIssue
 
CHARACTER - net.sourceforge.pmd.properties.PropertyTypeId
 
CHARACTER_LIST - net.sourceforge.pmd.properties.PropertyTypeId
 
CharacterMultiProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Use a PropertyDescriptor<List<Character>>. A builder is available from PropertyFactory.charListProperty(String). This class will be removed in 7.0.0.
CharacterMultiProperty(String, String, Character[], float, char) - Constructor for class net.sourceforge.pmd.properties.CharacterMultiProperty
CharacterMultiProperty(String, String, List<Character>, float, char) - Constructor for class net.sourceforge.pmd.properties.CharacterMultiProperty
CharacterMultiProperty.CharacterMultiPBuilder - Class in net.sourceforge.pmd.properties
CharacterProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Use a PropertyDescriptor<Character>. A builder is available from PropertyFactory.charProperty(String). This class will be removed in 7.0.0.
CharacterProperty(String, String, Character, float) - Constructor for class net.sourceforge.pmd.properties.CharacterProperty
CharacterProperty(String, String, String, float) - Constructor for class net.sourceforge.pmd.properties.CharacterProperty
CharacterProperty.CharacterPBuilder - Class in net.sourceforge.pmd.properties
CHARACTERSET - net.sourceforge.pmd.util.database.DBType.Property
 
charFrom(String) - Static method in class net.sourceforge.pmd.properties.CharacterProperty
Deprecated.
Parses a String into a Character.
charListProperty(String) - Static method in class net.sourceforge.pmd.properties.PropertyFactory
Returns a builder for a property having as value a list of characters.
charProperty(String) - Static method in class net.sourceforge.pmd.properties.PropertyFactory
Returns a builder for a character property.
CharStream - Interface in net.sourceforge.pmd.lang.ast
This interface describes a character stream that maintains line and column number positions of the characters.
check_name - Variable in class net.sourceforge.pmd.renderers.CodeClimateIssue
 
checkNumber(T) - Method in class net.sourceforge.pmd.properties.modules.NumericPropertyModule
Deprecated.
 
ChecksumAware - Interface in net.sourceforge.pmd.cache
Interface defining an object that has a checksum The checksum is a fingerprint of the object's configuration, and *MUST* change if anything changed on the object.
checkValidity(RuleSets, ClassLoader) - Method in class net.sourceforge.pmd.cache.AbstractAnalysisCache
 
checkValidity(RuleSets, ClassLoader) - Method in interface net.sourceforge.pmd.cache.AnalysisCache
Checks if the cache is valid for the configured rulesets and class loader.
checkValidity(RuleSets, ClassLoader) - Method in class net.sourceforge.pmd.cache.NoopAnalysisCache
 
checkValue(E) - Method in class net.sourceforge.pmd.properties.modules.EnumeratedPropertyModule
Deprecated.
 
childIndex - Variable in class net.sourceforge.pmd.lang.ast.AbstractNode
 
children - Variable in class net.sourceforge.pmd.lang.ast.AbstractNode
 
children - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
children - Variable in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
children() - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
Deprecated.
 
childrenAccept(ReportVisitor) - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Deprecated.
 
choiceFrom(String) - Method in class net.sourceforge.pmd.properties.modules.EnumeratedPropertyModule
Deprecated.
 
CHOICES - net.sourceforge.pmd.properties.PropertyDescriptorField
Deprecated.
Choices for enumerated properties.
CLARITY - net.sourceforge.pmd.renderers.CodeClimateRule.CodeClimateCategory
Deprecated.
 
CLASS - net.sourceforge.pmd.properties.PropertyTypeId
Deprecated.
CLASS_AND_METHOD_NAME - Static variable in class net.sourceforge.pmd.renderers.IDEAJRenderer
 
CLASS_LIST - net.sourceforge.pmd.properties.PropertyTypeId
Deprecated.
CLASS_METHOD_DELIMITER - Static variable in class net.sourceforge.pmd.properties.modules.MethodPropertyModule
Deprecated.
 
classFilter - Variable in class net.sourceforge.pmd.dcd.graph.UsageGraph
 
classFilter - Variable in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder
 
ClassLoaderUtil - Class in net.sourceforge.pmd.dcd
ClassLoader utilities.
className - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
classNode - Variable in class net.sourceforge.pmd.dcd.graph.MemberNode
 
ClassNode - Class in net.sourceforge.pmd.dcd.graph
Represents a Class in a UsageGraph.
ClassNode - Class in net.sourceforge.pmd.lang.dfa.report
Deprecated.
ClassNode(String) - Constructor for class net.sourceforge.pmd.dcd.graph.ClassNode
 
ClassNode(String) - Constructor for class net.sourceforge.pmd.lang.dfa.report.ClassNode
Deprecated.
 
ClassNodeComparator - Class in net.sourceforge.pmd.dcd.graph
Compares ClassNodes by the name of the class.
ClasspathClassLoader - Class in net.sourceforge.pmd.util
Create a ClassLoader which loads classes using a CLASSPATH like String.
ClasspathClassLoader(String, ClassLoader) - Constructor for class net.sourceforge.pmd.util.ClasspathClassLoader
 
ClasspathClassLoader(List<File>, ClassLoader) - Constructor for class net.sourceforge.pmd.util.ClasspathClassLoader
 
ClassUtil - Class in net.sourceforge.pmd.util
Various class-related utility methods intended for mapping common java.lang types to their short short forms allowing end users to enter these names in UIs without the package prefixes.
clear() - Method in class net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor
Clears the internal data structure used to manage the nodes visited between visiting different ASTs.
clearImages() - Static method in class net.sourceforge.pmd.cpd.TokenEntry
 
CLINIT - Static variable in class net.sourceforge.pmd.dcd.ClassLoaderUtil
 
close() - Method in interface net.sourceforge.pmd.benchmark.TimedOperation
Stops tracking if not already stopped.
close() - Method in class net.sourceforge.pmd.document.DocumentFile
 
close() - Method in class net.sourceforge.pmd.RuleSetWriter
 
close() - Method in class net.sourceforge.pmd.util.log.AntLogHandler
 
close() - Method in class net.sourceforge.pmd.util.log.ConsoleLogHandler
Deprecated.
 
close() - Method in class net.sourceforge.pmd.util.log.ScopedLogHandlersManager
 
close(int) - Method in interface net.sourceforge.pmd.benchmark.TimedOperation
Stops tracking if not already stopped.
CODE_RECOMPILED - Static variable in class net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
Deprecated.
reason in the case of code recompilation
CODECLIMATE_BLOCK_HIGHLIGHTING - Static variable in interface net.sourceforge.pmd.renderers.CodeClimateRule
Deprecated.
Defines if the whole related block or just the first line of the issue should be highlighted at the Code Climate Platform.
CODECLIMATE_CATEGORIES - Static variable in interface net.sourceforge.pmd.renderers.CodeClimateRule
Deprecated.
Defines the code climate categories for which this rule will find violations.
CODECLIMATE_DEFAULT_CATEGORIES - Static variable in class net.sourceforge.pmd.renderers.CodeClimateRenderer
 
CODECLIMATE_REMEDIATION_MULTIPLIER - Static variable in interface net.sourceforge.pmd.renderers.CodeClimateRule
Deprecated.
Defines the remediation points for this rule.
CodeClimateIssue - Class in net.sourceforge.pmd.renderers
Structure for the Code Climate Issue spec (https://github.com/codeclimate/spec/blob/master/SPEC.md#issues)
CodeClimateIssue() - Constructor for class net.sourceforge.pmd.renderers.CodeClimateIssue
 
CodeClimateIssue.Content - Class in net.sourceforge.pmd.renderers
Content structure
CodeClimateIssue.Location - Class in net.sourceforge.pmd.renderers
Location structure
CodeClimateRenderer - Class in net.sourceforge.pmd.renderers
Renderer for Code Climate JSON format
CodeClimateRenderer() - Constructor for class net.sourceforge.pmd.renderers.CodeClimateRenderer
 
CodeClimateRule - Interface in net.sourceforge.pmd.renderers
Deprecated.
CodeClimateRule.CodeClimateCategory - Enum in net.sourceforge.pmd.renderers
Deprecated.
Represent a CodeClimate category.
CodeEditorTextPane - Class in net.sourceforge.pmd.util.designer
Deprecated.
CodeEditorTextPane() - Constructor for class net.sourceforge.pmd.util.designer.CodeEditorTextPane
Deprecated.
 
CodeLoader() - Constructor for class net.sourceforge.pmd.cpd.SourceCode.CodeLoader
 
collect(List<TokenEntry>) - Method in class net.sourceforge.pmd.cpd.MatchCollector
 
COLLECT_FILES - net.sourceforge.pmd.benchmark.TimedOperationCategory
 
collectFiles(String, FilenameFilter) - Static method in class net.sourceforge.pmd.util.FileUtil
Collects a list of DataSources using a comma separated list of input file locations to process.
CollectFiles - net.sourceforge.pmd.benchmark.Benchmark
Deprecated.
 
COLLECTION_CLASSES_BY_NAMES - Static variable in class net.sourceforge.pmd.util.CollectionUtil
 
COLLECTION_INTERFACES_BY_NAMES - Static variable in class net.sourceforge.pmd.util.CollectionUtil
 
CollectionUtil - Class in net.sourceforge.pmd.util
Generic collection and array-related utility functions for java.util types.
collectReports(List<Renderer>) - Method in class net.sourceforge.pmd.processor.AbstractPMDProcessor
 
collectReports(List<Renderer>) - Method in class net.sourceforge.pmd.processor.MonoThreadProcessor
 
collectReports(List<Renderer>) - Method in class net.sourceforge.pmd.processor.MultiThreadProcessor
 
COLOR - Static variable in class net.sourceforge.pmd.renderers.TextColorRenderer
 
column - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
column - Variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
ColumnDescriptor<T> - Class in net.sourceforge.pmd.renderers
 
ColumnDescriptor(String, String, ColumnDescriptor.Accessor<T>) - Constructor for class net.sourceforge.pmd.renderers.ColumnDescriptor
 
ColumnDescriptor.Accessor<T> - Interface in net.sourceforge.pmd.renderers
 
columnFromOffset(int, int) - Method in class net.sourceforge.pmd.lang.ast.SourceCodePositioner
 
commaSeparatedTerseNamesForLanguage(List<Language>) - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
 
commaSeparatedTerseNamesForLanguageVersion(List<LanguageVersion>) - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
 
commitSource(String, LanguageVersion) - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
Deprecated.
Commits source code to the model.
compare(Object, Object) - Method in class net.sourceforge.pmd.dcd.graph.ClassNodeComparator
 
compare(MemberNode, MemberNode) - Method in class net.sourceforge.pmd.dcd.graph.MemberNodeComparator
 
compare(RuleViolation, RuleViolation) - Method in class net.sourceforge.pmd.RuleViolationComparator
 
compareOrder(NodeInfo) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
compareOrder(NodeInfo) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
Deprecated.
 
compareOrder(NodeInfo) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
compareTo(RuleDuration) - Method in class net.sourceforge.pmd.benchmark.RuleDuration
Deprecated.
 
compareTo(Mark) - Method in class net.sourceforge.pmd.cpd.Mark
 
compareTo(Match) - Method in class net.sourceforge.pmd.cpd.Match
 
compareTo(TokenEntry) - Method in class net.sourceforge.pmd.cpd.TokenEntry
 
compareTo(ClassNode) - Method in class net.sourceforge.pmd.dcd.graph.ClassNode
 
compareTo(ConstructorNode) - Method in class net.sourceforge.pmd.dcd.graph.ConstructorNode
 
compareTo(FieldNode) - Method in class net.sourceforge.pmd.dcd.graph.FieldNode
 
compareTo(MethodNode) - Method in class net.sourceforge.pmd.dcd.graph.MethodNode
 
compareTo(Language) - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
compareTo(LanguageVersion) - Method in class net.sourceforge.pmd.lang.LanguageVersion
 
compareTo(PropertyDescriptor<?>) - Method in interface net.sourceforge.pmd.properties.PropertyDescriptor
Deprecated.
Comparing property descriptors is not useful within PMD
compareTo(DataPoint) - Method in class net.sourceforge.pmd.stat.DataPoint
Deprecated.
Compares this data point with the given datapoint.
COMPATIBILITY - net.sourceforge.pmd.renderers.CodeClimateRule.CodeClimateCategory
Deprecated.
 
COMPILE_ACTION - Static variable in class net.sourceforge.pmd.util.viewer.gui.ActionCommands
Deprecated.
 
COMPLEXITY - net.sourceforge.pmd.renderers.CodeClimateRule.CodeClimateCategory
Deprecated.
 
CompoundIterator<T> - Class in net.sourceforge.pmd.util
Creates a single compound Iterator from an array of Iterators.
CompoundIterator(Iterator<T>...) - Constructor for class net.sourceforge.pmd.util.CompoundIterator
 
computeAllMetricsFor(Node) - Method in class net.sourceforge.pmd.lang.metrics.internal.AbstractLanguageMetricsProvider
 
computeAllMetricsFor(Node) - Method in interface net.sourceforge.pmd.lang.metrics.LanguageMetricsProvider
Computes all metrics available on the given node.
computeFor(N, MetricOptions) - Method in interface net.sourceforge.pmd.lang.metrics.Metric
Actually computes the value of a metric for an AST node.
computeForOperation(MetricKey<O>, O, boolean, MetricOptions, MetricMemoizer<O>) - Method in class net.sourceforge.pmd.lang.metrics.AbstractMetricsComputer
 
computeForOperation(MetricKey<O>, O, boolean, MetricOptions, MetricMemoizer<O>) - Method in interface net.sourceforge.pmd.lang.metrics.MetricsComputer
Computes the value of a metric for an operation and stores the result in the OperationStats object.
computeForOperation(MetricKey<O>, O, MetricOptions) - Method in class net.sourceforge.pmd.lang.metrics.AbstractMetricsFacade
Computes a metric identified by its key on a operation AST node.
computeForOperation(MetricKey<O>, O, MetricOptions) - Method in class net.sourceforge.pmd.lang.metrics.internal.AbstractLanguageMetricsProvider
 
computeForOperation(MetricKey<O>, O, MetricOptions) - Method in interface net.sourceforge.pmd.lang.metrics.LanguageMetricsProvider
computeForType(MetricKey<T>, T, boolean, MetricOptions, MetricMemoizer<T>) - Method in class net.sourceforge.pmd.lang.metrics.AbstractMetricsComputer
 
computeForType(MetricKey<T>, T, boolean, MetricOptions, MetricMemoizer<T>) - Method in interface net.sourceforge.pmd.lang.metrics.MetricsComputer
Computes the value of a metric for a class and stores the result in the ClassStats object.
computeForType(MetricKey<T>, T, MetricOptions) - Method in class net.sourceforge.pmd.lang.metrics.AbstractMetricsFacade
Computes a metric identified by its code on a class AST node, possibly selecting a variant with the MetricOptions parameter.
computeForType(MetricKey<T>, T, MetricOptions) - Method in class net.sourceforge.pmd.lang.metrics.internal.AbstractLanguageMetricsProvider
 
computeForType(MetricKey<T>, T, MetricOptions) - Method in interface net.sourceforge.pmd.lang.metrics.LanguageMetricsProvider
computePaths() - Method in class net.sourceforge.pmd.lang.dfa.Linker
Creates all the links between the data flow nodes.
computeWithResultOption(MetricKey<O>, T, boolean, MetricOptions, ResultOption, ProjectMemoizer<T, O>) - Method in class net.sourceforge.pmd.lang.metrics.AbstractMetricsComputer
 
computeWithResultOption(MetricKey<O>, T, boolean, MetricOptions, ResultOption, ProjectMemoizer<T, O>) - Method in interface net.sourceforge.pmd.lang.metrics.MetricsComputer
Computes an aggregate result using a ResultOption.
computeWithResultOption(MetricKey<O>, T, MetricOptions, ResultOption) - Method in class net.sourceforge.pmd.lang.metrics.AbstractMetricsFacade
Compute the sum, average, or highest value of the operation metric on all operations of the class node.
computeWithResultOption(MetricKey<O>, T, MetricOptions, ResultOption) - Method in class net.sourceforge.pmd.lang.metrics.internal.AbstractLanguageMetricsProvider
 
computeWithResultOption(MetricKey<O>, T, MetricOptions, ResultOption) - Method in interface net.sourceforge.pmd.lang.metrics.LanguageMetricsProvider
configErrors - Variable in class net.sourceforge.pmd.renderers.AbstractIncrementingRenderer
Accumulated configuration errors.
configErrors() - Method in class net.sourceforge.pmd.Report
Returns an iterator of the reported configuration errors.
configuration - Variable in class net.sourceforge.pmd.PMD
Contains the configuration with which this PMD instance has been created.
configuration - Variable in class net.sourceforge.pmd.processor.AbstractPMDProcessor
 
ConfigurationError(Rule, String) - Constructor for class net.sourceforge.pmd.Report.ConfigurationError
Creates a new configuration error for a specific rule.
connection - Variable in class net.sourceforge.pmd.util.database.DBMSMetadata
Connection management
ConsoleLogHandler - Class in net.sourceforge.pmd.util.log
Deprecated.
This class will be complety removed in 7.0.0
ConsoleLogHandler() - Constructor for class net.sourceforge.pmd.util.log.ConsoleLogHandler
Deprecated.
 
ConstructorNode - Class in net.sourceforge.pmd.dcd.graph
Represents a Class Constructor in a UsageGraph.
ConstructorNode(ClassNode, String, String) - Constructor for class net.sourceforge.pmd.dcd.graph.ConstructorNode
 
constructPredicate(Attribute) - Static method in class net.sourceforge.pmd.util.viewer.model.AttributeToolkit
Deprecated.
constructs a predicate from the given attribute
contains(Class<?>) - Method in class net.sourceforge.pmd.util.TypeMap
Returns whether the type is known to the receiver.
contains(String) - Method in class net.sourceforge.pmd.util.TypeMap
Returns whether the typeName is known to the receiver.
contains(MetricOption) - Method in class net.sourceforge.pmd.lang.metrics.MetricOptions
Returns true if this bundle contains the given option.
contains(NameOccurrence) - Method in class net.sourceforge.pmd.lang.symboltable.AbstractScope
 
contains(NameOccurrence) - Method in interface net.sourceforge.pmd.lang.symboltable.Scope
Tests whether or not a NameOccurrence is directly contained in the scope.
content - Variable in class net.sourceforge.pmd.renderers.CodeClimateIssue
 
Content(String) - Constructor for class net.sourceforge.pmd.renderers.CodeClimateIssue.Content
Strip out all newlines from the body
CONTINUE_STATEMENT - net.sourceforge.pmd.lang.dfa.NodeType
 
convert(String) - Method in class net.sourceforge.pmd.cli.PMDParameters.PropertyConverter
 
convert(String) - Method in class net.sourceforge.pmd.cli.PMDParameters.RulePriorityConverter
Deprecated.
 
convert(String) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration.LanguageConverter
 
copy(Receiver, int, boolean, int) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
copyPropertyDescriptors() - Method in class net.sourceforge.pmd.properties.AbstractPropertySource
copyPropertyValues() - Method in class net.sourceforge.pmd.properties.AbstractPropertySource
count(Iterator<?>) - Static method in class net.sourceforge.pmd.internal.util.IteratorUtil
Counts the items in this iterator, exhausting it.
covers(T) - Method in interface net.sourceforge.pmd.lang.metrics.SigMask
Returns true if the parameter is covered by this mask.
CPD - Class in net.sourceforge.pmd.cpd
 
CPD(CPDConfiguration) - Constructor for class net.sourceforge.pmd.cpd.CPD
 
CPDCommandLineInterface - Class in net.sourceforge.pmd.cpd
 
CPDConfiguration - Class in net.sourceforge.pmd.cpd
 
CPDConfiguration() - Constructor for class net.sourceforge.pmd.cpd.CPDConfiguration
 
CPDConfiguration.LanguageConverter - Class in net.sourceforge.pmd.cpd
 
CPDListener - Interface in net.sourceforge.pmd.cpd
 
CPDNullListener - Class in net.sourceforge.pmd.cpd
 
CPDNullListener() - Constructor for class net.sourceforge.pmd.cpd.CPDNullListener
 
CPDRenderer - Interface in net.sourceforge.pmd.cpd.renderer
 
CPDTask - Class in net.sourceforge.pmd.cpd
CPDTask
CPDTask() - Constructor for class net.sourceforge.pmd.cpd.CPDTask
 
CPDTask.FormatAttribute - Class in net.sourceforge.pmd.cpd
 
createAuxClasspath() - Method in class net.sourceforge.pmd.ant.PMDTask
 
createClasspath() - Method in class net.sourceforge.pmd.ant.PMDTask
 
createDataFlowNode(List<DataFlowNode>, Node) - Method in interface net.sourceforge.pmd.lang.DataFlowHandler
Deprecated.
 
createEndNode(int) - Method in class net.sourceforge.pmd.lang.dfa.Structure
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.BooleanMultiProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.BooleanProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.CharacterMultiProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.CharacterProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.DoubleMultiProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.DoubleProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.EnumeratedMultiProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.EnumeratedProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.FileProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.FloatMultiProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.FloatProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.IntegerMultiProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.IntegerProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.LongMultiProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.LongProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.MethodMultiProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.MethodProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.RegexProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.StringMultiProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.StringProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.TypeMultiProperty
Deprecated.
 
createFrom(String) - Method in class net.sourceforge.pmd.properties.TypeProperty
Deprecated.
 
createLanguage(String) - Static method in class net.sourceforge.pmd.cpd.LanguageFactory
 
createLanguage(String, Properties) - Static method in class net.sourceforge.pmd.cpd.LanguageFactory
 
createNewNode(Node) - Method in class net.sourceforge.pmd.lang.dfa.Structure
This class encapsulates the access to the DataFlowNode class.
createNewRuleSet(String, String, String, Collection<String>, Collection<String>, Collection<Rule>) - Method in class net.sourceforge.pmd.RuleSetFactory
Creates a new ruleset with the given metadata such as name, description, fileName, exclude/include patterns are used.
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.
createRenderer(String, Properties) - Static method in class net.sourceforge.pmd.renderers.RendererFactory
Construct an instance of a Renderer based on report format name.
createReport(RuleContext, String) - Static method in class net.sourceforge.pmd.Report
Creates a new, initialized, empty report for the given file name.
createRuleSet(String) - Method in class net.sourceforge.pmd.RuleSetFactory
Create a RuleSet from a RuleSet reference ID string.
createRuleSet(RuleSetReferenceId) - Method in class net.sourceforge.pmd.RuleSetFactory
Create a RuleSet from a RuleSetReferenceId.
createRuleSetCopy(RuleSet) - Method in class net.sourceforge.pmd.RuleSetFactory
Creates a copy of the given ruleset.
createRuleSets(String) - Method in class net.sourceforge.pmd.RuleSetFactory
Create a RuleSets from a comma separated list of RuleSet reference IDs.
createRuleSets(List<RuleSetReferenceId>) - Method in class net.sourceforge.pmd.RuleSetFactory
Create a RuleSets from a list of RuleSetReferenceIds.
createRuleSets(RuleSetFactory, Report) - Method in class net.sourceforge.pmd.processor.AbstractPMDProcessor
Create instances for each rule defined in the ruleset(s) in the configuration.
createRuleViolation(Rule, RuleContext, Node, String) - Method in class net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
 
createRuleViolation(Rule, RuleContext, Node, String, int, int) - Method in class net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
 
createSingleRuleRuleSet(Rule) - Method in class net.sourceforge.pmd.RuleSetFactory
Creates a new RuleSet containing a single rule.
createStartNode(int) - Method in class net.sourceforge.pmd.lang.dfa.Structure
 
createTokenManager(Reader) - Method in class net.sourceforge.pmd.lang.AbstractParser
 
createUnsupportedOperationException(String) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
Used to create a customized instance of UnsupportedOperationException.
createWriter() - Static method in class net.sourceforge.pmd.util.IOUtil
 
createWriter(String) - Static method in class net.sourceforge.pmd.util.IOUtil
 
CreateXMLRulePanel - Class in net.sourceforge.pmd.util.designer
Deprecated.
CreateXMLRulePanel(JTextArea, CodeEditorTextPane) - Constructor for class net.sourceforge.pmd.util.designer.CreateXMLRulePanel
Deprecated.
 
CSVRenderer - Class in net.sourceforge.pmd.cpd
 
CSVRenderer - Class in net.sourceforge.pmd.renderers
Renderer the results to a comma-delimited text format.
CSVRenderer() - Constructor for class net.sourceforge.pmd.cpd.CSVRenderer
 
CSVRenderer() - Constructor for class net.sourceforge.pmd.renderers.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
 
CSVRenderer(ColumnDescriptor<RuleViolation>[], String, String) - Constructor for class net.sourceforge.pmd.renderers.CSVRenderer
 
CSVWithLinecountPerFileRenderer - Class in net.sourceforge.pmd.cpd
 
CSVWithLinecountPerFileRenderer() - Constructor for class net.sourceforge.pmd.cpd.CSVWithLinecountPerFileRenderer
 
CSVWriter<T> - Class in net.sourceforge.pmd.renderers
A generic writer that formats input items into rows and columns per the provided column descriptors.
CSVWriter(List<ColumnDescriptor<T>>, String, String) - Constructor for class net.sourceforge.pmd.renderers.CSVWriter
 
currentChild - Variable in class net.sourceforge.pmd.lang.dfa.pathfinder.PathElement
 
CurrentPath - Class in net.sourceforge.pmd.lang.dfa.pathfinder
 
CurrentPath() - Constructor for class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 

D

DAAPathFinder - Class in net.sourceforge.pmd.lang.dfa.pathfinder
Finds all paths of a data flow.
DAAPathFinder(DataFlowNode, Executable) - Constructor for class net.sourceforge.pmd.lang.dfa.pathfinder.DAAPathFinder
 
DAAPathFinder(DataFlowNode, Executable, int) - Constructor for class net.sourceforge.pmd.lang.dfa.pathfinder.DAAPathFinder
 
DAAPathFinder(DataFlowNode, Executable, int, int) - Constructor for class net.sourceforge.pmd.lang.dfa.pathfinder.DAAPathFinder
 
dataFlow - Variable in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
DataFlowHandler - Interface in net.sourceforge.pmd.lang
Deprecated.
This is internal API
DataFlowNode - Interface in net.sourceforge.pmd.lang.dfa
 
DataPoint - Class in net.sourceforge.pmd.stat
Deprecated.
DataPoint() - Constructor for class net.sourceforge.pmd.stat.DataPoint
Deprecated.
Constructor for DataPoint.
DataSource - Interface in net.sourceforge.pmd.util.datasource
Represents a source file to be analyzed.
DateTimeUtil - Class in net.sourceforge.pmd.util
 
DBMSMetadata - Class in net.sourceforge.pmd.util.database
Wrap JDBC connection for use by PMD: DBURI parameters specify the source code to be passed to PMD.
DBMSMetadata(String, String, DBURI) - Constructor for class net.sourceforge.pmd.util.database.DBMSMetadata
Define database connection and source code to retrieve with explicit database username and password.
DBMSMetadata(Connection) - Constructor for class net.sourceforge.pmd.util.database.DBMSMetadata
Minimal constructor
DBMSMetadata(Properties, DBURI) - Constructor for class net.sourceforge.pmd.util.database.DBMSMetadata
Define database connection and source code to retrieve with database properties.
DBMSMetadata(DBURI) - Constructor for class net.sourceforge.pmd.util.database.DBMSMetadata
Define database connection and source code to retrieve.
DBType - Class in net.sourceforge.pmd.util.database
Encapsulate the settings needed to access database source code.
DBType(String) - Constructor for class net.sourceforge.pmd.util.database.DBType
 
DBType(String, String) - Constructor for class net.sourceforge.pmd.util.database.DBType
Load the most specific dbType for the protocol
DBType.Property - Enum in net.sourceforge.pmd.util.database
The names of the properties
dburi - Variable in class net.sourceforge.pmd.util.database.DBMSMetadata
DBURI
DBURI - Class in net.sourceforge.pmd.util.database
Provide a single parameter to specify database objects to process.
DBURI(String) - Constructor for class net.sourceforge.pmd.util.database.DBURI
Create DBURI from a string, combining a JDBC URL and query parameters.
DBURI(String, String, String, int, String, String, String) - Constructor for class net.sourceforge.pmd.util.database.DBURI
Create a DBURI from standard individual URI components.
DCD - Class in net.sourceforge.pmd.dcd
The Dead Code Detector is used to find dead code.
decorateRule(Rule, RuleSetReference, Element) - Method in class net.sourceforge.pmd.rules.RuleFactory
Decorates a referenced rule with the metadata that are overridden in the given rule element.
deepCopy() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
deepCopy() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
deepCopy() - Method in interface net.sourceforge.pmd.Rule
Creates a new copy of this rule.
deepCopyValuesTo(AbstractRule) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
Deprecated.
Use AbstractRule.deepCopy() to create verbatim copies of rules.
DEFAULT_DELIMITER - Static variable in interface net.sourceforge.pmd.properties.MultiValuePropertyDescriptor
Deprecated.
DEFAULT_INDEX - net.sourceforge.pmd.properties.PropertyDescriptorField
Deprecated.
Default index for enumerated properties.
DEFAULT_LANGUAGE - Static variable in class net.sourceforge.pmd.cpd.CPDConfiguration
 
DEFAULT_LINECOUNTPERFILE - Static variable in class net.sourceforge.pmd.cpd.CSVRenderer
 
DEFAULT_NAME - Static variable in class net.sourceforge.pmd.cpd.SourceCode.ReaderCodeLoader
 
DEFAULT_NAME - Static variable in class net.sourceforge.pmd.cpd.SourceCode.StringCodeLoader
 
DEFAULT_NUMERIC_DELIMITER - Static variable in interface net.sourceforge.pmd.properties.MultiValuePropertyDescriptor
Deprecated.
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_SKIP_BLOCKS_PATTERN - Static variable in interface net.sourceforge.pmd.cpd.Tokenizer
 
DEFAULT_VALUE - net.sourceforge.pmd.properties.PropertyDescriptorField
Deprecated.
The default value.
DefaultASTXPathHandler - Class in net.sourceforge.pmd.lang.ast.xpath
Deprecated.
DefaultASTXPathHandler() - Constructor for class net.sourceforge.pmd.lang.ast.xpath.DefaultASTXPathHandler
Deprecated.
 
defaultFileExtension() - Method in class net.sourceforge.pmd.renderers.CodeClimateRenderer
 
defaultFileExtension() - Method in class net.sourceforge.pmd.renderers.CSVRenderer
 
defaultFileExtension() - Method in class net.sourceforge.pmd.renderers.EmacsRenderer
 
defaultFileExtension() - Method in class net.sourceforge.pmd.renderers.EmptyRenderer
 
defaultFileExtension() - Method in class net.sourceforge.pmd.renderers.HTMLRenderer
 
defaultFileExtension() - Method in class net.sourceforge.pmd.renderers.IDEAJRenderer
 
defaultFileExtension() - Method in interface net.sourceforge.pmd.renderers.Renderer
Return the default filename extension to use.
defaultFileExtension() - Method in class net.sourceforge.pmd.renderers.SummaryHTMLRenderer
 
defaultFileExtension() - Method in class net.sourceforge.pmd.renderers.TextColorRenderer
 
defaultFileExtension() - Method in class net.sourceforge.pmd.renderers.TextPadRenderer
 
defaultFileExtension() - Method in class net.sourceforge.pmd.renderers.TextRenderer
 
defaultFileExtension() - Method in class net.sourceforge.pmd.renderers.VBHTMLRenderer
 
defaultFileExtension() - Method in class net.sourceforge.pmd.renderers.XMLRenderer
 
defaultFileExtension() - Method in class net.sourceforge.pmd.renderers.XSLTRenderer
 
defaultFileExtension() - Method in class net.sourceforge.pmd.renderers.YAHTMLRenderer
 
defaultValue - Variable in class net.sourceforge.pmd.properties.builders.SingleValuePropertyBuilder
Deprecated.
 
defaultValue() - Method in interface net.sourceforge.pmd.properties.PropertyDescriptor
Default value to use when the user hasn't specified one or when they wish to revert to a known-good state.
defaultValue(E) - Method in class net.sourceforge.pmd.properties.builders.SingleValuePropertyBuilder
Deprecated.
Specify a default value.
defaultValue(String) - Method in class net.sourceforge.pmd.properties.PropertyBuilder.RegexPropertyBuilder
Specify a default value using a string pattern.
defaultValue(String) - Method in class net.sourceforge.pmd.properties.RegexProperty.RegexPBuilder
Deprecated.
Specify a default pattern for the property.
defaultValue(String, int) - Method in class net.sourceforge.pmd.properties.PropertyBuilder.RegexPropertyBuilder
Specify a default value using a string pattern.
defaultValue(Collection<? extends V>) - Method in class net.sourceforge.pmd.properties.PropertyBuilder.GenericCollectionPropertyBuilder
Specify a default value.
defaultValue(T) - Method in class net.sourceforge.pmd.properties.PropertyBuilder
Specify a default value.
defaultValues - Variable in class net.sourceforge.pmd.properties.builders.MultiValuePropertyBuilder
Deprecated.
 
defaultValues(Collection<? extends V>) - Method in class net.sourceforge.pmd.properties.builders.MultiValuePropertyBuilder
Deprecated.
Specify a default value.
defaultValues(V...) - Method in class net.sourceforge.pmd.properties.builders.MultiValuePropertyBuilder
Deprecated.
Specify default values.
defaultValues(V, V...) - Method in class net.sourceforge.pmd.properties.PropertyBuilder.GenericCollectionPropertyBuilder
Specify default values.
defaultVersion - Variable in class net.sourceforge.pmd.lang.BaseLanguageModule
 
defineClass(String) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraph
 
defineConstructor(String, String) - Method in class net.sourceforge.pmd.dcd.graph.ClassNode
 
defineConstructor(String, String, String) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraph
 
defineField(String, String) - Method in class net.sourceforge.pmd.dcd.graph.ClassNode
 
defineField(String, String, String) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraph
 
defineMethod(String, String) - Method in class net.sourceforge.pmd.dcd.graph.ClassNode
 
defineMethod(String, String, String) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraph
 
defineProperty(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.rules.RuleBuilder
 
definePropertyDescriptor(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
definePropertyDescriptor(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
definePropertyDescriptor(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.properties.AbstractPropertySource
 
definePropertyDescriptor(PropertyDescriptor<?>) - Method in interface net.sourceforge.pmd.properties.PropertySource
Defines a new property.
DEFINITION - Static variable in class net.sourceforge.pmd.lang.dfa.VariableAccess
 
delete(RegionByLine) - Method in interface net.sourceforge.pmd.document.Document
Delete a region in the document, removing all text which contains it.
delete(RegionByLine) - Method in class net.sourceforge.pmd.document.DocumentFile
 
DeleteDocumentOperation - Class in net.sourceforge.pmd.document
 
DeleteDocumentOperation(int, int, int, int) - Constructor for class net.sourceforge.pmd.document.DeleteDocumentOperation
 
delim(char) - Method in class net.sourceforge.pmd.properties.builders.MultiValuePropertyBuilder
Deprecated.
Specify a delimiter character.
delim(char) - Method in class net.sourceforge.pmd.properties.PropertyBuilder.GenericCollectionPropertyBuilder
Deprecated.
PMD 7.0.0 will introduce a new XML syntax for multi-valued properties which will not rely on delimiters. This method is kept until this is implemented for compatibility reasons with the pre-7.0.0 framework, but it will be scrapped come 7.0.0.
DELIMITER - net.sourceforge.pmd.properties.PropertyDescriptorField
Deprecated.
For multi-valued properties, this defines the delimiter of the single values.
DELTA - Static variable in class net.sourceforge.pmd.lang.rule.stat.StatisticalRuleHelper
Deprecated.
 
desc - Variable in class net.sourceforge.pmd.dcd.graph.MemberNode
 
desc(String) - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilder
Deprecated.
Specify the description of the property.
desc(String) - Method in class net.sourceforge.pmd.properties.PropertyBuilder
Specify the description of the property.
description - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
description - Variable in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilder
Deprecated.
 
description - Variable in class net.sourceforge.pmd.renderers.AbstractRenderer
 
description - Variable in class net.sourceforge.pmd.renderers.CodeClimateIssue
 
description() - Method in interface net.sourceforge.pmd.properties.PropertyDescriptor
Describes the property and the role it plays within the rule it is specified for.
description(String) - Method in class net.sourceforge.pmd.rules.RuleBuilder
 
DESCRIPTION - net.sourceforge.pmd.properties.PropertyDescriptorField
Deprecated.
The description of the property.
Designer - Class in net.sourceforge.pmd.util.designer
Deprecated.
Designer(String[]) - Constructor for class net.sourceforge.pmd.util.designer.Designer
Deprecated.
 
DFA - net.sourceforge.pmd.benchmark.Benchmark
Deprecated.
 
DFA - net.sourceforge.pmd.benchmark.TimedOperationCategory
 
DFACanvas() - Constructor for class net.sourceforge.pmd.util.designer.DFAPanel.DFACanvas
Deprecated.
 
DFAGraphMethod - Interface in net.sourceforge.pmd.lang.dfa
 
DFAGraphRule - Interface in net.sourceforge.pmd.lang.dfa
 
DFAPanel - Class in net.sourceforge.pmd.util.designer
Deprecated.
DFAPanel() - Constructor for class net.sourceforge.pmd.util.designer.DFAPanel
Deprecated.
 
DFAPanel.DFACanvas - Class in net.sourceforge.pmd.util.designer
Deprecated.
 
DirectoryFilter - Class in net.sourceforge.pmd.util.filter
Directory filter.
displayName() - Method in enum net.sourceforge.pmd.benchmark.TimedOperationCategory
 
DO_BEFORE_FIRST_STATEMENT - net.sourceforge.pmd.lang.dfa.NodeType
 
DO_EXPR - net.sourceforge.pmd.lang.dfa.NodeType
 
document - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
Document - Interface in net.sourceforge.pmd.document
Represents a file which contains programming code that will be fixed.
DocumentFile - Class in net.sourceforge.pmd.document
Implementation that handles a Document as a file in the filesystem and receives operations in a sorted manner (i.e.
DocumentFile(File, Charset) - Constructor for class net.sourceforge.pmd.document.DocumentFile
 
DocumentNavigator - Class in net.sourceforge.pmd.lang.ast.xpath
Deprecated.
DocumentNavigator() - Constructor for class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
DocumentNode - Class in net.sourceforge.pmd.lang.ast.xpath.saxon
Deprecated.
DocumentNode(Node) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
Deprecated.
Construct a DocumentNode, with the given AST Node serving as the root ElementNode.
DocumentOperation - Class in net.sourceforge.pmd.document
Represents an operation in a document which will be managed by DocumentOperationsApplierForNonOverlappingRegions.
DocumentOperation(int, int, int, int) - Constructor for class net.sourceforge.pmd.document.DocumentOperation
 
DocumentOperationsApplierForNonOverlappingRegions - Class in net.sourceforge.pmd.document
 
DocumentOperationsApplierForNonOverlappingRegions(Document) - Constructor for class net.sourceforge.pmd.document.DocumentOperationsApplierForNonOverlappingRegions
 
Done() - Method in interface net.sourceforge.pmd.lang.ast.CharStream
The lexer calls this function to indicate that it is done with the stream and hence implementations can free any resources held by this class.
Done() - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Set buffers back to null when finished.
Done() - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Reset buffer when finished.
DONE - Static variable in interface net.sourceforge.pmd.cpd.CPDListener
 
doPMD(PMDConfiguration) - Static method in class net.sourceforge.pmd.PMD
This method is the main entry point for command line usage.
DOUBLE - net.sourceforge.pmd.properties.PropertyTypeId
 
DOUBLE_LIST - net.sourceforge.pmd.properties.PropertyTypeId
 
doubleListProperty(String) - Static method in class net.sourceforge.pmd.properties.PropertyFactory
Returns a builder for a property having as value a list of decimal numbers.
DoubleMultiProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Use a PropertyDescriptor<List<Double>> instead. A builder is available from PropertyFactory.doubleListProperty(String). This class will be removed in 7.0.0.
DoubleMultiProperty(String, String, Double, Double, Double[], float) - Constructor for class net.sourceforge.pmd.properties.DoubleMultiProperty
DoubleMultiProperty(String, String, Double, Double, List<Double>, float) - Constructor for class net.sourceforge.pmd.properties.DoubleMultiProperty
DoubleMultiProperty.DoubleMultiPBuilder - Class in net.sourceforge.pmd.properties
doubleProperty(String) - Static method in class net.sourceforge.pmd.properties.PropertyFactory
Returns a builder for a double property.
DoubleProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Use a PropertyDescriptor<Double> instead. A builder is available from PropertyFactory.doubleProperty(String). This class will be removed in 7.0.0.
DoubleProperty(String, String, Double, Double, Double, float) - Constructor for class net.sourceforge.pmd.properties.DoubleProperty
DoubleProperty(String, String, String, String, String, float) - Constructor for class net.sourceforge.pmd.properties.DoubleProperty
DoubleProperty.DoublePBuilder - Class in net.sourceforge.pmd.properties
DRIVER - net.sourceforge.pmd.util.database.DBType.Property
 
DUMMY - Static variable in interface net.sourceforge.pmd.lang.DataFlowHandler
Deprecated.
 
DUMMY - Static variable in interface net.sourceforge.pmd.lang.VisitorStarter
Deprecated.
Placeholder VisitorStarter implementation that can be used when no real implementation exists yet.
DUMMY - Static variable in interface net.sourceforge.pmd.lang.XPathHandler
Deprecated.
 
DummyMetricMemoizer<N extends Node> - Class in net.sourceforge.pmd.lang.metrics.internal
Memoizes nothing.
DummyProjectMemoizer<T extends QualifiableNode,​O extends QualifiableNode> - Class in net.sourceforge.pmd.lang.metrics.internal
Memoizes nothing.
dump() - Method in class net.sourceforge.pmd.lang.dfa.Structure
 
dump(UsageGraph, boolean) - Static method in class net.sourceforge.pmd.dcd.DCD
 
DumpNodeVisitor - Class in net.sourceforge.pmd.dcd
Dump a UsageGraph to System.out.
DumpNodeVisitor() - Constructor for class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
DUPLICATION - net.sourceforge.pmd.renderers.CodeClimateRule.CodeClimateCategory
Deprecated.
 
dysfunctionReason() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
dysfunctionReason() - Method in class net.sourceforge.pmd.lang.rule.XPathRule
 
dysfunctionReason() - Method in class net.sourceforge.pmd.properties.AbstractPropertySource
 
dysfunctionReason() - Method in interface net.sourceforge.pmd.properties.PropertySource
Returns a description of why the receiver may be dysfunctional.
dysfunctionReason() - Method in class net.sourceforge.pmd.renderers.CSVRenderer
We can't show any violations if we don't have any visible columns.

E

ElementNode - Class in net.sourceforge.pmd.lang.ast.xpath.saxon
Deprecated.
ElementNode(DocumentNode, IdGenerator, ElementNode, Node, int) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
ELSE_LAST_STATEMENT - net.sourceforge.pmd.lang.dfa.NodeType
 
EmacsRenderer - Class in net.sourceforge.pmd.renderers
Renderer to GNU Emacs parsable format.
EmacsRenderer() - Constructor for class net.sourceforge.pmd.renderers.EmacsRenderer
 
EMPTY_CLASS_ARRAY - Static variable in class net.sourceforge.pmd.util.ClassUtil
 
emptyDefaultValue() - Method in class net.sourceforge.pmd.properties.PropertyBuilder.GenericCollectionPropertyBuilder
Specify that the default value is an empty collection.
EmptyIterator<T> - Class in net.sourceforge.pmd.util
A singleton iterator that never has anything.
emptyOptions() - Static method in class net.sourceforge.pmd.lang.metrics.MetricOptions
Returns an empty options bundle.
EmptyRenderer - Class in net.sourceforge.pmd.renderers
An empty renderer, for when you really don't want a report.
EmptyRenderer() - Constructor for class net.sourceforge.pmd.renderers.EmptyRenderer
 
ENCODING - Static variable in class net.sourceforge.pmd.renderers.XMLRenderer
 
end() - Method in class net.sourceforge.pmd.renderers.AbstractAccumulatingRenderer
Subclasses should output the AbstractAccumulatingRenderer.report.
end() - Method in class net.sourceforge.pmd.renderers.AbstractIncrementingRenderer
 
end() - Method in class net.sourceforge.pmd.renderers.EmptyRenderer
 
end() - Method in class net.sourceforge.pmd.renderers.HTMLRenderer
 
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() - Method in class net.sourceforge.pmd.renderers.SummaryHTMLRenderer
 
end() - Method in class net.sourceforge.pmd.renderers.TextColorRenderer
 
end() - Method in class net.sourceforge.pmd.renderers.TextRenderer
 
end() - Method in class net.sourceforge.pmd.renderers.VBHTMLRenderer
 
end() - Method in class net.sourceforge.pmd.renderers.XMLRenderer
 
end() - Method in class net.sourceforge.pmd.renderers.XSLTRenderer
 
end() - Method in class net.sourceforge.pmd.renderers.YAHTMLRenderer
 
end() - Method in class net.sourceforge.pmd.Report
Mark the end time of the report.
end(Report) - Method in class net.sourceforge.pmd.ant.Formatter
 
end(RuleContext) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
end(RuleContext) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
end(RuleContext) - Method in interface net.sourceforge.pmd.Rule
End processing.
end(RuleContext) - Method in class net.sourceforge.pmd.RuleSet
Triggers the end lifecycle event on each rule in the ruleset.
end(RuleContext) - Method in class net.sourceforge.pmd.RuleSets
Notify all rules of the end of processing.
endColumn - Variable in class net.sourceforge.pmd.lang.ast.AbstractNode
 
endColumn - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
endLine - Variable in class net.sourceforge.pmd.lang.ast.AbstractNode
 
endLine - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
endsWith - Variable in class net.sourceforge.pmd.util.filter.RegexStringFilter
 
EnumeratedMultiProperty<E> - Class in net.sourceforge.pmd.properties
Deprecated.
Use a PropertyDescriptor<List<E>> instead. A builder is available from PropertyFactory.enumListProperty(String, Map). This class will be removed in 7.0.0.
EnumeratedMultiProperty(String, String, String[], E[], int[], float) - Constructor for class net.sourceforge.pmd.properties.EnumeratedMultiProperty
EnumeratedMultiProperty(String, String, String[], E[], int[], Class<E>, float) - Constructor for class net.sourceforge.pmd.properties.EnumeratedMultiProperty
EnumeratedMultiProperty(String, String, Map<String, E>, List<E>, Class<E>, float) - Constructor for class net.sourceforge.pmd.properties.EnumeratedMultiProperty
EnumeratedMultiProperty.EnumMultiPBuilder<E> - Class in net.sourceforge.pmd.properties
EnumeratedProperty<E> - Class in net.sourceforge.pmd.properties
Deprecated.
Use a PropertyDescriptor<E> instead. A builder is available from PropertyFactory.enumProperty(String, Map). This class will be removed in 7.0.0.
EnumeratedProperty(String, String, String[], E[], int, float) - Constructor for class net.sourceforge.pmd.properties.EnumeratedProperty
EnumeratedProperty(String, String, String[], E[], int, Class<E>, float) - Constructor for class net.sourceforge.pmd.properties.EnumeratedProperty
EnumeratedProperty(String, String, Map<String, E>, E, Class<E>, float) - Constructor for class net.sourceforge.pmd.properties.EnumeratedProperty
EnumeratedProperty.EnumPBuilder<E> - Class in net.sourceforge.pmd.properties
EnumeratedPropertyDescriptor<E,​T> - Interface in net.sourceforge.pmd.properties
Deprecated.
Will be removed with 7.0.0. In the future this interface won't exist, but enumerated properties will still be around
EnumeratedPropertyModule<E> - Class in net.sourceforge.pmd.properties.modules
Deprecated.
EnumeratedPropertyModule(Map<String, E>, Class<E>) - Constructor for class net.sourceforge.pmd.properties.modules.EnumeratedPropertyModule
Deprecated.
 
enumListProperty(String, Map<String, T>) - Static method in class net.sourceforge.pmd.properties.PropertyFactory
Returns a builder for a property having as value a list of <T>.
enumProperty(String, Map<String, T>) - Static method in class net.sourceforge.pmd.properties.PropertyFactory
Returns a builder for an enumerated property.
EOF - Static variable in class net.sourceforge.pmd.cpd.TokenEntry
 
EOL - Static variable in class net.sourceforge.pmd.PMD
The line delimiter used by PMD in outputs.
EOL - Static variable in class net.sourceforge.pmd.renderers.EmacsRenderer
 
equals(Object) - Method in class net.sourceforge.pmd.cpd.Mark
 
equals(Object) - Method in class net.sourceforge.pmd.cpd.TokenEntry
 
equals(Object) - Method in class net.sourceforge.pmd.dcd.graph.ClassNode
 
equals(Object) - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
equals(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.Attribute
 
equals(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
This implementation considers to NodeInfo objects to be equal, if their underlying nodes are equal.
equals(Object) - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
equals(Object) - Method in class net.sourceforge.pmd.lang.metrics.AbstractMetric
Metrics should be stateless, thus any instance of the same metric class should be equal.
equals(Object) - Method in class net.sourceforge.pmd.lang.metrics.MetricOptions
 
equals(Object) - Method in class net.sourceforge.pmd.lang.metrics.ParameterizedMetricKey
 
equals(Object) - Method in class net.sourceforge.pmd.lang.ParserOptions
 
equals(Object) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
Rules are equal if: They have the same implementation class. They have the same name. They have the same priority. They share the same properties.
equals(Object) - Method in class net.sourceforge.pmd.lang.rule.ImportWrapper
 
equals(Object) - Method in class net.sourceforge.pmd.RuleSet
Two rulesets are equals, if they have the same name and contain the same rules.
equals(Object) - Method in class net.sourceforge.pmd.util.database.DBType
 
equals(Object) - Method in class net.sourceforge.pmd.util.datasource.FileDataSource
 
equals(Object) - Method in class net.sourceforge.pmd.util.datasource.ZipDataSource
 
equals(String, String) - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
equals(S) - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
Deprecated.
equalsNode(AbstractReportNode) - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Deprecated.
Should compare to nodes of the tree.
equalsNode(AbstractReportNode) - Method in class net.sourceforge.pmd.lang.dfa.report.ClassNode
Deprecated.
 
equalsNode(AbstractReportNode) - Method in class net.sourceforge.pmd.lang.dfa.report.PackageNode
Deprecated.
 
equalsNode(AbstractReportNode) - Method in class net.sourceforge.pmd.lang.dfa.report.ViolationNode
Deprecated.
 
ERROR_STATUS - Static variable in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
errorFor(E) - Method in class net.sourceforge.pmd.properties.EnumeratedProperty
Deprecated.
 
errorFor(E) - Method in class net.sourceforge.pmd.properties.modules.EnumeratedPropertyModule
Deprecated.
 
errorFor(List<E>) - Method in class net.sourceforge.pmd.properties.EnumeratedMultiProperty
Deprecated.
 
errorFor(T) - Method in interface net.sourceforge.pmd.properties.PropertyDescriptor
Deprecated.
PMD 7.0.0 will change the return type to Optional<String>
errors - Variable in class net.sourceforge.pmd.renderers.AbstractIncrementingRenderer
Accumulated processing errors.
errors() - Method in class net.sourceforge.pmd.Report
Returns an iterator of the reported processing errors.
escapeWhitespace(Object) - Static method in class net.sourceforge.pmd.util.StringUtil
Replace some whitespace characters so they are visually apparent.
evaluate(Node, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.xpath.AbstractXPathRuleQuery
 
evaluate(Node, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.xpath.JaxenXPathRuleQuery
 
evaluate(Node, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.xpath.SaxonXPathRuleQuery
 
evaluate(Node, RuleContext) - Method in interface net.sourceforge.pmd.lang.rule.xpath.XPathRuleQuery
Evaluate the XPath query against the given Node.
evaluate(Node, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.XPathRule
Evaluate the XPath query with the AST node.
EVALUATE_ACTION - Static variable in class net.sourceforge.pmd.util.viewer.gui.ActionCommands
Deprecated.
 
evaluateXPathExpression(String, Object) - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
Deprecated.
Evaluates the given XPath expression against the current tree.
EvaluationResultsPanel - Class in net.sourceforge.pmd.util.viewer.gui
Deprecated.
EvaluationResultsPanel(ViewerModel) - Constructor for class net.sourceforge.pmd.util.viewer.gui.EvaluationResultsPanel
Deprecated.
constructs the panel
Executable - Interface in net.sourceforge.pmd.lang.dfa.pathfinder
Will be executed if PathFinder finds a path.
execute() - Method in class net.sourceforge.pmd.ant.internal.PMDTaskImpl
 
execute() - Method in class net.sourceforge.pmd.ant.PMDTask
 
execute() - Method in class net.sourceforge.pmd.cpd.CPDTask
 
execute(CurrentPath) - Method in interface net.sourceforge.pmd.lang.dfa.pathfinder.Executable
 
executionClassPathChecksum - Variable in class net.sourceforge.pmd.cache.AbstractAnalysisCache
 
ExpandBuff(boolean) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
ExpandBuff(boolean) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
expandVariables(String) - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
Experimental - Annotation Type in net.sourceforge.pmd.annotation
Indicates the feature is in experimental state: its existence, signature or behavior might change without warning from one release to the next.
EXTENSION - Static variable in class net.sourceforge.pmd.cpd.LanguageFactory
 
extensions - Variable in class net.sourceforge.pmd.lang.BaseLanguageModule
 
extensions - Variable in class net.sourceforge.pmd.util.filter.FileExtensionFilter
 
externalInfoUrl(String) - Method in class net.sourceforge.pmd.rules.RuleBuilder
 
extractor() - Static method in class net.sourceforge.pmd.properties.TypeMultiProperty
Deprecated.
 
extractParameters(PMDParameters, String[], String) - Static method in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 

F

factoryFor(String) - Static method in enum net.sourceforge.pmd.properties.PropertyTypeId
FieldNode - Class in net.sourceforge.pmd.dcd.graph
Represents a Class Field in a UsageGraph.
FieldNode(ClassNode, String, String) - Constructor for class net.sourceforge.pmd.dcd.graph.FieldNode
 
FILE_NAME - Static variable in class net.sourceforge.pmd.renderers.IDEAJRenderer
 
FILE_PROCESSING - net.sourceforge.pmd.benchmark.TimedOperationCategory
 
FileAnalysisCache - Class in net.sourceforge.pmd.cache
An analysis cache backed by a regular file.
FileAnalysisCache(File) - Constructor for class net.sourceforge.pmd.cache.FileAnalysisCache
Creates a new cache backed by the given file, and attempts to load pre-existing data from it.
FileCodeLoader(File, String) - Constructor for class net.sourceforge.pmd.cpd.SourceCode.FileCodeLoader
 
FileDataSource - Class in net.sourceforge.pmd.util.datasource
DataSource implementation to read data from a file.
FileDataSource(File) - Constructor for class net.sourceforge.pmd.util.datasource.FileDataSource
 
FileExtensionFilter - Class in net.sourceforge.pmd.util.filter
 
FileExtensionFilter(boolean, String...) - Constructor for class net.sourceforge.pmd.util.filter.FileExtensionFilter
Matches any files with the given extensions, optionally ignoring case.
FileExtensionFilter(String...) - Constructor for class net.sourceforge.pmd.util.filter.FileExtensionFilter
Matches any files with the given extensions, ignoring case
FileFinder - Class in net.sourceforge.pmd.util
A utility class for finding files within a directory.
FileFinder() - Constructor for class net.sourceforge.pmd.util.FileFinder
 
FileIterable - Class in net.sourceforge.pmd.util
Handy class to easily iterate over a file, line by line, using a Java 5 for loop.
FileIterable(File) - Constructor for class net.sourceforge.pmd.util.FileIterable
 
filename - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
filenameFilter() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
filenameFrom(DataSource) - Method in class net.sourceforge.pmd.processor.AbstractPMDProcessor
 
FileProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Will be removed with 7.0.0 with no scheduled replacement
FileProperty(String, String, File, float) - Constructor for class net.sourceforge.pmd.properties.FileProperty
Deprecated.
Constructor for file property.
FileProperty.FilePBuilder - Class in net.sourceforge.pmd.properties
Deprecated.
 
FileReporter - Class in net.sourceforge.pmd.cpd
Deprecated.
CPDRenderer directly renders to a Writer
FileReporter(File) - Constructor for class net.sourceforge.pmd.cpd.FileReporter
Deprecated.
 
FileReporter(File, String) - Constructor for class net.sourceforge.pmd.cpd.FileReporter
Deprecated.
 
FileReporter(String) - Constructor for class net.sourceforge.pmd.cpd.FileReporter
Deprecated.
 
fileResultsCache - Variable in class net.sourceforge.pmd.cache.AbstractAnalysisCache
 
FileUtil - Class in net.sourceforge.pmd.util
This is a utility class for working with Files.
FillBuff() - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
FillBuff() - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
filter - Variable in class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
 
filter(File) - Method in class net.sourceforge.pmd.util.filter.DirectoryFilter
 
filter(File) - Method in class net.sourceforge.pmd.util.filter.FileExtensionFilter
 
filter(String) - Method in class net.sourceforge.pmd.util.filter.RegexStringFilter
 
filter(Filter<T>, Collection<T>) - Static method in class net.sourceforge.pmd.util.filter.Filters
Filter a given Collection.
filter(T) - Method in class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
 
filter(T) - Method in class net.sourceforge.pmd.util.filter.AndFilter
 
filter(T) - Method in interface net.sourceforge.pmd.util.filter.Filter
 
filter(T) - Method in class net.sourceforge.pmd.util.filter.NotFilter
 
filter(T) - Method in class net.sourceforge.pmd.util.filter.OrFilter
 
Filter<T> - Interface in net.sourceforge.pmd.util.filter
A Filter interface, used for filtering arbitrary objects.
filterRuleSetFile(InputStream) - Method in class net.sourceforge.pmd.RuleSetFactoryCompatibility
Applies all configured filters against the given input stream.
filters - Variable in class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
 
Filters - Class in net.sourceforge.pmd.util.filter
Utility class for working with Filters.
finalize() - Method in class net.sourceforge.pmd.util.FileIterable
 
findAllVersions() - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
 
findByExtension(String) - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
 
findChildNodesWithXPath(String) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
findChildNodesWithXPath(String) - Method in interface net.sourceforge.pmd.lang.ast.Node
Returns all the nodes matching the xpath expression.
findChildrenOfType(Class<T>) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
findChildrenOfType(Class<T>) - Method in interface net.sourceforge.pmd.lang.ast.Node
Traverses the children to find all the instances of type childType or one of its subclasses.
findDescendantsOfType(Class<T>) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
findDescendantsOfType(Class<T>) - Method in interface net.sourceforge.pmd.lang.ast.Node
Traverses down the tree to find all the descendant instances of type descendantType without crossing find boundaries.
findDescendantsOfType(Class<T>, boolean) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
findDescendantsOfType(Class<T>, List<T>, boolean) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
findDescendantsOfType(Class<T>, List<T>, boolean) - Method in interface net.sourceforge.pmd.lang.ast.Node
Traverses down the tree to find all the descendant instances of type descendantType.
findFilesFrom(File, FilenameFilter, boolean) - Method in class net.sourceforge.pmd.util.FileFinder
Searches for files in a given directory.
findLanguageByTerseName(String) - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
 
findLanguageVersionByTerseName(String) - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
 
findMatches() - Method in class net.sourceforge.pmd.cpd.MatchAlgorithm
 
findOperations(T) - Method in class net.sourceforge.pmd.lang.metrics.AbstractMetricsComputer
Finds the declaration nodes of all methods or constructors that are declared inside a class.
findPatternInFile(File, String) - Static method in class net.sourceforge.pmd.util.FileUtil
Handy method to find a certain pattern into a file.
findWithRuleSupport() - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
Deprecated.
This method will be removed with PMD 7.0.0. Use LanguageRegistry.getLanguages() instead.
finishThread() - Static method in class net.sourceforge.pmd.benchmark.TimeTracker
Finishes tracking a thread.
fireTreeModelEvent(TreeModelEvent) - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
Deprecated.
 
fireViewerModelEvent(ViewerModelEvent) - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
Deprecated.
 
firstToken - Variable in class net.sourceforge.pmd.lang.ast.AbstractNode
 
FLOAT - net.sourceforge.pmd.properties.PropertyTypeId
Deprecated.
FLOAT_LIST - net.sourceforge.pmd.properties.PropertyTypeId
Deprecated.
FLOAT_ZERO - Static variable in class net.sourceforge.pmd.util.NumericConstants
 
FloatMultiProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Use a PropertyDescriptor<List<Double>> instead. A builder is available from PropertyFactory.doubleListProperty(String). This class will be removed in 7.0.0.
FloatMultiProperty(String, String, Float, Float, Float[], float) - Constructor for class net.sourceforge.pmd.properties.FloatMultiProperty
FloatMultiProperty(String, String, Float, Float, List<Float>, float) - Constructor for class net.sourceforge.pmd.properties.FloatMultiProperty
FloatMultiProperty.FloatMultiPBuilder - Class in net.sourceforge.pmd.properties
FloatProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Use PropertyFactory.doubleProperty(String) instead. This class will be removed with 7.0.0.
FloatProperty(String, String, Float, Float, Float, float) - Constructor for class net.sourceforge.pmd.properties.FloatProperty
Deprecated.
FloatProperty(String, String, String, String, String, float) - Constructor for class net.sourceforge.pmd.properties.FloatProperty
Deprecated.
FloatProperty.FloatPBuilder - Class in net.sourceforge.pmd.properties
Deprecated.
flush() - Method in class net.sourceforge.pmd.renderers.AbstractRenderer
 
flush() - Method in interface net.sourceforge.pmd.renderers.Renderer
 
flush() - Method in class net.sourceforge.pmd.util.log.AntLogHandler
 
flush() - Method in class net.sourceforge.pmd.util.log.ConsoleLogHandler
Deprecated.
 
FOR_BEFORE_FIRST_STATEMENT - net.sourceforge.pmd.lang.dfa.NodeType
 
FOR_END - net.sourceforge.pmd.lang.dfa.NodeType
 
FOR_EXPR - net.sourceforge.pmd.lang.dfa.NodeType
 
FOR_INIT - net.sourceforge.pmd.lang.dfa.NodeType
 
FOR_UPDATE - net.sourceforge.pmd.lang.dfa.NodeType
 
format(LogRecord) - Method in class net.sourceforge.pmd.util.log.PmdLogFormatter
 
FormatAttribute() - Constructor for class net.sourceforge.pmd.cpd.CPDTask.FormatAttribute
 
Formatter - Class in net.sourceforge.pmd.ant
 
Formatter() - Constructor for class net.sourceforge.pmd.ant.Formatter
 
formatValueForXPath(Attribute) - Static method in class net.sourceforge.pmd.util.viewer.model.AttributeToolkit
Deprecated.
formats a value for its usage in XPath expressions
fromInternalForm(String) - Static method in class net.sourceforge.pmd.dcd.ClassLoaderUtil
 
fromStringFilter(Filter<String>) - Static method in class net.sourceforge.pmd.util.filter.Filters
Given a String Filter, expose as a Filter on another type.

G

generate(Map<String, BenchmarkResult>, PrintStream) - Method in interface net.sourceforge.pmd.benchmark.BenchmarkReport
Deprecated.
 
generate(Map<String, BenchmarkResult>, PrintStream) - Method in class net.sourceforge.pmd.benchmark.TextReport
Deprecated.
 
generate(Set<RuleDuration>, PrintStream) - Method in interface net.sourceforge.pmd.benchmark.BenchmarkReport
Deprecated.
 
generate(Set<RuleDuration>, PrintStream) - Method in class net.sourceforge.pmd.benchmark.TextReport
Deprecated.
 
generateId(FastStringBuffer) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
GenericToken - Interface in net.sourceforge.pmd.lang.ast
Represents a language-independent token such as constants, values language reserved keywords, or comments.
get(int, T, String) - Method in interface net.sourceforge.pmd.renderers.ColumnDescriptor.Accessor
 
GET_SOURCE_CODE_STATEMENT - net.sourceforge.pmd.util.database.DBType.Property
 
getAccessType() - Method in class net.sourceforge.pmd.lang.dfa.VariableAccess
 
getAllowsChildren() - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
Deprecated.
 
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.
getAnother() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeAxisIterator
Deprecated.
 
getAntLogLevel() - Method in class net.sourceforge.pmd.util.log.AntLogHandler
 
getApplicableFiles(PMDConfiguration, Set<Language>) - Static method in class net.sourceforge.pmd.PMD
Determines all the files, that should be analyzed by PMD.
getAsDocument() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getAsDocument() - Method in interface net.sourceforge.pmd.lang.ast.Node
Get a DOM Document which contains Elements and Attributes representative of this Node and it's children.
getAtomicRepresentation(Object) - Static method in class net.sourceforge.pmd.lang.rule.xpath.SaxonXPathRuleQuery
Gets the Saxon representation of the parameter, if its type corresponds to an XPath 2.0 atomic datatype.
getAttribute(String) - Method in class net.sourceforge.pmd.RuleContext
Get an attribute value on the RuleContext.
getAttributeAxisIterator(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getAttributeIterator() - Method in interface net.sourceforge.pmd.lang.ast.xpath.AttributeNode
Deprecated.
 
getAttributeName(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getAttributeNamespaceUri(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getAttributeQName(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getAttributeStringValue(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getAttributeValue(int) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getAuxclasspath() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getAuxClasspath() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getAvailableOperationMetrics() - Method in interface net.sourceforge.pmd.lang.metrics.LanguageMetricsProvider
Returns a list of all supported operation metric keys for the language.
getAvailableTypeMetrics() - Method in interface net.sourceforge.pmd.lang.metrics.LanguageMetricsProvider
Returns a list of all supported type metric keys for the language.
getAverage() - Method in class net.sourceforge.pmd.stat.Metric
Deprecated.
 
getBaseURI() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getBeginColumn() - Method in class net.sourceforge.pmd.cache.CachedRuleViolation
 
getBeginColumn() - Method in class net.sourceforge.pmd.cpd.token.AntlrToken
 
getBeginColumn() - Method in interface net.sourceforge.pmd.document.RegionByLine
 
getBeginColumn() - Method in class net.sourceforge.pmd.document.RegionByLineImp
 
getBeginColumn() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getBeginColumn() - Method in interface net.sourceforge.pmd.lang.ast.CharStream
Returns the column number of the first character for current token (being matched after the last call to BeginTOken).
getBeginColumn() - Method in interface net.sourceforge.pmd.lang.ast.GenericToken
Gets the column offset from the start of the begin line where the token's region begins
getBeginColumn() - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
getBeginColumn() - Method in interface net.sourceforge.pmd.lang.ast.Node
 
getBeginColumn() - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Get token beginning column number.
getBeginColumn() - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
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 class net.sourceforge.pmd.cache.CachedRuleViolation
 
getBeginLine() - Method in class net.sourceforge.pmd.cpd.Mark
 
getBeginLine() - Method in class net.sourceforge.pmd.cpd.token.AntlrToken
 
getBeginLine() - Method in class net.sourceforge.pmd.cpd.TokenEntry
 
getBeginLine() - Method in interface net.sourceforge.pmd.document.RegionByLine
 
getBeginLine() - Method in class net.sourceforge.pmd.document.RegionByLineImp
 
getBeginLine() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getBeginLine() - Method in interface net.sourceforge.pmd.lang.ast.CharStream
Returns the line number of the first character for current token (being matched after the last call to BeginTOken).
getBeginLine() - Method in interface net.sourceforge.pmd.lang.ast.GenericToken
Gets the line where the token's region begins
getBeginLine() - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
getBeginLine() - Method in interface net.sourceforge.pmd.lang.ast.Node
 
getBeginLine() - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Get token beginning line number.
getBeginLine() - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
getBeginLine() - Method in interface net.sourceforge.pmd.RuleViolation
Get the begin line number in the source file in which this violation was identified.
getBraceStack() - Method in class net.sourceforge.pmd.lang.dfa.Structure
 
getCachedViolations(File) - Method in class net.sourceforge.pmd.cache.AbstractAnalysisCache
 
getCachedViolations(File) - Method in interface net.sourceforge.pmd.cache.AnalysisCache
Retrieves cached violations for the given file.
getCachedViolations(File) - Method in class net.sourceforge.pmd.cache.NoopAnalysisCache
 
getCacheLocation() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getCalculator() - Method in interface net.sourceforge.pmd.lang.metrics.MetricKey
Returns the object used to calculate the metric.
getCharacterSet() - Method in class net.sourceforge.pmd.util.database.DBType
 
getCharacterSet() - Method in class net.sourceforge.pmd.util.database.DBURI
 
getChecksum() - Method in interface net.sourceforge.pmd.cache.ChecksumAware
Retrieves the current instance checksum
getChecksum() - Method in class net.sourceforge.pmd.RuleSet
 
getChecksum() - Method in class net.sourceforge.pmd.RuleSets
Retrieves a checksum of the rulesets being used.
getChild(Object, int) - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
Deprecated.
 
getChildAt(int) - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Deprecated.
 
getChildAt(int) - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
Deprecated.
 
getChildAxisIterator(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
Get an iterator over all of this node's children.
getChildCount() - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Deprecated.
 
getChildCount() - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
Deprecated.
 
getChildCount(Object) - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
Deprecated.
 
getChildren() - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
getChildren() - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
getChoicesByLabel() - Method in class net.sourceforge.pmd.properties.modules.EnumeratedPropertyModule
Deprecated.
 
getClass(String) - Static method in class net.sourceforge.pmd.dcd.ClassLoaderUtil
 
getClassLoader() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the ClassLoader being used by PMD when processing Rules.
getClassMemoizer(QualifiedName) - Method in class net.sourceforge.pmd.lang.metrics.BasicProjectMemoizer
 
getClassMemoizer(QualifiedName) - Method in class net.sourceforge.pmd.lang.metrics.internal.DummyProjectMemoizer
 
getClassMemoizer(QualifiedName) - Method in interface net.sourceforge.pmd.lang.metrics.ProjectMemoizer
Gets the class metric memoizer corresponding to the qualified name.
getClassName() - Method in class net.sourceforge.pmd.cache.CachedRuleViolation
 
getClassName() - Method in interface net.sourceforge.pmd.lang.ast.QualifiedName
Returns the qualified name of the class the resource is located in.
getClassName() - Method in class net.sourceforge.pmd.lang.dfa.report.ClassNode
Deprecated.
 
getClassName() - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
getClassName() - Method in interface net.sourceforge.pmd.RuleViolation
Get the name of the Class in which this violation was identified.
getClassNode() - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
getClasspath() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getClassShortNames() - Static method in class net.sourceforge.pmd.util.ClassUtil
 
getCode() - Method in class net.sourceforge.pmd.cpd.SourceCode.CodeLoader
 
getCode() - Method in class net.sourceforge.pmd.cpd.SourceCode
 
getCodeBuffer() - Method in class net.sourceforge.pmd.cpd.SourceCode
 
getCodeSlice(int, int) - Method in class net.sourceforge.pmd.cpd.SourceCode.CodeLoader
 
getCollectionTypeFor(String) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Returns the collection type if we recognize it by its short name.
getColumn() - Method in exception net.sourceforge.pmd.lang.antlr.AntlrTokenManager.ANTLRSyntaxError
 
getColumn() - Method in interface net.sourceforge.pmd.lang.ast.CharStream
Deprecated.
getColumn() - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Deprecated.
getColumn() - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Deprecated.
getColumnNumber() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getColumnNumber() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
getCommentStringValue(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getConfiguration() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getConfiguration() - Method in class net.sourceforge.pmd.PMD
Get the runtime configuration.
getConnection() - Method in class net.sourceforge.pmd.util.database.DBMSMetadata
Return JDBC Connection for direct JDBC access to the specified database.
getConstant(String) - Static method in enum net.sourceforge.pmd.properties.PropertyDescriptorField
Deprecated.
 
getConstraintDescription() - Method in interface net.sourceforge.pmd.properties.constraints.PropertyConstraint
Returns a description of the constraint imposed by this validator on the values.
getConstructor(Class<?>, String, Class<?>...) - Static method in class net.sourceforge.pmd.dcd.ClassLoaderUtil
 
getConstructorNodes() - Method in class net.sourceforge.pmd.dcd.graph.ClassNode
 
getContinueBreakReturnStack() - Method in class net.sourceforge.pmd.lang.dfa.Structure
 
getCount() - Method in class net.sourceforge.pmd.stat.Metric
Deprecated.
 
getCountSummary() - Method in class net.sourceforge.pmd.Report
Calculate a summary of violation counts per fully classified class name.
getCPDRenderer() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getCPDRendererFromString(String, String) - Static method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getDataFlowFacade() - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getDataFlowFacade() - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Deprecated.
see note in the class description
getDataFlowHandler() - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getDataFlowHandler() - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Deprecated.
This is internal API
getDataFlowNode() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getDataFlowNode() - Method in interface net.sourceforge.pmd.lang.ast.Node
 
getDataFlowNode() - Method in class net.sourceforge.pmd.lang.dfa.StackObject
 
getDataSourceName() - Method in class net.sourceforge.pmd.util.datasource.ReaderDataSource
 
getDbType() - Method in class net.sourceforge.pmd.util.database.DBURI
 
getDecl() - Method in class net.sourceforge.pmd.lang.symboltable.ImageFinderFunction
 
getDeclarations() - Method in class net.sourceforge.pmd.lang.symboltable.AbstractScope
 
getDeclarations() - Method in interface net.sourceforge.pmd.lang.symboltable.Scope
Gets all the declaration with the occurrences in this scope.
getDeclarations(Class<T>) - Method in class net.sourceforge.pmd.lang.symboltable.AbstractScope
 
getDeclarations(Class<T>) - Method in interface net.sourceforge.pmd.lang.symboltable.Scope
Helper method to get only a specific type of name declarations.
getDeclaredNamespaces(int[]) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getDefaultLanguage() - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
 
getDefaultLanguageVersion(Language) - Method in class net.sourceforge.pmd.lang.LanguageVersionDiscoverer
Get the current default LanguageVersion for the given Language.
getDefaultLanguageVersionForFile(File) - Method in class net.sourceforge.pmd.lang.LanguageVersionDiscoverer
Get the default LanguageVersion for the first Language of a given source file.
getDefaultLanguageVersionForFile(String) - Method in class net.sourceforge.pmd.lang.LanguageVersionDiscoverer
Get the LanguageVersion for the first Language of a source file with the given name.
getDefaultParserOptions() - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getDefaultParserOptions() - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Get the default ParserOptions.
getDefaultVersion() - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
getDefaultVersion() - Method in interface net.sourceforge.pmd.lang.Language
Get the current PMD defined default LanguageVersion for this Language.
getDesc() - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
getDescription() - Method in class net.sourceforge.pmd.cache.CachedRuleViolation
 
getDescription() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getDescription() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
getDescription() - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
getDescription() - Method in class net.sourceforge.pmd.renderers.AbstractRenderer
 
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 class net.sourceforge.pmd.RuleSet
 
getDescription() - Method in interface net.sourceforge.pmd.RuleViolation
Get the description of this violation.
getDescription() - Method in enum net.sourceforge.pmd.util.database.DBType.Property
 
getDetail() - Method in class net.sourceforge.pmd.Report.ProcessingError
 
getDFAGraphRule() - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getDFAGraphRule() - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Deprecated.
This is internal API
getDirectoryFilter() - Static method in class net.sourceforge.pmd.util.filter.Filters
Get a File Filter for directories.
getDisplayName() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getDoBranchNodeFromFirstDoStatement() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
getDocumentNode(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getDocumentNumber() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
This implementation always returns 0.
getDocumentRoot() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getDocumentRoot() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
Deprecated.
 
getDocumentRoot() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
getDriverClass() - Method in class net.sourceforge.pmd.util.database.DBType
 
getDriverClass() - Method in class net.sourceforge.pmd.util.database.DBURI
 
getDumpFacade(Writer, String, boolean) - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getDumpFacade(Writer, String, boolean) - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Deprecated.
The dump façade is not that useful and will be completely scrapped with PMD 7.0.0
getElapsedTimeInMillis() - Method in class net.sourceforge.pmd.Report
 
getElementName(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getElementNamespaceUri(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getElementQName(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getElementStringValue(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getEmptyStrings() - Static method in class net.sourceforge.pmd.util.StringUtil
Returns an empty array of string
getEnclosingScope(Class<T>) - Method in class net.sourceforge.pmd.lang.symboltable.AbstractScope
 
getEnclosingScope(Class<T>) - Method in interface net.sourceforge.pmd.lang.symboltable.Scope
Helper method that goes up the parent scopes to find a scope of the specified type
getEncoding() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getEncoding() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getEncoding() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getEncoding() - Method in class net.sourceforge.pmd.cpd.SourceCode.FileCodeLoader
 
getEncoding() - Method in class net.sourceforge.pmd.cpd.XMLRenderer
 
getEndColumn() - Method in class net.sourceforge.pmd.cache.CachedRuleViolation
 
getEndColumn() - Method in class net.sourceforge.pmd.cpd.token.AntlrToken
 
getEndColumn() - Method in interface net.sourceforge.pmd.document.RegionByLine
 
getEndColumn() - Method in class net.sourceforge.pmd.document.RegionByLineImp
 
getEndColumn() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getEndColumn() - Method in interface net.sourceforge.pmd.lang.ast.CharStream
Returns the column number of the last character for current token (being matched after the last call to BeginTOken).
getEndColumn() - Method in interface net.sourceforge.pmd.lang.ast.GenericToken
Gets the column offset from the start of the end line where the token's region ends
getEndColumn() - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Get end column.
getEndColumn() - Method in interface net.sourceforge.pmd.lang.ast.Node
 
getEndColumn() - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Get token end column number.
getEndColumn() - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
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.
getEndIndex() - Method in class net.sourceforge.pmd.cpd.Match
 
getEndLine() - Method in class net.sourceforge.pmd.cache.CachedRuleViolation
 
getEndLine() - Method in class net.sourceforge.pmd.cpd.Mark
 
getEndLine() - Method in class net.sourceforge.pmd.cpd.token.AntlrToken
 
getEndLine() - Method in interface net.sourceforge.pmd.document.RegionByLine
 
getEndLine() - Method in class net.sourceforge.pmd.document.RegionByLineImp
 
getEndLine() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getEndLine() - Method in interface net.sourceforge.pmd.lang.ast.CharStream
Returns the line number of the last character for current token (being matched after the last call to BeginTOken).
getEndLine() - Method in interface net.sourceforge.pmd.lang.ast.GenericToken
Gets the line where the token's region ends
getEndLine() - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Get end line.
getEndLine() - Method in interface net.sourceforge.pmd.lang.ast.Node
 
getEndLine() - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Get token end line number.
getEndLine() - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
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
 
getEOF() - Static method in class net.sourceforge.pmd.cpd.TokenEntry
 
getError() - Method in class net.sourceforge.pmd.Report.ProcessingError
 
getExamples() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getExamples() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
getExamples() - Method in interface net.sourceforge.pmd.Rule
Get the list of examples for this Rule.
getExcludePatterns() - Method in class net.sourceforge.pmd.RuleSet
 
getExcludes() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getExcludes() - Method in class net.sourceforge.pmd.RuleSetReference
 
getExtensions() - Method in class net.sourceforge.pmd.cpd.AbstractLanguage
 
getExtensions() - Method in interface net.sourceforge.pmd.cpd.Language
 
getExtensions() - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
getExtensions() - Method in interface net.sourceforge.pmd.lang.Language
Get the list of file extensions associated with this Language.
getExternalInfoUrl() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getExternalInfoUrl() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
getExternalInfoUrl() - Method in interface net.sourceforge.pmd.Rule
Get a URL for external information about this Rule.
getFactory() - Method in enum net.sourceforge.pmd.properties.PropertyTypeId
Deprecated.
getFailuresPropertyName() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getField(Class<?>, String) - Static method in class net.sourceforge.pmd.dcd.ClassLoaderUtil
 
getFieldNodes() - Method in class net.sourceforge.pmd.dcd.graph.ClassNode
 
getFieldType() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
getFile() - Method in class net.sourceforge.pmd.ant.RuleSetWrapper
 
getFile() - Method in class net.sourceforge.pmd.Report.ProcessingError
 
getFileChecksum() - Method in class net.sourceforge.pmd.cache.AnalysisResult
 
getFileExtensionFilter(String...) - Static method in class net.sourceforge.pmd.util.filter.Filters
Get a File Filter for files with the given extensions, ignoring case.
getFileExtensionOrDirectoryFilter(String...) - Static method in class net.sourceforge.pmd.util.filter.Filters
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
 
getFileListPath() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getFileListPath() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getFilename() - Method in class net.sourceforge.pmd.cache.CachedRuleViolation
 
getFilename() - Method in class net.sourceforge.pmd.cpd.Mark
 
getFilename() - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
getFilename() - Method in interface net.sourceforge.pmd.RuleViolation
Get the source file name in which this violation was identified.
getFileName() - Method in class net.sourceforge.pmd.cpd.SourceCode.CodeLoader
 
getFileName() - Method in class net.sourceforge.pmd.cpd.SourceCode.FileCodeLoader
 
getFileName() - Method in class net.sourceforge.pmd.cpd.SourceCode
 
getFileName() - Method in class net.sourceforge.pmd.cpd.SourceCode.ReaderCodeLoader
 
getFileName() - Method in class net.sourceforge.pmd.cpd.SourceCode.StringCodeLoader
 
getFileName() - Method in class net.sourceforge.pmd.lang.antlr.AntlrTokenManager
 
getFileName() - Static method in class net.sourceforge.pmd.lang.ast.AbstractTokenManager
 
getFileName() - Method in class net.sourceforge.pmd.RuleSet
 
getFileNameWithoutExtension(String) - Static method in class net.sourceforge.pmd.util.FileUtil
Helper method to get a filename without its extension
getFiles() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getFilesets() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getFilter() - Method in class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
 
getFilters() - Method in class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
 
getFingerprint() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getFirst() - Method in class net.sourceforge.pmd.lang.dfa.Structure
 
getFirstChild() - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Deprecated.
 
getFirstChild(Node) - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
Deprecated.
 
getFirstChildOfType(Class<T>) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getFirstChildOfType(Class<T>) - Method in interface net.sourceforge.pmd.lang.ast.Node
Traverses the children to find the first instance of type childType.
getFirstDescendantOfType(Class<T>) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getFirstDescendantOfType(Class<T>) - Method in interface net.sourceforge.pmd.lang.ast.Node
Traverses down the tree to find the first descendant instance of type descendantType without crossing find boundaries.
getFirstIndex() - Method in class net.sourceforge.pmd.lang.dfa.SequenceChecker
 
getFirstMark() - Method in class net.sourceforge.pmd.cpd.Match
 
getFirstNode(Node) - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
Deprecated.
 
getFirstParentOfAnyType(Class<? extends T>...) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getFirstParentOfAnyType(Class<? extends T>...) - Method in interface net.sourceforge.pmd.lang.ast.Node
Gets the first parent that's an instance of any of the given types.
getFirstParentOfType(Class<T>) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getFirstParentOfType(Class<T>) - Method in interface net.sourceforge.pmd.lang.ast.Node
Traverses up the tree to find the first parent instance of type parentType or one of its subclasses.
getFlow() - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
getFlow() - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
getFollowingAxisIterator(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
Get an iterator over all following nodes, depth-first.
getFollowingSiblingAxisIterator(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
Get an iterator over all following siblings.
getFormat() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getFormatters() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getFullName() - Method in class net.sourceforge.pmd.lang.rule.ImportWrapper
 
getHighValue() - Method in class net.sourceforge.pmd.stat.Metric
Deprecated.
 
getIdentifier() - Method in class net.sourceforge.pmd.cpd.TokenEntry
 
getIgnoreFilePath() - Method in class net.sourceforge.pmd.PMDConfiguration
 
getIgnoreListPath() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getImage() - Method in class net.sourceforge.pmd.cpd.token.AntlrToken
 
getImage() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getImage() - Method in interface net.sourceforge.pmd.lang.ast.GenericToken
Gets the token's text.
getImage() - Method in interface net.sourceforge.pmd.lang.ast.Node
Returns a string token, usually filled-in by the parser, which describes some textual characteristic of this node.
getImage() - Method in class net.sourceforge.pmd.lang.symboltable.AbstractNameDeclaration
 
getImage() - Method in interface net.sourceforge.pmd.lang.symboltable.NameDeclaration
Gets the image of the node.
getImage() - Method in interface net.sourceforge.pmd.lang.symboltable.NameOccurrence
Gets the image of the used declaration, such as the variable name.
GetImage() - Method in interface net.sourceforge.pmd.lang.ast.CharStream
Returns a string made up of characters from the marked token beginning to the current buffer position.
GetImage() - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
GetImage() - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Get token literal value.
getIncludePatterns() - Method in class net.sourceforge.pmd.RuleSet
 
getIndex() - Method in class net.sourceforge.pmd.cpd.TokenEntry
 
getIndex() - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
getIndex() - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
getIndex(TreeNode) - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
Deprecated.
 
getIndexOfChild(Object, Object) - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
Deprecated.
 
getInputFilePath() - Method in class net.sourceforge.pmd.PMDConfiguration
 
getInputPaths() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the comma separated list of input paths to process for source files.
getInputStream() - Method in interface net.sourceforge.pmd.util.datasource.DataSource
Get an InputStream on the source file.
getInputStream() - Method in class net.sourceforge.pmd.util.datasource.FileDataSource
 
getInputStream() - Method in class net.sourceforge.pmd.util.datasource.ReaderDataSource
Convert the Reader into an InputStream.
getInputStream() - Method in class net.sourceforge.pmd.util.datasource.ZipDataSource
 
getInputStream(ResourceLoader) - Method in class net.sourceforge.pmd.RuleSetReferenceId
Try to load the RuleSet resource with the specified ResourceLoader.
getInputUri() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the input URI to process for source code objects.
getInstance() - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
 
getInstance() - Static method in class net.sourceforge.pmd.lang.metrics.internal.DummyMetricMemoizer
 
getInstance() - Static method in class net.sourceforge.pmd.lang.metrics.internal.DummyProjectMemoizer
 
getInstance(MetricKey<N>, MetricOptions) - Static method in class net.sourceforge.pmd.lang.metrics.ParameterizedMetricKey
Builds a parameterized metric key.
getLabel() - Method in class net.sourceforge.pmd.cpd.Match
 
getLabeledMeasurements(TimedOperationCategory) - Method in class net.sourceforge.pmd.benchmark.TimingReport
 
getLabelsByChoice() - Method in class net.sourceforge.pmd.properties.modules.EnumeratedPropertyModule
Deprecated.
 
getLabelStatementNodeClass() - Method in interface net.sourceforge.pmd.lang.DataFlowHandler
Deprecated.
 
getLanguage() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getLanguage() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getLanguage() - Method in class net.sourceforge.pmd.lang.LanguageVersion
 
getLanguage() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getLanguage() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
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
 
getLanguageFromString(String) - Static method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getLanguageMetricsProvider() - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getLanguageMetricsProvider() - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Returns the metrics provider for this language version, or null if it has none.
getLanguages() - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
 
getLanguages() - Method in class net.sourceforge.pmd.util.database.DBType
 
getLanguagesForFile(File) - Method in class net.sourceforge.pmd.lang.LanguageVersionDiscoverer
Get the Languages of a given source file.
getLanguagesForFile(String) - Method in class net.sourceforge.pmd.lang.LanguageVersionDiscoverer
Get the Languages of a given source file.
getLanguagesList() - Method in class net.sourceforge.pmd.util.database.DBURI
 
getLanguageSpecificComputer() - Method in class net.sourceforge.pmd.lang.metrics.AbstractMetricsFacade
Gets the language specific metrics computer.
getLanguageSpecificProjectMemoizer() - Method in class net.sourceforge.pmd.lang.metrics.AbstractMetricsFacade
Gets the language-specific project memoizer.
getLanguageVersion() - Method in class net.sourceforge.pmd.RuleContext
Get the LanguageVersion associated with the current source file.
getLanguageVersionDiscoverer() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the LanguageVersionDiscoverer, used to determine the LanguageVersion of a source file.
getLanguageVersionHandler() - Method in class net.sourceforge.pmd.lang.LanguageVersion
 
getLanguageVersionOfFile(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Get the LanguageVersion of the source file with given name.
getLast() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
getLast() - Method in class net.sourceforge.pmd.lang.dfa.Structure
 
getLastChild(Node) - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
Deprecated.
 
getLastEvaluationResults() - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
Deprecated.
Retrieves the results of last evaluation.
getLastIndex() - Method in class net.sourceforge.pmd.lang.dfa.SequenceChecker
 
getLastLine() - Method in class net.sourceforge.pmd.lang.ast.SourceCodePositioner
 
getLastLineColumn() - Method in class net.sourceforge.pmd.lang.ast.SourceCodePositioner
 
getLength() - Method in interface net.sourceforge.pmd.document.RegionByOffset
 
getLength() - Method in class net.sourceforge.pmd.document.RegionByOffsetImp
 
getLength() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
getLexerForSource(SourceCode) - Method in class net.sourceforge.pmd.cpd.AntlrTokenizer
Deprecated.
 
getLexerForSource(SourceCode) - Method in class net.sourceforge.pmd.cpd.internal.JavaCCTokenizer
 
getLine() - Method in exception net.sourceforge.pmd.lang.antlr.AntlrTokenManager.ANTLRSyntaxError
 
getLine() - Method in interface net.sourceforge.pmd.lang.ast.CharStream
Deprecated.
getLine() - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Deprecated.
getLine() - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Deprecated.
getLine() - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
getLine() - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
getLine(int) - Method in class net.sourceforge.pmd.util.designer.CodeEditorTextPane
Deprecated.
 
getLine(int) - Method in interface net.sourceforge.pmd.util.designer.LineGetter
Deprecated.
 
getLineCount() - Method in class net.sourceforge.pmd.cpd.Mark
 
getLineCount() - Method in class net.sourceforge.pmd.cpd.Match
 
getLineCount(TokenEntry, Match) - Method in class net.sourceforge.pmd.cpd.Tokens
 
getLineNumber() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getLineNumber() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
getListeners() - Method in class net.sourceforge.pmd.Report
 
getLocalPart() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getLocalPart() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
Deprecated.
 
getLocalPart() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
getLocation() - Method in interface net.sourceforge.pmd.lang.symboltable.NameOccurrence
Gets the location where the usage occurred.
getLowerLimit() - Method in class net.sourceforge.pmd.properties.modules.NumericPropertyModule
Deprecated.
 
getLowValue() - Method in class net.sourceforge.pmd.stat.Metric
Deprecated.
 
getMarkCount() - Method in class net.sourceforge.pmd.cpd.Match
 
getMarkSet() - Method in class net.sourceforge.pmd.cpd.Match
 
getMatches() - Method in class net.sourceforge.pmd.cpd.CPD
 
getMatches() - Method in class net.sourceforge.pmd.cpd.MatchCollector
 
getMaximumLanguageVersion() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getMaximumLanguageVersion() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
getMaximumLanguageVersion() - Method in interface net.sourceforge.pmd.Rule
Get the maximum LanguageVersion to which this Rule applies.
getMaxRuleViolations() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getMember() - Method in class net.sourceforge.pmd.dcd.graph.ConstructorNode
 
getMember() - Method in class net.sourceforge.pmd.dcd.graph.FieldNode
 
getMember() - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
getMember() - Method in class net.sourceforge.pmd.dcd.graph.MethodNode
 
getMemo(ParameterizedMetricKey<N>) - Method in class net.sourceforge.pmd.lang.metrics.BasicMetricMemoizer
 
getMemo(ParameterizedMetricKey<N>) - Method in class net.sourceforge.pmd.lang.metrics.internal.DummyMetricMemoizer
 
getMemo(ParameterizedMetricKey<N>) - Method in interface net.sourceforge.pmd.lang.metrics.MetricMemoizer
Fetch a memoized result for a metric and options.
getMessage() - Method in exception net.sourceforge.pmd.lang.ast.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessage() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getMessage() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
getMessage() - Method in interface net.sourceforge.pmd.Rule
Get the message to show when this Rule identifies a violation.
getMessage() - Method in class net.sourceforge.pmd.stat.DataPoint
Deprecated.
 
getMethod(Class<?>, String, Class<?>...) - Static method in class net.sourceforge.pmd.dcd.ClassLoaderUtil
 
getMethodName() - Method in class net.sourceforge.pmd.cache.CachedRuleViolation
 
getMethodName() - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
getMethodName() - Method in interface net.sourceforge.pmd.RuleViolation
Get the method name in which this violation was identified.
getMethodNodes() - Method in class net.sourceforge.pmd.dcd.graph.ClassNode
 
getMethodParameterTypes() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
getMethodReturnType() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
getMethods() - Method in interface net.sourceforge.pmd.lang.dfa.DFAGraphRule
 
getMethodSignature(String, Class<?>...) - Static method in class net.sourceforge.pmd.dcd.ClassLoaderUtil
 
getMetricName() - Method in class net.sourceforge.pmd.stat.Metric
Deprecated.
 
getMinimumLanguageVersion() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getMinimumLanguageVersion() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
getMinimumLanguageVersion() - Method in interface net.sourceforge.pmd.Rule
Get the minimum LanguageVersion to which this Rule applies.
getMinimumPriority() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getMinimumPriority() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getMinimumPriority() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the minimum priority threshold when loading Rules from RuleSets.
getMinimumTileSize() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getMinimumTileSize() - Method in class net.sourceforge.pmd.cpd.MatchAlgorithm
 
getMsg() - Method in class net.sourceforge.pmd.Report.ProcessingError
 
getMultifileFacade() - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getMultifileFacade() - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Deprecated.
see note in the class description
getName() - Method in class net.sourceforge.pmd.ant.SourceLanguage
 
getName() - Method in class net.sourceforge.pmd.cpd.AbstractLanguage
 
getName() - Method in interface net.sourceforge.pmd.cpd.Language
 
getName() - Method in class net.sourceforge.pmd.dcd.graph.ClassNode
 
getName() - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
getName() - Method in class net.sourceforge.pmd.lang.ast.xpath.Attribute
 
getName() - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
getName() - Method in interface net.sourceforge.pmd.lang.dfa.DFAGraphMethod
 
getName() - Method in interface net.sourceforge.pmd.lang.Language
Get the full name of this Language.
getName() - Method in class net.sourceforge.pmd.lang.LanguageVersion
Get the name of this LanguageVersion.
getName() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getName() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
getName() - Method in class net.sourceforge.pmd.lang.rule.ImportWrapper
 
getName() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getName() - Method in class net.sourceforge.pmd.lang.symboltable.AbstractNameDeclaration
 
getName() - Method in interface net.sourceforge.pmd.lang.symboltable.NameDeclaration
Gets the name of the declaration, such as the variable name.
getName() - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilder
Deprecated.
Returns the name of the property to be built.
getName() - Method in class net.sourceforge.pmd.properties.PropertyBuilder
Returns the name of the property to be built.
getName() - Method in interface net.sourceforge.pmd.properties.PropertySource
Gets the name of this property source.
getName() - Method in class net.sourceforge.pmd.renderers.AbstractRenderer
 
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.
getName() - Method in class net.sourceforge.pmd.RuleSet
 
getName() - Method in class net.sourceforge.pmd.util.database.SourceObject
 
getNameCode() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getNamePool() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getNamespacePrefix(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getNamespaceStringValue(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getNavigator() - Method in class net.sourceforge.pmd.lang.ast.xpath.AbstractASTXPathHandler
Deprecated.
 
getNavigator() - Method in interface net.sourceforge.pmd.lang.XPathHandler
Deprecated.
Support for Jaxen will be removed come 7.0.0
getNestedRules() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getNewMethodVisitor(PrintVisitor, MemberNode) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder
 
getNext() - Method in class net.sourceforge.pmd.cpd.token.AntlrToken
 
getNext() - Method in interface net.sourceforge.pmd.lang.ast.GenericToken
Obtain the next generic token according to the input stream which generated the instance of this token.
getNextId() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.IdGenerator
Deprecated.
 
getNextMajorRelease() - Static method in class net.sourceforge.pmd.PMDVersion
Retrieves the next major release to be expected.
getNextNode(Node) - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
Deprecated.
 
getNextSibling() - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Deprecated.
 
getNextSibling(Node) - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
Deprecated.
 
getNextToken() - Method in class net.sourceforge.pmd.cpd.token.internal.BaseTokenFilter
 
getNextToken() - Method in interface net.sourceforge.pmd.cpd.token.TokenFilter
Retrieves the next token to pass the filter
getNextToken() - Method in class net.sourceforge.pmd.lang.antlr.AntlrTokenManager
 
getNextToken() - Method in interface net.sourceforge.pmd.lang.TokenManager
 
getNiceFileName(boolean, String) - Method in interface net.sourceforge.pmd.util.datasource.DataSource
Return a nice version of the filename.
getNiceFileName(boolean, String) - Method in class net.sourceforge.pmd.util.datasource.FileDataSource
 
getNiceFileName(boolean, String) - Method in class net.sourceforge.pmd.util.datasource.ReaderDataSource
Return the dataSourceName via the DataSource Interface method.
getNiceFileName(boolean, String) - Method in class net.sourceforge.pmd.util.datasource.ZipDataSource
 
getNode() - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
getNode() - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
getNode() - Method in class net.sourceforge.pmd.lang.rule.ImportWrapper
 
getNode() - Method in class net.sourceforge.pmd.lang.symboltable.AbstractNameDeclaration
 
getNode() - Method in interface net.sourceforge.pmd.lang.symboltable.NameDeclaration
Gets the node which manifests the declaration.
getNode() - Method in class net.sourceforge.pmd.stat.DataPoint
Deprecated.
 
getNodeKind() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getNodeKind() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
Deprecated.
 
getNodeKind() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
Deprecated.
 
getNodeKind() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
getNthParent(int) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getNthParent(int) - Method in interface net.sourceforge.pmd.lang.ast.Node
Returns the n-th parent or null if there are less than n ancestors.
getNumberOfViolations() - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Deprecated.
 
getOffset() - Method in interface net.sourceforge.pmd.document.RegionByOffset
 
getOffset() - Method in class net.sourceforge.pmd.document.RegionByOffsetImp
 
getOffsetAfterEnding() - Method in interface net.sourceforge.pmd.document.RegionByOffset
 
getOffsetAfterEnding() - Method in class net.sourceforge.pmd.document.RegionByOffsetImp
 
getOperationMemoizer(QualifiedName) - Method in class net.sourceforge.pmd.lang.metrics.BasicProjectMemoizer
 
getOperationMemoizer(QualifiedName) - Method in class net.sourceforge.pmd.lang.metrics.internal.DummyProjectMemoizer
 
getOperationMemoizer(QualifiedName) - Method in interface net.sourceforge.pmd.lang.metrics.ProjectMemoizer
Gets the operation metric memoizer corresponding to the qualified name.
getOperator() - Method in class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
 
getOperator() - Method in class net.sourceforge.pmd.util.filter.AndFilter
 
getOperator() - Method in class net.sourceforge.pmd.util.filter.OrFilter
 
getOptions() - Method in class net.sourceforge.pmd.lang.metrics.MetricOptions
Returns an immutable set of options.
getOriginalName() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getOverriddenDescription() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getOverriddenExamples() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getOverriddenExternalInfoUrl() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getOverriddenLanguage() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getOverriddenMaximumLanguageVersion() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getOverriddenMessage() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getOverriddenMinimumLanguageVersion() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getOverriddenName() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getOverriddenPriority() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getOverriddenPropertiesByPropertyDescriptor() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getOverriddenPropertiesByPropertyDescriptor() - Method in class net.sourceforge.pmd.properties.AbstractPropertySource
 
getOverriddenPropertiesByPropertyDescriptor() - Method in interface net.sourceforge.pmd.properties.PropertySource
Returns a modifiable map of the property descriptors that don't use default values, to their overridden value.
getOverriddenPropertyDescriptors() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getOverriddenPropertyDescriptors() - Method in class net.sourceforge.pmd.properties.AbstractPropertySource
 
getOverriddenPropertyDescriptors() - Method in interface net.sourceforge.pmd.properties.PropertySource
Returns a modifiable list of the property descriptors that don't use default values.
getPackageName() - Method in class net.sourceforge.pmd.cache.CachedRuleViolation
 
getPackageName() - Method in class net.sourceforge.pmd.lang.dfa.report.PackageNode
Deprecated.
 
getPackageName() - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
getPackageName() - Method in interface net.sourceforge.pmd.RuleViolation
Get the package name of the Class in which this violation was identified.
getParameter() - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
Deprecated.
 
getParameters() - Method in class net.sourceforge.pmd.util.database.DBURI
 
getParameterTypes(String...) - Static method in class net.sourceforge.pmd.dcd.ClassLoaderUtil
 
getParent() - Method in class net.sourceforge.pmd.lang.ast.xpath.Attribute
 
getParent() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getParent() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
getParent() - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Deprecated.
 
getParent() - Method in class net.sourceforge.pmd.lang.symboltable.AbstractScope
 
getParent() - Method in interface net.sourceforge.pmd.lang.symboltable.Scope
Retrieves this scope's parent
getParent() - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
Deprecated.
 
getParentAxisIterator(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
Get a (single-member) iterator over this node's parent.
getParentNode(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getParents() - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
getParents() - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
getParentsOfType(Class<T>) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getParentsOfType(Class<T>) - Method in interface net.sourceforge.pmd.lang.ast.Node
Traverses up the tree to find all of the parent instances of type parentType or one of its subclasses.
getParser(ParserOptions) - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Get the Parser.
getParserOptions() - Method in class net.sourceforge.pmd.lang.AbstractParser
 
getParserOptions() - Method in interface net.sourceforge.pmd.lang.Parser
Get the ParserOptions used by this Parser.
getParserOptions() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getParserOptions() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
This implementation returns a new instance of ParserOptions using default settings.
getParserOptions() - Method in interface net.sourceforge.pmd.Rule
Get the parser options for this Rule.
getPhaseText(int) - Method in class net.sourceforge.pmd.cpd.GUI
 
getPrecedingAxisIterator(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
Get an iterator over all preceding nodes, depth-first.
getPrecedingSiblingAxisIterator(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
Get an iterator over all preceding siblings.
getPrefix() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getPreviousComment() - Method in class net.sourceforge.pmd.cpd.token.AntlrToken
 
getPreviousComment() - Method in interface net.sourceforge.pmd.lang.ast.GenericToken
Obtain a comment-type token which, according to the input stream which generated the instance of this token, precedes this instance token and succeeds the previous generic token (if there is any).
getPreviousSibling(Node) - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
Deprecated.
 
getPrimitiveTypeFor(String) - Static method in class net.sourceforge.pmd.util.ClassUtil
Returns the type(class) for the name specified or null if not found.
getPriority() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getPriority() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
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.
getProperties() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getProperties() - Method in class net.sourceforge.pmd.util.database.DBType
 
getPropertiesByPropertyDescriptor() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getPropertiesByPropertyDescriptor() - Method in class net.sourceforge.pmd.properties.AbstractPropertySource
 
getPropertiesByPropertyDescriptor() - Method in interface net.sourceforge.pmd.properties.PropertySource
Returns an unmodifiable map of descriptors to property values for the current receiver.
getPropertiesSource() - Method in class net.sourceforge.pmd.util.database.DBType
 
getProperty(PropertyDescriptor<T>) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getProperty(PropertyDescriptor<T>) - Method in class net.sourceforge.pmd.properties.AbstractPropertySource
 
getProperty(PropertyDescriptor<T>) - Method in interface net.sourceforge.pmd.properties.PropertySource
Get the typed value for the given property.
getPropertyDescriptor(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getPropertyDescriptor(String) - Method in class net.sourceforge.pmd.properties.AbstractPropertySource
 
getPropertyDescriptor(String) - Method in interface net.sourceforge.pmd.properties.PropertySource
Get the PropertyDescriptor for the given property name.
getPropertyDescriptors() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getPropertyDescriptors() - Method in class net.sourceforge.pmd.properties.AbstractPropertySource
 
getPropertyDescriptors() - Method in interface net.sourceforge.pmd.properties.PropertySource
Get the descriptors of all defined properties.
getPropertyName() - Method in enum net.sourceforge.pmd.util.database.DBType.Property
 
getPropertySourceType() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
getPropertySourceType() - Method in class net.sourceforge.pmd.properties.AbstractPropertySource
 
getPropertySourceType() - Method in class net.sourceforge.pmd.renderers.AbstractRenderer
 
getPseudoFileName() - Method in class net.sourceforge.pmd.util.database.SourceObject
Gets the data source as a pseudo file name (faux-file).
getQualifiedName() - Method in interface net.sourceforge.pmd.lang.ast.QualifiableNode
Returns a qualified name for this node.
getQualifiedNameResolutionFacade(ClassLoader) - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getQualifiedNameResolutionFacade(ClassLoader) - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Deprecated.
see note in the class description
getReader() - Method in class net.sourceforge.pmd.cpd.SourceCode.CodeLoader
 
getReader() - Method in class net.sourceforge.pmd.cpd.SourceCode.FileCodeLoader
 
getReader() - Method in class net.sourceforge.pmd.cpd.SourceCode.ReaderCodeLoader
 
getReader() - Method in class net.sourceforge.pmd.cpd.SourceCode.StringCodeLoader
 
getReader(String) - Method in class net.sourceforge.pmd.renderers.TextColorRenderer
 
getReason() - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
Deprecated.
 
getRegex() - Method in class net.sourceforge.pmd.util.filter.RegexStringFilter
 
getRegionByLine() - Method in class net.sourceforge.pmd.document.DocumentOperation
 
getRegisteredRuleSets() - Method in class net.sourceforge.pmd.RuleSetFactory
Returns an Iterator of RuleSet objects loaded from descriptions from the "categories.properties" resource for each Language with Rule support.
getRenderer() - Method in class net.sourceforge.pmd.ant.Formatter
 
getRenderer() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
Deprecated.
getRendererFromString(String, String) - Static method in class net.sourceforge.pmd.cpd.CPDConfiguration
getRendererName() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getRenderers() - Static method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getReport() - Method in class net.sourceforge.pmd.RuleContext
Get the Report to which Rule Violations are sent.
getReportfile() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getReportFile() - 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.
getResourceBundleAsProperties(ResourceBundle) - Static method in class net.sourceforge.pmd.util.database.DBType
Convert resourceBundle to usable Properties.
getResourceStream(String) - Method in class net.sourceforge.pmd.util.database.ResourceLoader
 
getRevision() - Method in class net.sourceforge.pmd.util.database.SourceObject
 
getRoot() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getRoot() - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
Deprecated.
 
getRootNode() - Method in class net.sourceforge.pmd.lang.dfa.report.ReportTree
Deprecated.
 
getRootNode() - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
Deprecated.
 
getRule() - Method in class net.sourceforge.pmd.cache.CachedRuleViolation
 
getRule() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getRule() - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
getRule() - Method in interface net.sourceforge.pmd.RuleViolation
Get the Rule which identified this violation.
getRuleByName(String) - Method in class net.sourceforge.pmd.RuleSet
Returns the first Rule found with the given name (case-sensitive).
getRuleByName(String) - Method in class net.sourceforge.pmd.RuleSets
Returns the first Rule found with the given name.
getRuleChainVisitorClass() - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
getRuleChainVisitorClass() - Method in interface net.sourceforge.pmd.lang.Language
Get the RuleChainVisitor implementation class used when visiting the AST structure for this Rules for this Language.
getRuleChainVisits() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getRuleChainVisits() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
getRuleChainVisits() - Method in class net.sourceforge.pmd.lang.rule.xpath.AbstractXPathRuleQuery
 
getRuleChainVisits() - Method in class net.sourceforge.pmd.lang.rule.xpath.JaxenXPathRuleQuery
 
getRuleChainVisits() - Method in interface net.sourceforge.pmd.lang.rule.xpath.XPathRuleQuery
Indicates which AST Nodes (if any) should be used with the RuleChain.
getRuleChainVisits() - Method in class net.sourceforge.pmd.lang.rule.XPathRule
 
getRuleChainVisits() - Method in interface net.sourceforge.pmd.Rule
Gets the collection of AST node names visited by the Rule on the RuleChain.
getRuleClass() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getRuleClass() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
getRuleClass() - Method in interface net.sourceforge.pmd.Rule
Get the implementation class of this Rule.
getRuleForClass(String) - Method in class net.sourceforge.pmd.cache.CachedRuleMapper
Finds a rule instance for the given rule class name
getRuleName() - Method in class net.sourceforge.pmd.RuleSetReferenceId
Get the Rule name.
getRules() - Method in class net.sourceforge.pmd.RuleSet
Returns the actual Collection of rules in this ruleset
getRulesetFactory(PMDConfiguration, ResourceLoader) - Static method in class net.sourceforge.pmd.RulesetsFactoryUtils
 
getRuleSetFileName() - Method in class net.sourceforge.pmd.RuleSetReference
 
getRuleSetFileName() - Method in class net.sourceforge.pmd.RuleSetReferenceId
Get the RuleSet file name.
getRulesetFiles() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getRuleSetName() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getRuleSetName() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
getRuleSetName() - Method in interface net.sourceforge.pmd.Rule
Get the name of the RuleSet containing this Rule.
getRuleSetReference() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getRulesets() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getRuleSets() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the comma separated list of RuleSet URIs.
getRuleSets(String, RuleSetFactory) - Static method in class net.sourceforge.pmd.RulesetsFactoryUtils
Creates a new rulesets with the given string.
getRuleSetsIterator() - Method in class net.sourceforge.pmd.RuleSets
 
getRuleSetsWithBenchmark(String, RuleSetFactory) - Static method in class net.sourceforge.pmd.RulesetsFactoryUtils
getRuleViolation() - Method in class net.sourceforge.pmd.lang.dfa.report.ViolationNode
Deprecated.
 
getRuleViolation() - Method in class net.sourceforge.pmd.Report.SuppressedViolation
 
getRuleViolationFactory() - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Get the RuleViolationFactory.
getSchema() - Method in class net.sourceforge.pmd.util.database.SourceObject
 
getSchemasList() - Method in class net.sourceforge.pmd.util.database.DBURI
 
getScope() - Method in class net.sourceforge.pmd.lang.symboltable.AbstractNameDeclaration
 
getScope() - Method in interface net.sourceforge.pmd.lang.symboltable.NameDeclaration
Gets the scope in which this name has been declared.
getScope() - Method in interface net.sourceforge.pmd.lang.symboltable.ScopedNode
 
getScore() - Method in class net.sourceforge.pmd.stat.DataPoint
Deprecated.
 
getSecondMark() - Method in class net.sourceforge.pmd.cpd.Match
 
getSeverity() - Method in exception net.sourceforge.pmd.PMDException
 
getShortName() - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
getShortName() - Method in interface net.sourceforge.pmd.lang.Language
Get the short name of this Language.
getShortName() - Method in class net.sourceforge.pmd.lang.LanguageVersion
Get the short name of this LanguageVersion.
getSiblingPosition() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getSiblingPosition() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
getSignature() - Method in interface net.sourceforge.pmd.lang.ast.SignedNode
Gets the signature of this node.
getSimpleNode() - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
Deprecated.
retrieves the underlying node
getSince() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
getSince() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
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
 
getSlice(int, int) - Method in class net.sourceforge.pmd.cpd.SourceCode
 
getSource() - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
Deprecated.
 
getSourceCode() - Method in class net.sourceforge.pmd.util.viewer.gui.SourceCodePanel
Deprecated.
retrieves the string representation of the source code
getSourceCode(String, String, String) - Method in class net.sourceforge.pmd.util.database.DBMSMetadata
return source code text
getSourceCode(SourceObject) - Method in class net.sourceforge.pmd.util.database.DBMSMetadata
Return source code text from the database.
getSourceCodeFile() - Method in class net.sourceforge.pmd.RuleContext
Get the File associated with the current source file.
getSourceCodeFilename() - Method in class net.sourceforge.pmd.RuleContext
Get the file name associated with the current source file.
getSourceCodeNamesList() - Method in class net.sourceforge.pmd.util.database.DBURI
 
getSourceCodeProcessor() - Method in class net.sourceforge.pmd.PMD
Gets the source code processor.
getSourceCodeReturnType() - Method in class net.sourceforge.pmd.util.database.DBType
 
getSourceCodeSlice() - Method in class net.sourceforge.pmd.cpd.Mark
 
getSourceCodeSlice() - Method in class net.sourceforge.pmd.cpd.Match
 
getSourceCodeType() - Method in class net.sourceforge.pmd.util.database.DBURI
 
getSourceCodeTypes() - Method in class net.sourceforge.pmd.util.database.DBType
 
getSourceCodeTypesList() - Method in class net.sourceforge.pmd.util.database.DBURI
 
getSourceDir() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getSourceEncoding() - Method in class net.sourceforge.pmd.AbstractConfiguration
Get the character encoding of source files.
getSourceLanguage() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getSourceObjectList() - Method in class net.sourceforge.pmd.util.database.DBMSMetadata
Return all source code objects associated with any associated DBURI.
getSourceObjectList(List<String>, List<String>, List<String>, List<String>) - Method in class net.sourceforge.pmd.util.database.DBMSMetadata
Return all source code objects associated with the specified languages, schemas, source code types and source code names.
getSourcePaths() - Method in class net.sourceforge.pmd.cpd.CPD
List names/paths of each source to be processed.
getSources() - Method in class net.sourceforge.pmd.cpd.CPD
Get each Source to be processed.
getStandardDeviation() - Method in class net.sourceforge.pmd.stat.Metric
Deprecated.
 
getStringId() - Method in enum net.sourceforge.pmd.properties.PropertyTypeId
Gets the value of the type attribute represented by this constant.
getStringValue() - Method in class net.sourceforge.pmd.lang.ast.xpath.Attribute
 
getStringValue() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getStringValueCS() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getStringValueCS() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
Deprecated.
 
getSubnamePrefix() - Method in class net.sourceforge.pmd.util.database.DBURI
 
getSubprotocol() - Method in class net.sourceforge.pmd.util.database.DBURI
 
GetSuffix(int) - Method in interface net.sourceforge.pmd.lang.ast.CharStream
Returns an array of characters that make up the suffix of length 'len' for the currently matched token.
GetSuffix(int) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
GetSuffix(int) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Get the suffix.
getSuffixFromType() - Method in class net.sourceforge.pmd.util.database.SourceObject
Map the type to a file suffix associated with a Language
getSummary() - Method in class net.sourceforge.pmd.Report
Calculate a summary of violations per rule.
getSuppressedRuleViolations() - Method in class net.sourceforge.pmd.Report
 
getSuppressMap() - Method in class net.sourceforge.pmd.lang.ast.AbstractTokenManager
 
getSuppressMap() - Method in interface net.sourceforge.pmd.lang.Parser
 
getSuppressmarker() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getSuppressMarker() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getSuppressMarker() - Method in class net.sourceforge.pmd.lang.ParserOptions
 
getSuppressMarker() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the suppress marker.
getSymbolFacade() - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getSymbolFacade() - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Deprecated.
see note in the class description
getSymbolFacade(ClassLoader) - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getSymbolFacade(ClassLoader) - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Deprecated.
see note in the class description
getSystemId() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getTabSize(int) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
getTabSize(int) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
getTerseName() - Method in class net.sourceforge.pmd.cpd.AbstractLanguage
 
getTerseName() - Method in interface net.sourceforge.pmd.cpd.Language
 
getTerseName() - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
getTerseName() - Method in interface net.sourceforge.pmd.lang.Language
Get the terse name of this Language.
getTerseName() - Method in class net.sourceforge.pmd.lang.LanguageVersion
Get the terse name of this LanguageVersion.
getTextStringValue(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
getThreads() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getThreads() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getThreads() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the number of threads to use when processing Rules.
getTime() - Method in class net.sourceforge.pmd.Report.ReadableDuration
Gets a human readable representation of the duration, such as "1h 3m 5s".
getToken() - Method in class net.sourceforge.pmd.cpd.Mark
 
getTokenCount() - Method in class net.sourceforge.pmd.cpd.Match
 
getTokenFilter(AntlrTokenManager) - Method in class net.sourceforge.pmd.cpd.AntlrTokenizer
Deprecated.
 
getTokenFilter(TokenManager) - Method in class net.sourceforge.pmd.cpd.internal.JavaCCTokenizer
 
getTokenizer() - Method in class net.sourceforge.pmd.cpd.AbstractLanguage
 
getTokenizer() - Method in interface net.sourceforge.pmd.cpd.Language
 
getTokenManager(String, Reader) - Method in class net.sourceforge.pmd.lang.AbstractParser
 
getTokenManager(String, Reader) - Method in interface net.sourceforge.pmd.lang.Parser
Get a TokenManager for the given source.
getTokens() - Method in class net.sourceforge.pmd.cpd.Tokens
 
getTokenSrcID() - Method in class net.sourceforge.pmd.cpd.TokenEntry
 
getTotal() - Method in class net.sourceforge.pmd.stat.Metric
Deprecated.
 
getType() - Method in class net.sourceforge.pmd.cpd.token.AntlrToken
 
getType() - Method in class net.sourceforge.pmd.dcd.graph.ClassNode
 
getType() - Method in class net.sourceforge.pmd.lang.dfa.StackObject
 
getType() - Method in class net.sourceforge.pmd.util.database.SourceObject
 
getTypeAnnotation() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getTypedValue() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getTypedValue() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
Deprecated.
 
getTypeFor(String) - Static method in class net.sourceforge.pmd.util.ClassUtil
Attempt to determine the actual class given the short name.
getTypeResolutionFacade(ClassLoader) - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getTypeResolutionFacade(ClassLoader) - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Deprecated.
see note in the class description
getUnderlyingNode() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getUnderlyingNode() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
getUnlabeledMeasurements(TimedOperationCategory) - Method in class net.sourceforge.pmd.benchmark.TimingReport
 
getUnparsedEntity(String) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
Deprecated.
 
getUnparsedEntityNames() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
Deprecated.
 
getUpperLimit() - Method in class net.sourceforge.pmd.properties.modules.NumericPropertyModule
Deprecated.
 
getUri() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getUri() - Method in class net.sourceforge.pmd.util.database.DBURI
 
getURI() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getURI() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
getURI() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
Deprecated.
 
getURI() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
getURIDataSources(String) - Static method in class net.sourceforge.pmd.PMD
Parses the given string as a database uri and returns a list of datasources.
getURL() - Method in class net.sourceforge.pmd.util.database.DBURI
 
getUsageGraph() - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder
 
getUserData() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getUserData() - Method in interface net.sourceforge.pmd.lang.ast.Node
Get the user data associated with this node.
getUserMessage() - Method in class net.sourceforge.pmd.Report.SuppressedViolation
 
getUsers() - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
getUses() - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
getValue() - Method in class net.sourceforge.pmd.lang.ast.xpath.Attribute
 
getValueParser() - Method in enum net.sourceforge.pmd.properties.PropertyTypeId
getValues() - Method in class net.sourceforge.pmd.cpd.CPDTask.FormatAttribute
 
getValueType() - Method in class net.sourceforge.pmd.properties.modules.EnumeratedPropertyModule
Deprecated.
 
getVariableAccess() - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
getVariableAccess() - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
getVariableName() - Method in class net.sourceforge.pmd.cache.CachedRuleViolation
 
getVariableName() - Method in class net.sourceforge.pmd.lang.dfa.VariableAccess
 
getVariableName() - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
getVariableName() - Method in interface net.sourceforge.pmd.RuleViolation
Get the variable name on which this violation was identified.
getVariableValue(String) - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
getVersion() - Method in class net.sourceforge.pmd.ant.SourceLanguage
 
getVersion() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getVersion() - Method in class net.sourceforge.pmd.lang.LanguageVersion
 
getVersion(String) - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
getVersion(String) - Method in interface net.sourceforge.pmd.lang.Language
Get the LanguageVersion for the version string from this Language.
getVersions() - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
getVersions() - Method in interface net.sourceforge.pmd.lang.Language
Gets the list of supported LanguageVersion for this Language.
getViolationParameters(DataPoint) - Method in interface net.sourceforge.pmd.lang.rule.stat.StatisticalRule
Deprecated.
 
getViolations() - Method in class net.sourceforge.pmd.cache.AnalysisResult
 
getViolationTree() - Method in class net.sourceforge.pmd.Report
 
getWallClockMillis() - Method in class net.sourceforge.pmd.benchmark.TimingReport
 
getWriter() - Method in class net.sourceforge.pmd.renderers.AbstractRenderer
 
getWriter() - Method in interface net.sourceforge.pmd.renderers.Renderer
Get the Writer for the Renderer.
getXPathAttributesIterator() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
getXPathAttributesIterator() - Method in interface net.sourceforge.pmd.lang.ast.Node
Returns an iterator enumerating all the attributes that are available from XPath for this node.
getXPathExpression() - Method in class net.sourceforge.pmd.util.viewer.gui.XPathPanel
Deprecated.
 
getXPathHandler() - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getXPathHandler() - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Get the XPathHandler.
getXPathNodeName() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
Gets the name of the node that is used to match it with XPath queries.
getXPathNodeName() - Method in interface net.sourceforge.pmd.lang.ast.Node
Gets the name of the node that is used to match it with XPath queries.
go() - Method in class net.sourceforge.pmd.cpd.CPD
 
GridBagHelper - Class in net.sourceforge.pmd.cpd
 
GridBagHelper(Container, double[]) - Constructor for class net.sourceforge.pmd.cpd.GridBagHelper
 
GROUPING - Static variable in interface net.sourceforge.pmd.cpd.CPDListener
 
GUI - Class in net.sourceforge.pmd.cpd
 
GUI() - Constructor for class net.sourceforge.pmd.cpd.GUI
 

H

hasChildNodes() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
hasChildNodes() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
Deprecated.
 
hasChildNodes() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
hasCompiledTree() - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
Deprecated.
Determines whether the model has a compiled tree at it's disposal.
hasConfigErrors() - Method in class net.sourceforge.pmd.Report
Checks whether any configuration errors have been reported.
hasDecendantOfAnyType(Class<?>...) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
hasDescendantMatchingXPath(String) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
hasDescendantMatchingXPath(String) - Method in interface net.sourceforge.pmd.lang.ast.Node
Checks whether at least one descendant matches the xpath expression.
hasDescendantOfAnyType(Class<?>...) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
Returns true if this node has a descendant of any type among the provided types.
hasDescendantOfType(Class<T>) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
hasDescendantOfType(Class<T>) - Method in interface net.sourceforge.pmd.lang.ast.Node
Finds if this node contains a descendant of the given type without crossing find boundaries.
hasDescriptor(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
hasDescriptor(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
hasDescriptor(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.properties.AbstractPropertySource
 
hasDescriptor(PropertyDescriptor<?>) - Method in interface net.sourceforge.pmd.properties.PropertySource
Returns whether the specified property is defined on this property source, in which case it can be set or retrieved with PropertySource.getProperty(PropertyDescriptor) and PropertySource.setProperty(PropertyDescriptor, Object).
hasErrors() - Method in class net.sourceforge.pmd.Report
Checks whether any processing errors have been reported.
hasExtension(String) - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
hasExtension(String) - Method in interface net.sourceforge.pmd.lang.Language
Returns whether the given Language handles the given file extension.
HASH - Static variable in interface net.sourceforge.pmd.cpd.CPDListener
 
hashCode() - Method in class net.sourceforge.pmd.cpd.Mark
 
hashCode() - Method in class net.sourceforge.pmd.cpd.TokenEntry
 
hashCode() - Method in class net.sourceforge.pmd.dcd.graph.ClassNode
 
hashCode() - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
hashCode() - Method in class net.sourceforge.pmd.lang.ast.xpath.Attribute
 
hashCode() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
hashCode() - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
hashCode() - Method in class net.sourceforge.pmd.lang.metrics.AbstractMetric
 
hashCode() - Method in class net.sourceforge.pmd.lang.metrics.MetricOptions
 
hashCode() - Method in class net.sourceforge.pmd.lang.metrics.ParameterizedMetricKey
 
hashCode() - Method in class net.sourceforge.pmd.lang.ParserOptions
 
hashCode() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
hashCode() - Method in class net.sourceforge.pmd.lang.rule.ImportWrapper
 
hashCode() - Method in class net.sourceforge.pmd.RuleSet
 
hashCode() - Method in class net.sourceforge.pmd.util.database.DBType
 
hashCode() - Method in class net.sourceforge.pmd.util.datasource.FileDataSource
 
hashCode() - Method in class net.sourceforge.pmd.util.datasource.ZipDataSource
 
hasImageEqualTo(String) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
hasImageEqualTo(String) - Method in interface net.sourceforge.pmd.lang.ast.Node
Returns true if this node's image is equal to the given string.
hasMetrics() - Method in class net.sourceforge.pmd.Report
Check whether any metrics have been reported
hasNext() - Method in class net.sourceforge.pmd.lang.ast.xpath.AttributeAxisIterator
Deprecated.
 
hasNext() - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
Deprecated.
 
hasNext() - Method in class net.sourceforge.pmd.util.CompoundIterator
 
hasNext() - Method in class net.sourceforge.pmd.util.EmptyIterator
 
hasOverriddenProperty(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
hasVersion(String) - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
hasVersion(String) - Method in interface net.sourceforge.pmd.lang.Language
 
HIGH - net.sourceforge.pmd.RulePriority
High: Change absolutely required.
HIGHEST - net.sourceforge.pmd.lang.metrics.ResultOption
Compute the highest value among all operations.
HTMLRenderer - Class in net.sourceforge.pmd.renderers
Renderer to basic HTML format.
HTMLRenderer() - Constructor for class net.sourceforge.pmd.renderers.HTMLRenderer
 

I

id - Variable in class net.sourceforge.pmd.lang.ast.AbstractNode
 
id - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
Deprecated.
 
id - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
id - Variable in class net.sourceforge.pmd.renderers.ColumnDescriptor
 
IDEAJRenderer - Class in net.sourceforge.pmd.renderers
Renderer for IntelliJ IDEA integration.
IDEAJRenderer() - Constructor for class net.sourceforge.pmd.renderers.IDEAJRenderer
 
IdGenerator - Class in net.sourceforge.pmd.lang.ast.xpath.saxon
Deprecated.
IdGenerator() - Constructor for class net.sourceforge.pmd.lang.ast.xpath.saxon.IdGenerator
Deprecated.
 
IF_EXPR - net.sourceforge.pmd.lang.dfa.NodeType
 
IF_LAST_STATEMENT - net.sourceforge.pmd.lang.dfa.NodeType
 
IF_LAST_STATEMENT_WITHOUT_ELSE - net.sourceforge.pmd.lang.dfa.NodeType
 
ignorableCharacter - Variable in class net.sourceforge.pmd.cpd.AbstractTokenizer
 
ignorableStmt - Variable in class net.sourceforge.pmd.cpd.AbstractTokenizer
 
IGNORE_ANNOTATIONS - Static variable in interface net.sourceforge.pmd.cpd.Tokenizer
 
IGNORE_IDENTIFIERS - Static variable in interface net.sourceforge.pmd.cpd.Tokenizer
 
IGNORE_LITERALS - Static variable in interface net.sourceforge.pmd.cpd.Tokenizer
 
IGNORE_USINGS - Static variable in interface net.sourceforge.pmd.cpd.Tokenizer
Ignore using directives in C#.
ignoreCase - Variable in class net.sourceforge.pmd.util.filter.FileExtensionFilter
 
ignoredProperties() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
ignoredProperties() - Method in class net.sourceforge.pmd.properties.AbstractPropertySource
Deprecated.
ignoredProperties() - Method in interface net.sourceforge.pmd.properties.PropertySource
Deprecated.
Has no real utility, will be removed by 7.0.0
ImageFinderFunction - Class in net.sourceforge.pmd.lang.symboltable
 
ImageFinderFunction(String) - Constructor for class net.sourceforge.pmd.lang.symboltable.ImageFinderFunction
 
ImageFinderFunction(List<String>) - Constructor for class net.sourceforge.pmd.lang.symboltable.ImageFinderFunction
 
ImmutableLanguage - Interface in net.sourceforge.pmd.lang.rule
This is a tag interface to indicate that a Rule implementation class does not support changes to it's Language.
ImportWrapper - Class in net.sourceforge.pmd.lang.rule
 
ImportWrapper(String, String) - Constructor for class net.sourceforge.pmd.lang.rule.ImportWrapper
 
ImportWrapper(String, String, Node) - Constructor for class net.sourceforge.pmd.lang.rule.ImportWrapper
 
ImportWrapper(String, String, Node, boolean) - Constructor for class net.sourceforge.pmd.lang.rule.ImportWrapper
 
ImportWrapper(String, String, Node, Class<?>, boolean) - Constructor for class net.sourceforge.pmd.lang.rule.ImportWrapper
 
inBuf - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
inBuf - Variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
index - Variable in enum net.sourceforge.pmd.benchmark.Benchmark
Deprecated.
 
index(String) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder
 
indexNode(Node) - Method in class net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor
Index a single node for visitation by rules.
indexNodes(List<Node>, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor
Index all nodes for visitation by rules.
init() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
INIT - Static variable in interface net.sourceforge.pmd.cpd.CPDListener
 
INIT - Static variable in class net.sourceforge.pmd.dcd.ClassLoaderUtil
 
initialize() - Method in class net.sourceforge.pmd.lang.ast.xpath.DefaultASTXPathHandler
Deprecated.
 
initialize() - Method in class net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor
Initialize the RuleChainVisitor to be ready to perform visitations.
initialize() - Static method in class net.sourceforge.pmd.lang.xpath.Initializer
Deprecated.
Perform all initialization.
initialize() - Method in interface net.sourceforge.pmd.lang.XPathHandler
Deprecated.
Initialize.
initialize(IndependentContext) - Method in class net.sourceforge.pmd.lang.ast.xpath.DefaultASTXPathHandler
Deprecated.
 
initialize(IndependentContext) - Static method in class net.sourceforge.pmd.lang.xpath.Initializer
Deprecated.
Perform all initialization.
initialize(IndependentContext) - Method in interface net.sourceforge.pmd.lang.XPathHandler
Deprecated.
Initialize.
initialize(IndependentContext, Language, Class<?>) - Method in class net.sourceforge.pmd.lang.ast.xpath.AbstractASTXPathHandler
Deprecated.
 
initialize(RuleSets) - Method in class net.sourceforge.pmd.cache.CachedRuleMapper
Initialize the mapper with the given rulesets.
Initializer - Class in net.sourceforge.pmd.lang.xpath
Deprecated.
Is internal API
initThread() - Static method in class net.sourceforge.pmd.benchmark.TimeTracker
Initialize a thread, starting to track it's own time.
inputStream - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
inputStream - Variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
inRange(N, N) - Static method in class net.sourceforge.pmd.properties.constraints.NumericConstraints
Requires the number to be inside a range.
insert(int, int, String) - Method in interface net.sourceforge.pmd.document.Document
Insert a text at a line at the position/column specified.
insert(int, int, String) - Method in class net.sourceforge.pmd.document.DocumentFile
 
InsertDocumentOperation - Class in net.sourceforge.pmd.document
Represents an insert operation in a Document.
InsertDocumentOperation(int, int, String) - Constructor for class net.sourceforge.pmd.document.InsertDocumentOperation
 
instance() - Static method in class net.sourceforge.pmd.util.EmptyIterator
 
INSTANCE - Static variable in class net.sourceforge.pmd.dcd.graph.ClassNodeComparator
 
INSTANCE - Static variable in class net.sourceforge.pmd.dcd.graph.MemberNodeComparator
 
INSTANCE - Static variable in class net.sourceforge.pmd.RuleViolationComparator
 
INSTANCE - Static variable in class net.sourceforge.pmd.util.EmptyIterator
 
INSTANCE - Static variable in class net.sourceforge.pmd.util.filter.DirectoryFilter
 
INTEGER - net.sourceforge.pmd.properties.PropertyTypeId
 
INTEGER_LIST - net.sourceforge.pmd.properties.PropertyTypeId
 
IntegerMultiProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Use a PropertyDescriptor<List<Integer>> instead. A builder is available from PropertyFactory.intListProperty(String). This class will be removed in 7.0.0.
IntegerMultiProperty(String, String, Integer, Integer, Integer[], float) - Constructor for class net.sourceforge.pmd.properties.IntegerMultiProperty
IntegerMultiProperty(String, String, Integer, Integer, List<Integer>, float) - Constructor for class net.sourceforge.pmd.properties.IntegerMultiProperty
IntegerMultiProperty.IntegerMultiPBuilder - Class in net.sourceforge.pmd.properties
IntegerProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Use a PropertyDescriptor<Integer> instead. A builder is available from PropertyFactory.intProperty(String). This class will be removed in 7.0.0.
IntegerProperty(String, String, Integer, Integer, Integer, float) - Constructor for class net.sourceforge.pmd.properties.IntegerProperty
IntegerProperty.IntegerPBuilder - Class in net.sourceforge.pmd.properties
INTERNAL_DEV_PROPERTIES - Static variable in class net.sourceforge.pmd.renderers.CodeClimateRenderer
 
InternalApi - Annotation Type in net.sourceforge.pmd.annotation
Tags API members that are not publicly supported API.
intListProperty(String) - Static method in class net.sourceforge.pmd.properties.PropertyFactory
Returns a builder for a property having as value a list of integers.
intProperty(String) - Static method in class net.sourceforge.pmd.properties.PropertyFactory
Returns a builder for an integer property.
INVALID_LEXICAL_STATE - Static variable in exception net.sourceforge.pmd.lang.ast.TokenMgrError
Tried to change to an invalid lexical state.
invertedMapFrom(Map<K, V>) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Returns a map based on the source but with the key & values swapped.
IOUtil - Class in net.sourceforge.pmd.util
 
isAllRules() - Method in class net.sourceforge.pmd.RuleSetReference
 
isAllRules() - Method in class net.sourceforge.pmd.RuleSetReferenceId
Is this a reference to all Rules in a RuleSet, or a single Rule?
isAnyOf(String, String...) - Static method in class net.sourceforge.pmd.util.StringUtil
Returns whether the non-null text arg matches any of the test values.
isAttribute(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
isAttributeAccessor(Method) - Method in class net.sourceforge.pmd.lang.ast.xpath.AttributeAxisIterator
Deprecated.
Returns whether the given method is an attribute accessor, in which case a corresponding Attribute will be added to the iterator.
isBenchmark() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
isBenchmark() - Method in class net.sourceforge.pmd.PMDConfiguration
Return the benchmark indicator.
isBranch() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
isClass() - Method in interface net.sourceforge.pmd.lang.ast.QualifiedName
Returns true if the resource addressed by this qualified name is a class.
isClass(String) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraph
 
isCollectionType(Class<?>, boolean) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Return whether we can identify the typeName as a java.util collection class or interface as specified.
isCollectionType(String, boolean) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Return whether we can identify the typeName as a java.util collection class or interface as specified.
isComment(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
isDebug() - Method in class net.sourceforge.pmd.AbstractConfiguration
Return the debug indicator.
isDebug() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
isDefault() - Method in class net.sourceforge.pmd.cpd.token.AntlrToken
 
isDefinedExternally - Variable in class net.sourceforge.pmd.properties.PropertyBuilder
 
isDefinedExternally() - Method in interface net.sourceforge.pmd.properties.PropertyDescriptor
Deprecated.
May be removed with 7.0.0
isDefinedInXML - Variable in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilder
Deprecated.
 
isDefinition() - Method in class net.sourceforge.pmd.lang.dfa.VariableAccess
 
isDeprecated() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
isDeprecated() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
isDeprecated() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
isDeprecated() - Method in interface net.sourceforge.pmd.Rule
Gets whether this Rule is deprecated.
isDfa() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
isDfa() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
isDfa() - Method in interface net.sourceforge.pmd.Rule
Deprecated.
Optional AST processing stages will be reified in 7.0.0 to factorise common logic. This method and the similar methods will be removed.
isDoBranchNode() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
isDocument(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
isElement(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
isEmpty() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
isEmpty() - Method in class net.sourceforge.pmd.Report
 
isEmpty(Object[]) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Returns whether the items array is null or has zero length.
isEmpty(String) - Static method in class net.sourceforge.pmd.util.StringUtil
Deprecated.
StringUtils.isBlank(CharSequence)
isEndNode() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
isExternal() - Method in class net.sourceforge.pmd.RuleSetReferenceId
Is this an external RuleSet reference?
isFailOnError() - Method in class net.sourceforge.pmd.ant.PMDTask
 
isFailOnRuleViolation() - Method in class net.sourceforge.pmd.ant.PMDTask
 
isFailOnViolation() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
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.).
isFindBoundary() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
isFindBoundary() - Method in interface net.sourceforge.pmd.lang.ast.Node
Returns true if this node is considered a boundary by traversal methods.
isFirstDoStatement() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
isHelp() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
isHelp() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isHidden() - Method in class net.sourceforge.pmd.cpd.token.AntlrToken
 
isId() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
isIdref() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
isIgnoreAnnotations() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isIgnoreClassAnonymous() - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
isIgnoreConstructorAllPrivate() - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
isIgnoreConstructorSinglePrivateNoArg() - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
isIgnoreConstructorStaticInitializer() - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
isIgnoreExceptions() - Method in class net.sourceforge.pmd.RuleContext
Gets the configuration whether to skip failing rules (true) or whether to throw a a RuntimeException and abort the processing for the first failing rule.
isIgnoreFieldInlinable() - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
isIgnoreIdentifiers() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isIgnoreIncrementalAnalysis() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
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
 
isIgnoreMethodAllOverride() - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
isIgnoreMethodJavaLangObjectOverride() - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
isIgnoreMethodMain() - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
isIgnoreUsings() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isInstanceInitializer() - Method in class net.sourceforge.pmd.dcd.graph.ConstructorNode
 
isLanguageSpecificDiscarding() - Method in class net.sourceforge.pmd.cpd.token.internal.BaseTokenFilter
Extension point for subclasses to indicate tokens are to be filtered.
isLeaf() - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Deprecated.
 
isLeaf() - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
Deprecated.
 
isLeaf(Object) - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
Deprecated.
 
isMissing(String) - Static method in class net.sourceforge.pmd.util.StringUtil
Deprecated.
StringUtils.isEmpty(CharSequence)
isMultifile() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
isMultifile() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
isMultifile() - Method in interface net.sourceforge.pmd.Rule
Deprecated.
Logic for multifile analysis is not implemented yet and probably won't be implemented this way. Will be removed in 7.0.0.
isMultiValue() - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper
Deprecated.
 
isMultiValue() - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.MultiValue
Deprecated.
 
isMultiValue() - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.SingleValue
Deprecated.
 
isMultiValue() - Method in interface net.sourceforge.pmd.properties.builders.PropertyDescriptorExternalBuilder
Deprecated.
Whether this descriptor is multi-valued.
isMultiValue() - Method in interface net.sourceforge.pmd.properties.PropertyDescriptor
Deprecated.
The hard divide between multi- and single-value properties will be removed with 7.0.0
isNamespace(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
isNilled() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
isNoCache() - Method in class net.sourceforge.pmd.ant.PMDTask
 
isNonRecursive() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isNoOutputSupplied() - Method in class net.sourceforge.pmd.ant.Formatter
 
isNoRuleSetCompatibility() - Method in class net.sourceforge.pmd.ant.PMDTask
 
isNoSkipBlocks() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isNotEmpty(Object[]) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Returns whether the items array is non-null and has at least one entry.
isNotEmpty(String) - Static method in class net.sourceforge.pmd.util.StringUtil
Deprecated.
StringUtils.isNotBlank(CharSequence)
isOperation() - Method in interface net.sourceforge.pmd.lang.ast.QualifiedName
Returns true if the resource addressed by this qualified name is an operation.
isOverriddenDeprecated() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
isOverridenMethod(Class<?>, Method, boolean) - Static method in class net.sourceforge.pmd.dcd.ClassLoaderUtil
 
isProcessingInstruction(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
isPropertyMultivalue() - Method in enum net.sourceforge.pmd.properties.PropertyTypeId
isPropertyNumeric() - Method in enum net.sourceforge.pmd.properties.PropertyTypeId
Deprecated.
isPropertyOverridden(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
isPropertyOverridden(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
isPropertyOverridden(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.properties.AbstractPropertySource
 
isPropertyOverridden(PropertyDescriptor<?>) - Method in interface net.sourceforge.pmd.properties.PropertySource
Returns true if the given property has been set to a value somewhere in the XML.
isPropertyPackaged() - Method in enum net.sourceforge.pmd.properties.PropertyTypeId
Deprecated.
isPseudoPathElement() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.PathElement
 
isReference() - Method in class net.sourceforge.pmd.lang.dfa.VariableAccess
 
isReportShortNames() - Method in class net.sourceforge.pmd.PMDConfiguration
Get whether to use File short names in Reports.
isRuleChain() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
isRuleChain() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
isRuleChain() - Method in interface net.sourceforge.pmd.Rule
Gets whether this Rule uses the RuleChain.
isRuleSetFactoryCompatibilityEnabled() - Method in class net.sourceforge.pmd.PMDConfiguration
Checks if the rule set factory compatibility feature is enabled.
isSame(String, String, boolean, boolean, boolean) - Static method in class net.sourceforge.pmd.util.StringUtil
Are the two String values the same.
isSameNodeInfo(NodeInfo) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
This implementation delegates to AbstractNodeInfo.equals(Object), per the Saxon documentation's description of this method's behavior.
isShortFilenames() - Method in class net.sourceforge.pmd.ant.PMDTask
 
isShortnames() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
isShowsuppressed() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
isShowSuppressedViolations() - Method in class net.sourceforge.pmd.PMDConfiguration
Get whether the report should show suppressed violations.
isShowSuppressedViolations() - Method in class net.sourceforge.pmd.renderers.AbstractRenderer
 
isShowSuppressedViolations() - Method in interface net.sourceforge.pmd.renderers.Renderer
Get the indicator for whether to show suppressed violations.
isSingleLine() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
isSkipDuplicates() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isSkipLexicalErrors() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isSnapshot() - Static method in class net.sourceforge.pmd.PMDVersion
Checks if the current version is a snapshot.
isStaticInitializer() - Method in class net.sourceforge.pmd.dcd.graph.ConstructorNode
 
isStaticOnDemand() - Method in class net.sourceforge.pmd.lang.rule.ImportWrapper
 
isStress() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
isStressTest() - Method in class net.sourceforge.pmd.PMDConfiguration
Return the stress test indicator.
issue() - Method in class net.sourceforge.pmd.Report.ConfigurationError
Gets the reason for the configuration error.
isSupportedVersion(String) - Method in class net.sourceforge.pmd.lang.rule.xpath.AbstractXPathRuleQuery
Subclasses should implement to indicate whether an XPath version is supported.
isSupportedVersion(String) - Method in class net.sourceforge.pmd.lang.rule.xpath.JaxenXPathRuleQuery
 
isSupportedVersion(String) - Method in class net.sourceforge.pmd.lang.rule.xpath.SaxonXPathRuleQuery
 
isSuppressed() - Method in class net.sourceforge.pmd.cache.CachedRuleViolation
 
isSuppressed() - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
isSuppressed() - Method in interface net.sourceforge.pmd.RuleViolation
Indicates whether this violation has been suppressed.
isText(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
isType(NodeType) - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
isType(NodeType) - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
isTypeResolution() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
Deprecated.
 
isTypeResolution() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
isTypeResolution() - Method in interface net.sourceforge.pmd.Rule
Deprecated.
Optional AST processing stages will be reified in 7.0.0 to factorise common logic. This method and the similar methods will be removed.
isUndefinition() - Method in class net.sourceforge.pmd.lang.dfa.VariableAccess
 
isUnknown() - Static method in class net.sourceforge.pmd.PMDVersion
Checks if the current version is unknown.
isUpToDate(File) - Method in class net.sourceforge.pmd.cache.AbstractAnalysisCache
 
isUpToDate(File) - Method in interface net.sourceforge.pmd.cache.AnalysisCache
Checks if a given file is up to date in the cache and can be skipped from analysis.
isUpToDate(File) - Method in class net.sourceforge.pmd.cache.NoopAnalysisCache
 
isVariable(String) - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
itemTypeName() - Method in class net.sourceforge.pmd.properties.modules.MethodPropertyModule
Deprecated.
 
itemTypeName() - Method in class net.sourceforge.pmd.properties.modules.PackagedPropertyModule
Deprecated.
Returns the name of the type of item.
itemTypeName() - Method in class net.sourceforge.pmd.properties.modules.TypePropertyModule
Deprecated.
 
iterateAxis(byte) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
 
iterateAxis(byte) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
Deprecated.
 
iterateAxis(byte) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
iterateAxis(byte, NodeTest) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Deprecated.
This implementation calls AbstractNodeInfo.iterateAxis(byte) to get an AxisIterator which is then optionally filtered using Navigator.AxisFilter.
iterator - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeAxisIterator
Deprecated.
 
iterator() - Method in class net.sourceforge.pmd.cpd.Match
 
iterator() - Method in class net.sourceforge.pmd.cpd.Tokens
 
iterator() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
iterator() - Method in class net.sourceforge.pmd.lang.dfa.report.ReportTree
Deprecated.
 
iterator() - Method in class net.sourceforge.pmd.Report
 
iterator() - Method in class net.sourceforge.pmd.util.FileIterable
 
IteratorUtil - Class in net.sourceforge.pmd.internal.util
 

J

jarName() - Static method in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
JavaCCTokenFilter - Class in net.sourceforge.pmd.cpd.token
A generic filter for JavaCC-based token managers that allows to use comments to enable / disable analysis of parts of the stream
JavaCCTokenFilter(TokenManager) - Constructor for class net.sourceforge.pmd.cpd.token.JavaCCTokenFilter
Creates a new JavaCCTokenFilter
JavaCCTokenizer - Class in net.sourceforge.pmd.cpd.internal
 
JavaCCTokenizer() - Constructor for class net.sourceforge.pmd.cpd.internal.JavaCCTokenizer
 
JavaCharStream - Class in net.sourceforge.pmd.lang.ast
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).
JavaCharStream(InputStream) - Constructor for class net.sourceforge.pmd.lang.ast.JavaCharStream
Constructor.
JavaCharStream(InputStream, int, int) - Constructor for class net.sourceforge.pmd.lang.ast.JavaCharStream
Constructor.
JavaCharStream(InputStream, int, int, int) - Constructor for class net.sourceforge.pmd.lang.ast.JavaCharStream
Constructor.
JavaCharStream(InputStream, String) - Constructor for class net.sourceforge.pmd.lang.ast.JavaCharStream
Constructor.
JavaCharStream(InputStream, String, int, int) - Constructor for class net.sourceforge.pmd.lang.ast.JavaCharStream
Constructor.
JavaCharStream(InputStream, String, int, int, int) - Constructor for class net.sourceforge.pmd.lang.ast.JavaCharStream
Constructor.
JavaCharStream(Reader) - Constructor for class net.sourceforge.pmd.lang.ast.JavaCharStream
Constructor.
JavaCharStream(Reader, int, int) - Constructor for class net.sourceforge.pmd.lang.ast.JavaCharStream
Constructor.
JavaCharStream(Reader, int, int, int) - Constructor for class net.sourceforge.pmd.lang.ast.JavaCharStream
Constructor.
JaxenXPathRuleQuery - Class in net.sourceforge.pmd.lang.rule.xpath
This is a Jaxen based XPathRule query.
JaxenXPathRuleQuery() - Constructor for class net.sourceforge.pmd.lang.rule.xpath.JaxenXPathRuleQuery
 
jjtAddChild(Node, int) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtAddChild(Node, int) - Method in interface net.sourceforge.pmd.lang.ast.Node
This method tells the node to add its argument to the node's list of children.
jjtClose() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtClose() - Method in interface net.sourceforge.pmd.lang.ast.Node
This method is called after all the child nodes have been added.
jjtGetChild(int) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtGetChild(int) - Method in interface net.sourceforge.pmd.lang.ast.Node
This method returns a child node.
jjtGetChildIndex() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtGetChildIndex() - Method in interface net.sourceforge.pmd.lang.ast.Node
Gets the index of this node in the children of its parent.
jjtGetFirstToken() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtGetId() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtGetId() - Method in interface net.sourceforge.pmd.lang.ast.Node
 
jjtGetLastToken() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtGetNumChildren() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtGetNumChildren() - Method in interface net.sourceforge.pmd.lang.ast.Node
Returns the number of children the node has.
jjtGetParent() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtGetParent() - Method in interface net.sourceforge.pmd.lang.ast.Node
Returns the parent of this node.
jjtOpen() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtOpen() - Method in interface net.sourceforge.pmd.lang.ast.Node
This method is called after the node has been made the current node.
jjtSetChildIndex(int) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtSetChildIndex(int) - Method in interface net.sourceforge.pmd.lang.ast.Node
Sets the index of this node from the perspective of its parent.
jjtSetFirstToken(GenericToken) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtSetLastToken(GenericToken) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtSetParent(Node) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtSetParent(Node) - Method in interface net.sourceforge.pmd.lang.ast.Node
Sets the parent of this node.

K

key - Variable in class net.sourceforge.pmd.lang.metrics.ParameterizedMetricKey
The metric key.

L

LABEL_COMPARATOR - Static variable in class net.sourceforge.pmd.cpd.Match
 
LABEL_LAST_STATEMENT - net.sourceforge.pmd.lang.dfa.NodeType
 
LABEL_STATEMENT - net.sourceforge.pmd.lang.dfa.NodeType
 
LABELS - net.sourceforge.pmd.properties.PropertyDescriptorField
Deprecated.
Labels for enumerated properties.
Language - Interface in net.sourceforge.pmd.cpd
 
Language - Interface in net.sourceforge.pmd.lang
Interface each Language implementation has to implement.
LANGUAGE_MODULES_CLASS_NAMES_PROPERTY - Static variable in interface net.sourceforge.pmd.lang.Language
 
LanguageConverter() - Constructor for class net.sourceforge.pmd.cpd.CPDConfiguration.LanguageConverter
 
LanguageFactory - Class in net.sourceforge.pmd.cpd
 
LanguageFilenameFilter - Class in net.sourceforge.pmd.lang
This is an implementation of the FilenameFilter interface which compares a file against a collection of Languages to see if the any are applicable.
LanguageFilenameFilter(Set<Language>) - Constructor for class net.sourceforge.pmd.lang.LanguageFilenameFilter
Create a LanguageFilenameFilter for a List of Languages.
LanguageFilenameFilter(Language) - Constructor for class net.sourceforge.pmd.lang.LanguageFilenameFilter
Create a LanguageFilenameFilter for a single Language.
LanguageMetricsProvider<T extends QualifiableNode,​O extends QualifiableNode> - Interface in net.sourceforge.pmd.lang.metrics
Language-specific provider for metrics.
LanguageRegistry - Class in net.sourceforge.pmd.lang
Created by christoferdutz on 20.09.14.
LANGUAGES - net.sourceforge.pmd.util.database.DBType.Property
 
LanguageVersion - Class in net.sourceforge.pmd.lang
Created by christoferdutz on 21.09.14.
LanguageVersion(Language, String, LanguageVersionHandler) - Constructor for class net.sourceforge.pmd.lang.LanguageVersion
 
LanguageVersionDiscoverer - Class in net.sourceforge.pmd.lang
This class can discover the LanguageVersion of a source file.
LanguageVersionDiscoverer() - Constructor for class net.sourceforge.pmd.lang.LanguageVersionDiscoverer
 
LanguageVersionHandler - Interface in net.sourceforge.pmd.lang
Interface for obtaining the classes necessary for checking source files of a specific language.
lastToken - Variable in class net.sourceforge.pmd.lang.ast.AbstractNode
 
LEGAL_PACKAGES - net.sourceforge.pmd.properties.PropertyDescriptorField
Deprecated.
To limit the range of valid values, package names.
legalPackageNames - Variable in class net.sourceforge.pmd.properties.builders.MultiPackagedPropertyBuilder
Deprecated.
 
legalPackageNames - Variable in class net.sourceforge.pmd.properties.builders.SinglePackagedPropertyBuilder
Deprecated.
 
legalPackageNames() - Method in class net.sourceforge.pmd.properties.modules.PackagedPropertyModule
Deprecated.
 
legalPackageNames() - Method in interface net.sourceforge.pmd.properties.PackagedPropertyDescriptor
Deprecated.
Returns the legal package names.
legalPackageNames(String...) - Method in class net.sourceforge.pmd.properties.builders.SinglePackagedPropertyBuilder
Deprecated.
Specify the allowed package prefixes.
legalPackageNames(Collection<String>) - Method in class net.sourceforge.pmd.properties.builders.SinglePackagedPropertyBuilder
Deprecated.
Specify the allowed package prefixes.
legalPackageNamesIn(Map<PropertyDescriptorField, String>, char) - Static method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper
Deprecated.
 
legalPackages(String[]) - Method in class net.sourceforge.pmd.properties.builders.MultiPackagedPropertyBuilder
Deprecated.
 
LENGTH_COMPARATOR - Static variable in class net.sourceforge.pmd.cpd.Match
 
lengthOfShortestIn(String[]) - Static method in class net.sourceforge.pmd.util.StringUtil
Return the length of the shortest string in the array.
LEXICAL_ERROR - Static variable in exception net.sourceforge.pmd.lang.ast.TokenMgrError
Lexical error occurred.
LexicalError(boolean, int, int, int, String, char) - Static method in exception net.sourceforge.pmd.lang.ast.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
line - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
line - Variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
line - Variable in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
LINE_PREFIX - Static variable in class net.sourceforge.pmd.renderers.HTMLRenderer
 
LineGetter - Interface in net.sourceforge.pmd.util.designer
Deprecated.
lineNumberFromOffset(int) - Method in class net.sourceforge.pmd.lang.ast.SourceCodePositioner
 
lines - Variable in class net.sourceforge.pmd.renderers.CodeClimateIssue.Location
 
LINES_COMPARATOR - Static variable in class net.sourceforge.pmd.cpd.Match
 
LINK_PREFIX - Static variable in class net.sourceforge.pmd.renderers.HTMLRenderer
 
Linker - Class in net.sourceforge.pmd.lang.dfa
 
Linker(DataFlowHandler, List<StackObject>, List<StackObject>) - Constructor for class net.sourceforge.pmd.lang.dfa.Linker
 
LinkerException - Exception in net.sourceforge.pmd.lang.dfa
 
LinkerException() - Constructor for exception net.sourceforge.pmd.lang.dfa.LinkerException
 
LinkerException(String) - Constructor for exception net.sourceforge.pmd.lang.dfa.LinkerException
 
load() - Method in class net.sourceforge.pmd.cpd.SourceCode.CodeLoader
 
load(int, int) - Method in class net.sourceforge.pmd.cpd.SourceCode.CodeLoader
 
LOAD_RULES - net.sourceforge.pmd.benchmark.TimedOperationCategory
 
loadClass(String, boolean) - Method in class net.sourceforge.pmd.util.ClasspathClassLoader
 
loadClassPathResourceAsStream(String) - Method in class net.sourceforge.pmd.util.ResourceLoader
 
loadClassPathResourceAsStreamOrThrow(String) - Method in class net.sourceforge.pmd.util.ResourceLoader
 
loadResourceAsStream(String) - Method in class net.sourceforge.pmd.util.ResourceLoader
Attempts to load the resource from file, a URL or the claspath
LoadRules - net.sourceforge.pmd.benchmark.Benchmark
Deprecated.
 
location - Variable in class net.sourceforge.pmd.renderers.CodeClimateIssue
 
Location(String, int, int) - Constructor for class net.sourceforge.pmd.renderers.CodeClimateIssue.Location
 
LOG - Static variable in class net.sourceforge.pmd.cache.AbstractAnalysisCache
 
LONG - net.sourceforge.pmd.properties.PropertyTypeId
 
LONG_LIST - net.sourceforge.pmd.properties.PropertyTypeId
 
longIntListProperty(String) - Static method in class net.sourceforge.pmd.properties.PropertyFactory
Returns a builder for a property having as value a list of long integers.
longIntProperty(String) - Static method in class net.sourceforge.pmd.properties.PropertyFactory
Returns a builder for a long integer property.
LongMultiPBuilder(String) - Constructor for class net.sourceforge.pmd.properties.LongMultiProperty.LongMultiPBuilder
Deprecated.
 
LongMultiProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Use a PropertyDescriptor<List<Long>> instead. A builder is available from PropertyFactory.longIntListProperty(String). This class will be removed in 7.0.0.
LongMultiProperty(String, String, Long, Long, Long[], float) - Constructor for class net.sourceforge.pmd.properties.LongMultiProperty
LongMultiProperty(String, String, Long, Long, List<Long>, float) - Constructor for class net.sourceforge.pmd.properties.LongMultiProperty
LongMultiProperty.LongMultiPBuilder - Class in net.sourceforge.pmd.properties
LongProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Use a PropertyDescriptor<Long> instead. A builder is available from PropertyFactory.longIntProperty(String). This class will be removed in 7.0.0.
LongProperty(String, String, Long, Long, Long, float) - Constructor for class net.sourceforge.pmd.properties.LongProperty
LongProperty(String, String, String, String, String, float) - Constructor for class net.sourceforge.pmd.properties.LongProperty
LongProperty.LongPBuilder - Class in net.sourceforge.pmd.properties
lookupMnemonic(String) - Static method in enum net.sourceforge.pmd.properties.PropertyTypeId
Gets the enum constant corresponding to the given mnemonic.
LOOP_DETECTED - Static variable in exception net.sourceforge.pmd.lang.ast.TokenMgrError
Detected (and bailed out of) an infinite loop in the token manager.
lostOwnership(Clipboard, Transferable) - Method in class net.sourceforge.pmd.util.designer.Designer
Deprecated.
 
LOW - net.sourceforge.pmd.RulePriority
Low: Change highly optional.
lowerLimit - Variable in class net.sourceforge.pmd.properties.builders.MultiNumericPropertyBuilder
Deprecated.
 
lowerLimit - Variable in class net.sourceforge.pmd.properties.builders.SingleNumericPropertyBuilder
Deprecated.
 
lowerLimit() - Method in interface net.sourceforge.pmd.properties.NumericPropertyDescriptor
Deprecated.
Returns the minimum value that instances of the property can have.
lpad(String, int) - Static method in class net.sourceforge.pmd.util.StringUtil
Deprecated.
StringUtils.leftPad(String, int)

M

main(String[]) - Static method in class net.sourceforge.pmd.benchmark.Benchmarker
Deprecated.
 
main(String[]) - Static method in class net.sourceforge.pmd.cli.PMDCommandLineInterface
For testing purpose only...
main(String[]) - Static method in class net.sourceforge.pmd.cpd.CPD
 
main(String[]) - Static method in class net.sourceforge.pmd.cpd.CPDCommandLineInterface
 
main(String[]) - Static method in class net.sourceforge.pmd.cpd.GUI
 
main(String[]) - Static method in class net.sourceforge.pmd.dcd.DCD
 
main(String[]) - Static method in class net.sourceforge.pmd.PMD
Entry to invoke PMD as command line tool
main(String[]) - Static method in class net.sourceforge.pmd.util.designer.Designer
Deprecated.
 
main(String[]) - Static method in class net.sourceforge.pmd.util.viewer.Viewer
Deprecated.
 
MainFrame - Class in net.sourceforge.pmd.util.viewer.gui
Deprecated.
MainFrame() - Constructor for class net.sourceforge.pmd.util.viewer.gui.MainFrame
Deprecated.
constructs and shows the frame
mapFrom(K[], V[]) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Creates and returns a map populated with the keyValuesSets where the value held by the tuples are they key and value in that order.
mappings() - Method in class net.sourceforge.pmd.properties.EnumeratedMultiProperty
Deprecated.
 
mappings() - Method in class net.sourceforge.pmd.properties.EnumeratedProperty
Deprecated.
 
mappings() - Method in interface net.sourceforge.pmd.properties.EnumeratedPropertyDescriptor
Deprecated.
Returns an immutable map of the label - value mappings defined by this descriptor.
mappings(Map<String, E>) - Method in class net.sourceforge.pmd.properties.EnumeratedMultiProperty.EnumMultiPBuilder
Deprecated.
Sets the key-value mappings.
mappings(Map<String, E>) - Method in class net.sourceforge.pmd.properties.EnumeratedProperty.EnumPBuilder
Deprecated.
 
mark(Benchmark, long, long) - Static method in class net.sourceforge.pmd.benchmark.Benchmarker
Deprecated.
 
mark(Benchmark, String, long, long) - Static method in class net.sourceforge.pmd.benchmark.Benchmarker
Deprecated.
 
Mark - Class in net.sourceforge.pmd.cpd
 
Mark(TokenEntry) - Constructor for class net.sourceforge.pmd.cpd.Mark
 
Match - Class in net.sourceforge.pmd.cpd
 
Match(int, Mark, Mark) - Constructor for class net.sourceforge.pmd.cpd.Match
 
Match(int, TokenEntry, TokenEntry) - Constructor for class net.sourceforge.pmd.cpd.Match
 
MATCH - Static variable in interface net.sourceforge.pmd.cpd.CPDListener
 
MatchAlgorithm - Class in net.sourceforge.pmd.cpd
 
MatchAlgorithm(Map<String, SourceCode>, Tokens, int) - Constructor for class net.sourceforge.pmd.cpd.MatchAlgorithm
 
MatchAlgorithm(Map<String, SourceCode>, Tokens, int, CPDListener) - Constructor for class net.sourceforge.pmd.cpd.MatchAlgorithm
 
MatchCollector - Class in net.sourceforge.pmd.cpd
 
MatchCollector(MatchAlgorithm) - Constructor for class net.sourceforge.pmd.cpd.MatchCollector
 
matches() - Method in class net.sourceforge.pmd.cpd.MatchAlgorithm
 
matches(String, String) - Static method in class net.sourceforge.pmd.lang.xpath.PMDFunctions
Deprecated.
 
matches(String, String...) - Static method in class net.sourceforge.pmd.lang.xpath.MatchesFunction
Deprecated.
 
matches(String, String, String) - Static method in class net.sourceforge.pmd.lang.xpath.PMDFunctions
Deprecated.
 
matches(String, String, String, String) - Static method in class net.sourceforge.pmd.lang.xpath.PMDFunctions
Deprecated.
 
matches(String, String, String, String, String) - Static method in class net.sourceforge.pmd.lang.xpath.PMDFunctions
Deprecated.
 
matches(String, String, String, String, String, String) - Static method in class net.sourceforge.pmd.lang.xpath.PMDFunctions
Deprecated.
 
matches(String, String, String, String, String, String, String) - Static method in class net.sourceforge.pmd.lang.xpath.PMDFunctions
Deprecated.
 
matches(ImportWrapper) - Method in class net.sourceforge.pmd.lang.rule.ImportWrapper
 
MATCHES_COMPARATOR - Static variable in class net.sourceforge.pmd.cpd.Match
 
MatchesFunction - Class in net.sourceforge.pmd.lang.xpath
Deprecated.
MatchesFunction() - Constructor for class net.sourceforge.pmd.lang.xpath.MatchesFunction
Deprecated.
 
MAX - net.sourceforge.pmd.properties.PropertyDescriptorField
Deprecated.
The maximum allowed value for numeric properties.
maxCommonLeadingWhitespaceForAll(String[]) - Static method in class net.sourceforge.pmd.util.StringUtil
Determine the maximum number of common leading whitespace characters the strings share in the same sequence.
maximumLanguageVersion(String) - Method in class net.sourceforge.pmd.rules.RuleBuilder
 
maxNextCharInd - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
maxNextCharInd - Variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
MeasuredTotal - net.sourceforge.pmd.benchmark.Benchmark
Deprecated.
 
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.
MemberNode<S extends MemberNode<S,​T>,​T extends java.lang.reflect.Member> - Class in net.sourceforge.pmd.dcd.graph
Represents a Class Member in a UsageGraph.
MemberNode(ClassNode, String, String) - Constructor for class net.sourceforge.pmd.dcd.graph.MemberNode
 
MemberNodeComparator - Class in net.sourceforge.pmd.dcd.graph
Compares MemberNodes.
memoize(ParameterizedMetricKey<N>, double) - Method in class net.sourceforge.pmd.lang.metrics.BasicMetricMemoizer
 
memoize(ParameterizedMetricKey<N>, double) - Method in class net.sourceforge.pmd.lang.metrics.internal.DummyMetricMemoizer
 
memoize(ParameterizedMetricKey<N>, double) - Method in interface net.sourceforge.pmd.lang.metrics.MetricMemoizer
Memoizes a result for a metric and options.
merge(Report) - Method in class net.sourceforge.pmd.Report
Merges the given report into this report.
message(String) - Method in class net.sourceforge.pmd.rules.RuleBuilder
 
METHOD_ARG_DELIMITER - Static variable in class net.sourceforge.pmd.properties.modules.MethodPropertyModule
Deprecated.
 
METHOD_GROUP_DELIMITERS - Static variable in class net.sourceforge.pmd.properties.modules.MethodPropertyModule
Deprecated.
 
methodFor(Class<?>, String, Class<?>[]) - Static method in class net.sourceforge.pmd.util.ClassUtil
Attempts to return the specified method from the class provided but will walk up its superclasses until it finds a match.
MethodMultiProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Will be removed with 7.0.0 with no scheduled replacement
MethodMultiProperty(String, String, Method[], String[], float) - Constructor for class net.sourceforge.pmd.properties.MethodMultiProperty
Deprecated.
Constructor for MethodMultiProperty using an array of defaults.
MethodMultiProperty(String, String, String, String[], float) - Constructor for class net.sourceforge.pmd.properties.MethodMultiProperty
Deprecated.
will be removed in 7.O.O
MethodMultiProperty(String, String, List<Method>, String[], float) - Constructor for class net.sourceforge.pmd.properties.MethodMultiProperty
Deprecated.
Constructor for MethodProperty using a list of defaults.
MethodMultiProperty.MethodMultiPBuilder - Class in net.sourceforge.pmd.properties
Deprecated.
 
methodName - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
MethodNode - Class in net.sourceforge.pmd.dcd.graph
Represents a Class Method in a UsageGraph.
MethodNode(ClassNode, String, String) - Constructor for class net.sourceforge.pmd.dcd.graph.MethodNode
 
MethodProperty - Class in net.sourceforge.pmd.properties
Deprecated.
Not useful, will be remove by 7.0.0
MethodProperty(String, String, Method, String[], float) - Constructor for class net.sourceforge.pmd.properties.MethodProperty
Deprecated.
Constructor for MethodProperty.
MethodProperty(String, String, String, String[], float) - Constructor for class net.sourceforge.pmd.properties.MethodProperty
Deprecated.
will be removed in 7.0.0
MethodProperty.MethodPBuilder - Class in net.sourceforge.pmd.properties
Deprecated.
 
MethodPropertyModule - Class in net.sourceforge.pmd.properties.modules
Deprecated.
MethodPropertyModule(String[], List<Method>) - Constructor for class net.sourceforge.pmd.properties.modules.MethodPropertyModule
Deprecated.
 
Metric - Class in net.sourceforge.pmd.stat
Deprecated.
Metric<N extends Node> - Interface in net.sourceforge.pmd.lang.metrics
Object computing a metric on a node.
Metric(String, int, double, double, double, double, double) - Constructor for class net.sourceforge.pmd.stat.Metric
Deprecated.
Creates a new metric with the given information.
metricAdded(Metric) - Method in class net.sourceforge.pmd.cache.AbstractAnalysisCache
 
metricAdded(Metric) - Method in class net.sourceforge.pmd.cache.NoopAnalysisCache
 
metricAdded(Metric) - Method in interface net.sourceforge.pmd.ThreadSafeReportListener
Deprecated.
MetricKey<N extends Node> - Interface in net.sourceforge.pmd.lang.metrics
Key identifying a metric.
MetricKeyUtil - Class in net.sourceforge.pmd.lang.metrics
Holds the key creation method until we move it to the MetricKey interface.
MetricMemoizer<N extends Node> - Interface in net.sourceforge.pmd.lang.metrics
Objects capable of memoizing metrics for a specific type of node.
MetricOption - Interface in net.sourceforge.pmd.lang.metrics
Option to pass to a metric.
MetricOptions - Class in net.sourceforge.pmd.lang.metrics
Bundles a set of options to pass to a metric.
metrics() - Method in class net.sourceforge.pmd.Report
Iterate over the metrics.
MetricsComputer<T extends QualifiableNode,​O extends QualifiableNode> - Interface in net.sourceforge.pmd.lang.metrics
Basic interface for metrics computers that can compute metrics for types, operations and compute aggregate results with a result option.
MIN - net.sourceforge.pmd.properties.PropertyDescriptorField
Deprecated.
The minimum allowed value for numeric properties.
MINIMUM_DESCRIPTOR - Static variable in interface net.sourceforge.pmd.lang.rule.stat.StatisticalRule
Deprecated.
 
minimumLanguageVersion(String) - Method in class net.sourceforge.pmd.rules.RuleBuilder
 
MockRule - Class in net.sourceforge.pmd.lang.rule
This is a Rule implementation which can be used in scenarios where an actual functional Rule is not needed.
MockRule() - Constructor for class net.sourceforge.pmd.lang.rule.MockRule
 
MockRule(String, String, String, String) - Constructor for class net.sourceforge.pmd.lang.rule.MockRule
 
MockRule(String, String, String, String, RulePriority) - Constructor for class net.sourceforge.pmd.lang.rule.MockRule
 
MonoThreadProcessor - Class in net.sourceforge.pmd.processor
 
MonoThreadProcessor(PMDConfiguration) - Constructor for class net.sourceforge.pmd.processor.MonoThreadProcessor
 
multi(ValueParser<U>, char) - Static method in class net.sourceforge.pmd.properties.ValueParserConstants
Deprecated.
Returns a value parser parsing lists of values of type U.
MULTI_VALUE_DELIMITER - Static variable in interface net.sourceforge.pmd.properties.PackagedPropertyDescriptor
Deprecated.
Delimiter used to separate multiple values if this descriptor is multi valued.
Multifile - net.sourceforge.pmd.benchmark.Benchmark
Deprecated.
 
MULTIFILE_ANALYSIS - net.sourceforge.pmd.benchmark.TimedOperationCategory
 
MultiNumericPropertyBuilder<V,​T extends MultiNumericPropertyBuilder<V,​T>> - Class in net.sourceforge.pmd.properties.builders
Deprecated.
MultiNumericPropertyBuilder(String) - Constructor for class net.sourceforge.pmd.properties.builders.MultiNumericPropertyBuilder
Deprecated.
 
MultiPackagedPropertyBuilder<V,​T extends MultiPackagedPropertyBuilder<V,​T>> - Class in net.sourceforge.pmd.properties.builders
Deprecated.
MultiPackagedPropertyBuilder(String) - Constructor for class net.sourceforge.pmd.properties.builders.MultiPackagedPropertyBuilder
Deprecated.
 
MultiThreadProcessor - Class in net.sourceforge.pmd.processor
 
MultiThreadProcessor(PMDConfiguration) - Constructor for class net.sourceforge.pmd.processor.MultiThreadProcessor
 
MultiValue(Class<V>, ValueParser<V>) - Constructor for class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.MultiValue
Deprecated.
 
multiValueDelimiter - Variable in class net.sourceforge.pmd.properties.builders.MultiValuePropertyBuilder
Deprecated.
 
multiValueDelimiter() - Method in interface net.sourceforge.pmd.properties.MultiValuePropertyDescriptor
Deprecated.
MultiValuePropertyBuilder<V,​T extends MultiValuePropertyBuilder<V,​T>> - Class in net.sourceforge.pmd.properties.builders
Deprecated.
MultiValuePropertyBuilder(String) - Constructor for class net.sourceforge.pmd.properties.builders.MultiValuePropertyBuilder
Deprecated.
 
MultiValuePropertyDescriptor<V> - Interface in net.sourceforge.pmd.properties
Deprecated.
The hard divide between multi- and single-value properties will be removed with 7.0.0
MyMethodVisitor(PrintVisitor, MemberNode) - Constructor for class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 

N

name - Variable in enum net.sourceforge.pmd.benchmark.Benchmark
Deprecated.
 
name - Variable in class net.sourceforge.pmd.dcd.graph.MemberNode
 
name - Variable in class net.sourceforge.pmd.lang.BaseLanguageModule
 
name - Variable in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilder
Deprecated.
 
name - Variable in class net.sourceforge.pmd.renderers.AbstractRenderer
 
name() - Method in interface net.sourceforge.pmd.lang.metrics.MetricKey
Returns the name of the metric.
name() - Method in interface net.sourceforge.pmd.lang.metrics.MetricOption
Returns the name of the option constant.
name() - Method in interface net.sourceforge.pmd.properties.PropertyDescriptor
The name of the property without spaces as it serves as the key into the property map.
NAME - net.sourceforge.pmd.properties.PropertyDescriptorField
Deprecated.
The name of the property.
NAME - Static variable in class net.sourceforge.pmd.renderers.CodeClimateRenderer
 
NAME - Static variable in class net.sourceforge.pmd.renderers.CSVRenderer
 
NAME - Static variable in class net.sourceforge.pmd.renderers.EmacsRenderer
 
NAME - Static variable in class net.sourceforge.pmd.renderers.EmptyRenderer
 
NAME - Static variable in class net.sourceforge.pmd.renderers.HTMLRenderer
 
NAME - Static variable in class net.sourceforge.pmd.renderers.IDEAJRenderer
 
NAME - Static variable in class net.sourceforge.pmd.renderers.SummaryHTMLRenderer
 
NAME - Static variable in class net.sourceforge.pmd.renderers.TextColorRenderer
 
NAME - Static variable in class net.sourceforge.pmd.renderers.TextPadRenderer
 
NAME - Static variable in class net.sourceforge.pmd.renderers.TextRenderer
 
NAME - Static variable in class net.sourceforge.pmd.renderers.VBHTMLRenderer
 
NAME - Static variable in class net.sourceforge.pmd.renderers.XMLRenderer
 
NAME - Static variable in class net.sourceforge.pmd.renderers.XSLTRenderer
 
NAME - Static variable in class net.sourceforge.pmd.renderers.YAHTMLRenderer
 
named(String) - Static method in class net.sourceforge.pmd.properties.BooleanMultiProperty
Deprecated.
Not useful, will be removed with 7.0.0
named(String) - Static method in class net.sourceforge.pmd.properties.BooleanProperty
Deprecated.
named(String) - Static method in class net.sourceforge.pmd.properties.CharacterMultiProperty
named(String) - Static method in class net.sourceforge.pmd.properties.CharacterProperty
named(String) - Static method in class net.sourceforge.pmd.properties.DoubleMultiProperty
named(String) - Static method in class net.sourceforge.pmd.properties.DoubleProperty
named(String) - Static method in class net.sourceforge.pmd.properties.EnumeratedMultiProperty
named(String) - Static method in class net.sourceforge.pmd.properties.EnumeratedProperty
named(String) - Static method in class net.sourceforge.pmd.properties.FileProperty
Deprecated.
 
named(String) - Static method in class net.sourceforge.pmd.properties.FloatMultiProperty
named(String) - Static method in class net.sourceforge.pmd.properties.FloatProperty
Deprecated.
named(String) - Static method in class net.sourceforge.pmd.properties.IntegerMultiProperty
named(String) - Static method in class net.sourceforge.pmd.properties.IntegerProperty
named(String) - Static method in class net.sourceforge.pmd.properties.LongMultiProperty
named(String) - Static method in class net.sourceforge.pmd.properties.LongProperty
named(String) - Static method in class net.sourceforge.pmd.properties.MethodMultiProperty
Deprecated.
 
named(String) - Static method in class net.sourceforge.pmd.properties.MethodProperty
Deprecated.
 
named(String) - Static method in class net.sourceforge.pmd.properties.RegexProperty
named(String) - Static method in class net.sourceforge.pmd.properties.StringMultiProperty
named(String) - Static method in class net.sourceforge.pmd.properties.StringProperty
named(String) - Static method in class net.sourceforge.pmd.properties.TypeMultiProperty
Deprecated.
 
named(String) - Static method in class net.sourceforge.pmd.properties.TypeProperty
Deprecated.
 
NameDeclaration - Interface in net.sourceforge.pmd.lang.symboltable
This is a declaration of a name, e.g.
NameOccurrence - Interface in net.sourceforge.pmd.lang.symboltable
A NameOccurrence represents one usage of a name declaration.
net.sourceforge.pmd - package net.sourceforge.pmd
This is the PMD programming mistake detector.
net.sourceforge.pmd.annotation - package net.sourceforge.pmd.annotation
 
net.sourceforge.pmd.ant - package net.sourceforge.pmd.ant
 
net.sourceforge.pmd.ant.internal - package net.sourceforge.pmd.ant.internal
 
net.sourceforge.pmd.benchmark - package net.sourceforge.pmd.benchmark
 
net.sourceforge.pmd.cache - package net.sourceforge.pmd.cache
 
net.sourceforge.pmd.cli - package net.sourceforge.pmd.cli
 
net.sourceforge.pmd.cpd - package net.sourceforge.pmd.cpd
 
net.sourceforge.pmd.cpd.internal - package net.sourceforge.pmd.cpd.internal
 
net.sourceforge.pmd.cpd.renderer - package net.sourceforge.pmd.cpd.renderer
 
net.sourceforge.pmd.cpd.token - package net.sourceforge.pmd.cpd.token
 
net.sourceforge.pmd.cpd.token.internal - package net.sourceforge.pmd.cpd.token.internal
 
net.sourceforge.pmd.dcd - package net.sourceforge.pmd.dcd
 
net.sourceforge.pmd.dcd.asm - package net.sourceforge.pmd.dcd.asm
 
net.sourceforge.pmd.dcd.graph - package net.sourceforge.pmd.dcd.graph
 
net.sourceforge.pmd.document - package net.sourceforge.pmd.document
 
net.sourceforge.pmd.internal.util - package net.sourceforge.pmd.internal.util
 
net.sourceforge.pmd.lang - package net.sourceforge.pmd.lang
 
net.sourceforge.pmd.lang.antlr - package net.sourceforge.pmd.lang.antlr
 
net.sourceforge.pmd.lang.ast - package net.sourceforge.pmd.lang.ast
 
net.sourceforge.pmd.lang.ast.xpath - package net.sourceforge.pmd.lang.ast.xpath
 
net.sourceforge.pmd.lang.ast.xpath.saxon - package net.sourceforge.pmd.lang.ast.xpath.saxon
 
net.sourceforge.pmd.lang.dfa - package net.sourceforge.pmd.lang.dfa
 
net.sourceforge.pmd.lang.dfa.pathfinder - package net.sourceforge.pmd.lang.dfa.pathfinder
 
net.sourceforge.pmd.lang.dfa.report - package net.sourceforge.pmd.lang.dfa.report
 
net.sourceforge.pmd.lang.metrics - package net.sourceforge.pmd.lang.metrics
 
net.sourceforge.pmd.lang.metrics.internal - package net.sourceforge.pmd.lang.metrics.internal
 
net.sourceforge.pmd.lang.rule - package net.sourceforge.pmd.lang.rule
 
net.sourceforge.pmd.lang.rule.stat - package net.sourceforge.pmd.lang.rule.stat
 
net.sourceforge.pmd.lang.rule.xpath - package net.sourceforge.pmd.lang.rule.xpath
 
net.sourceforge.pmd.lang.symboltable - package net.sourceforge.pmd.lang.symboltable
 
net.sourceforge.pmd.lang.xpath - package net.sourceforge.pmd.lang.xpath
 
net.sourceforge.pmd.processor - package net.sourceforge.pmd.processor
 
net.sourceforge.pmd.properties - package net.sourceforge.pmd.properties
 
net.sourceforge.pmd.properties.builders - package net.sourceforge.pmd.properties.builders
 
net.sourceforge.pmd.properties.constraints - package net.sourceforge.pmd.properties.constraints
 
net.sourceforge.pmd.properties.modules - package net.sourceforge.pmd.properties.modules
 
net.sourceforge.pmd.renderers - package net.sourceforge.pmd.renderers
 
net.sourceforge.pmd.rules - package net.sourceforge.pmd.rules
 
net.sourceforge.pmd.stat - package net.sourceforge.pmd.stat
 
net.sourceforge.pmd.util - package net.sourceforge.pmd.util
 
net.sourceforge.pmd.util.database - package net.sourceforge.pmd.util.database
 
net.sourceforge.pmd.util.datasource - package net.sourceforge.pmd.util.datasource
 
net.sourceforge.pmd.util.designer - package net.sourceforge.pmd.util.designer
 
net.sourceforge.pmd.util.filter - package net.sourceforge.pmd.util.filter
 
net.sourceforge.pmd.util.log - package net.sourceforge.pmd.util.log
 
net.sourceforge.pmd.util.viewer - package net.sourceforge.pmd.util.viewer
 
net.sourceforge.pmd.util.viewer.gui - package net.sourceforge.pmd.util.viewer.gui
 
net.sourceforge.pmd.util.viewer.gui.menu - package net.sourceforge.pmd.util.viewer.gui.menu
 
net.sourceforge.pmd.util.viewer.model - package net.sourceforge.pmd.util.viewer.model
 
net.sourceforge.pmd.util.viewer.util - package net.sourceforge.pmd.util.viewer.util
 
newBuilder(String) - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper
Deprecated.
 
newRuleContext(String, File) - Static method in class net.sourceforge.pmd.PMD
Creates a new rule context, initialized with a new, empty report.
newThread(Runnable) - Method in class net.sourceforge.pmd.processor.PmdThreadFactory
 
next() - Method in class net.sourceforge.pmd.lang.ast.xpath.AttributeAxisIterator
Deprecated.
 
next() - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
Deprecated.
 
next() - Method in class net.sourceforge.pmd.util.CompoundIterator
 
next() - Method in class net.sourceforge.pmd.util.EmptyIterator
 
nextCharBuf - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
nextCharInd - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
nextRow() - Method in class net.sourceforge.pmd.cpd.GridBagHelper
 
nls(String) - Static method in class net.sourceforge.pmd.util.viewer.util.NLS
Deprecated.
translates the given key to the message
NLS - Class in net.sourceforge.pmd.util.viewer.util
Deprecated.
NO_EXIT_AFTER_RUN - Static variable in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
NO_EXIT_AFTER_RUN - Static variable in class net.sourceforge.pmd.cpd.CPDCommandLineInterface
 
node - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
node - Variable in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
node - Variable in class net.sourceforge.pmd.lang.dfa.pathfinder.PathElement
 
node - Variable in class net.sourceforge.pmd.lang.symboltable.AbstractNameDeclaration
 
Node - Interface in net.sourceforge.pmd.lang.ast
All AST nodes must implement this interface.
NODE_SELECTED - Static variable in class net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
Deprecated.
reason in the case of node selection
NodeIterator - Class in net.sourceforge.pmd.lang.ast.xpath
Deprecated.
NodeIterator(Node) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
Deprecated.
 
nodeNameToNodes - Variable in class net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor
This is a mapping from node names to nodes instances for the current AST.
nodeToElementNode - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
Deprecated.
Mapping from AST Node to corresponding ElementNode.
NodeType - Enum in net.sourceforge.pmd.lang.dfa
Represents the type (DFA-wise) of a DataFlowNode.
NodeVisitor - Interface in net.sourceforge.pmd.dcd.graph
Visitor for nodes in a UsageGraph.
NodeVisitorAcceptor - Interface in net.sourceforge.pmd.dcd.graph
Interface for how a node should accept a NodeVisitor.
NodeVisitorAdapter - Class in net.sourceforge.pmd.dcd.graph
Adapter class for easy implementation of a NodeVisitor.
NodeVisitorAdapter() - Constructor for class net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
 
NonMeasuredTotal - net.sourceforge.pmd.benchmark.Benchmark
Deprecated.
 
NoopAnalysisCache - Class in net.sourceforge.pmd.cache
A NOOP analysis cache.
NoopAnalysisCache() - Constructor for class net.sourceforge.pmd.cache.NoopAnalysisCache
 
normalizeFilename(String) - Static method in class net.sourceforge.pmd.util.FileUtil
Normalizes the filename by taking the casing into account, e.g.
NotFilter<T> - Class in net.sourceforge.pmd.util.filter
A logical NEGATION of a Filter.
NotFilter() - Constructor for class net.sourceforge.pmd.util.filter.NotFilter
 
NotFilter(Filter<T>) - Constructor for class net.sourceforge.pmd.util.filter.NotFilter
 
NULL_CHARACTER - Static variable in class net.sourceforge.pmd.renderers.CodeClimateRenderer
 
Numeric(Class<V>, ValueParser<V>) - Constructor for class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.MultiValue.Numeric
Deprecated.
 
Numeric(Class<V>, ValueParser<V>) - Constructor for class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.SingleValue.Numeric
Deprecated.
 
NumericConstants - Class in net.sourceforge.pmd.util
 
NumericConstraints - Class in net.sourceforge.pmd.properties.constraints
Common constraints for properties dealing with numbers.
NumericPropertyDescriptor<T> - Interface in net.sourceforge.pmd.properties
Deprecated.
Will be removed with 7.0.0. In the future this interface won't exist, but numeric properties will still be around
NumericPropertyModule<T extends java.lang.Number> - Class in net.sourceforge.pmd.properties.modules
Deprecated.
NumericPropertyModule(T, T) - Constructor for class net.sourceforge.pmd.properties.modules.NumericPropertyModule
Deprecated.
 

O

of(String, Metric<T>) - Static method in class net.sourceforge.pmd.lang.metrics.MetricKeyUtil
Creates a new metric key from its metric and name.
ofOptions(Collection<? extends MetricOption>) - Static method in class net.sourceforge.pmd.lang.metrics.MetricOptions
Gets an options bundle from a collection of options.
ofOptions(MetricOption, MetricOption...) - Static method in class net.sourceforge.pmd.lang.metrics.MetricOptions
Gets an options bundle from options.
ONE - Static variable in class net.sourceforge.pmd.util.NumericConstants
 
oneLineCommentChar - Variable in class net.sourceforge.pmd.cpd.AbstractTokenizer
 
optimize() - Method in class net.sourceforge.pmd.util.filter.RegexStringFilter
 
OPTION_SKIP_BLOCKS - Static variable in interface net.sourceforge.pmd.cpd.Tokenizer
Enables or disabled skipping of blocks like a pre-processor.
OPTION_SKIP_BLOCKS_PATTERN - Static variable in interface net.sourceforge.pmd.cpd.Tokenizer
Configures the pattern, to find the blocks to skip.
options - Variable in class net.sourceforge.pmd.lang.metrics.ParameterizedMetricKey
The options of the metric.
Options() - Constructor for class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
OrFilter<T> - Class in net.sourceforge.pmd.util.filter
A logical OR of a list of Filters.
OrFilter() - Constructor for class net.sourceforge.pmd.util.filter.OrFilter
 
OrFilter(Filter<T>...) - Constructor for class net.sourceforge.pmd.util.filter.OrFilter
 
OUTPUT_DIR - Static variable in class net.sourceforge.pmd.renderers.YAHTMLRenderer
 

P

PACKAGE_NAME_DELIMITER - Static variable in interface net.sourceforge.pmd.properties.PackagedPropertyDescriptor
Deprecated.
Delimiter used to separate package names.
Packaged(Class<E>, ValueParser<E>) - Constructor for class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.SingleValue.Packaged
Deprecated.
 
Packaged(Class<V>, ValueParser<V>) - Constructor for class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.MultiValue.Packaged
Deprecated.
 
PackagedPropertyDescriptor<T> - Interface in net.sourceforge.pmd.properties
Deprecated.
PackagedPropertyModule<T> - Class in net.sourceforge.pmd.properties.modules
Deprecated.
PackagedPropertyModule(String[], List<T>) - Constructor for class net.sourceforge.pmd.properties.modules.PackagedPropertyModule
Deprecated.
 
packageName - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
packageNameOf(Class) - Method in class net.sourceforge.pmd.properties.modules.TypePropertyModule
Deprecated.
 
packageNameOf(Method) - Method in class net.sourceforge.pmd.properties.modules.MethodPropertyModule
Deprecated.
 
packageNameOf(T) - Method in class net.sourceforge.pmd.properties.modules.PackagedPropertyModule
Deprecated.
Returns the package name of the item.
packageNamesIn(Map<PropertyDescriptorField, String>) - Method in class net.sourceforge.pmd.properties.modules.PackagedPropertyModule
Deprecated.
 
PackageNode - Class in net.sourceforge.pmd.lang.dfa.report
Deprecated.
PackageNode(String) - Constructor for class net.sourceforge.pmd.lang.dfa.report.PackageNode
Deprecated.
 
paintComponent(Graphics) - Method in class net.sourceforge.pmd.util.designer.DFAPanel.DFACanvas
Deprecated.
 
ParameterizedMetricKey<N extends Node> - Class in net.sourceforge.pmd.lang.metrics
Represents a key parameterized with its options.
ParametricRuleViolation<T extends Node> - Class in net.sourceforge.pmd.lang.rule
 
ParametricRuleViolation(Rule, RuleContext, T, String) - Constructor for class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
parent - Variable in class net.sourceforge.pmd.lang.ast.AbstractNode
 
parent - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
Deprecated.
 
parents - Variable in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
parse(String) - Static method in class net.sourceforge.pmd.RuleSetReferenceId
Parse a String comma separated list of RuleSet reference IDs into a List of RuleReferenceId instances.
parse(String, Reader) - Method in interface net.sourceforge.pmd.lang.Parser
Parse source code and return the root node of the AST.
ParseException - Exception in net.sourceforge.pmd.lang.ast
 
ParseException() - Constructor for exception net.sourceforge.pmd.lang.ast.ParseException
 
ParseException(String) - Constructor for exception net.sourceforge.pmd.lang.ast.ParseException
 
ParseException(String, Throwable) - Constructor for exception net.sourceforge.pmd.lang.ast.ParseException
 
ParseException(Throwable) - Constructor for exception net.sourceforge.pmd.lang.ast.ParseException
 
ParseExceptionHandler - Class in net.sourceforge.pmd.util.viewer.gui
Deprecated.
ParseExceptionHandler(JFrame, Exception) - Constructor for class net.sourceforge.pmd.util.viewer.gui.ParseExceptionHandler
Deprecated.
creates the dialog
parser - Variable in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.MultiValue
Deprecated.
 
parser - Variable in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.SingleValue
Deprecated.
 
Parser - net.sourceforge.pmd.benchmark.Benchmark
Deprecated.
 
Parser - Interface in net.sourceforge.pmd.lang
Common interface for calling tree-building parsers or source files.
PARSER - net.sourceforge.pmd.benchmark.TimedOperationCategory
 
parserFor(LanguageVersion, PMDConfiguration) - Static method in class net.sourceforge.pmd.PMD
Helper method to get a configured parser for the requested language.
parserOptions - Variable in class net.sourceforge.pmd.lang.AbstractParser
 
ParserOptions - Class in net.sourceforge.pmd.lang
Represents a set of configuration options for a Parser.
ParserOptions() - Constructor for class net.sourceforge.pmd.lang.ParserOptions
 
parseXPath(String) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Deprecated.
 
PASSWORD - net.sourceforge.pmd.util.database.DBType.Property
 
path - Variable in class net.sourceforge.pmd.renderers.CodeClimateIssue.Location
 
PATH_EXPRESSION_APPENDED - Static variable in class net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
Deprecated.
reason in the case of path extension
PATH_EXPRESSION_EVALUATED - Static variable in class net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
Deprecated.
reason in the case of path expression evaluation
PathElement - Class in net.sourceforge.pmd.lang.dfa.pathfinder
 
pattern - Variable in class net.sourceforge.pmd.util.filter.RegexStringFilter
 
percentageString(double, int) - Static method in class net.sourceforge.pmd.util.StringUtil
Formats a double to a percentage, keeping numDecimal decimal places.
PERFORMANCE - net.sourceforge.pmd.renderers.CodeClimateRule.CodeClimateCategory
Deprecated.
 
persist() - Method in interface net.sourceforge.pmd.cache.AnalysisCache
Persists the updated analysis results on whatever medium is used by the cache.
persist() - Method in class net.sourceforge.pmd.cache.FileAnalysisCache
 
persist() - Method in class net.sourceforge.pmd.cache.NoopAnalysisCache
 
phaseUpdate(int) - Method in interface net.sourceforge.pmd.cpd.CPDListener
 
phaseUpdate(int) - Method in class net.sourceforge.pmd.cpd.CPDNullListener
 
phaseUpdate(int) - Method in class net.sourceforge.pmd.cpd.GUI
 
PMD - Class in net.sourceforge.pmd
This is the main class for interacting with PMD.
PMD() - Constructor for class net.sourceforge.pmd.PMD
Create a PMD instance using a default Configuration.
PMD(PMDConfiguration) - Constructor for class net.sourceforge.pmd.PMD
Create a PMD instance using the specified Configuration.
PMDCommandLineInterface - Class in net.sourceforge.pmd.cli
 
PMDConfiguration - Class in net.sourceforge.pmd
This class contains the details for the runtime configuration of PMD.
PMDConfiguration() - Constructor for class net.sourceforge.pmd.PMDConfiguration
 
PMDException - Exception in net.sourceforge.pmd
A convenience exception wrapper.
PMDException(String) - Constructor for exception net.sourceforge.pmd.PMDException
Creates a new PMD exception with the specified message.
PMDException(String, Exception) - Constructor for exception net.sourceforge.pmd.PMDException
Creates a new PMD exception with the specified message and the given reason as root cause.
PMDFunctions - Class in net.sourceforge.pmd.lang.xpath
Deprecated.
PmdLogFormatter - Class in net.sourceforge.pmd.util.log
 
PmdLogFormatter() - Constructor for class net.sourceforge.pmd.util.log.PmdLogFormatter
 
PMDParameters - Class in net.sourceforge.pmd.cli
 
PMDParameters() - Constructor for class net.sourceforge.pmd.cli.PMDParameters
 
PMDParameters.PropertyConverter - Class in net.sourceforge.pmd.cli
 
PMDParameters.RulePriorityConverter - Class in net.sourceforge.pmd.cli
Deprecated.
Will be removed in 7.0.0
PMDParameters.RulePriorityValidator - Class in net.sourceforge.pmd.cli
 
PmdRunnable - Class in net.sourceforge.pmd.processor
 
PmdRunnable(DataSource, String, List<Renderer>, RuleContext, RuleSets, SourceCodeProcessor) - Constructor for class net.sourceforge.pmd.processor.PmdRunnable
 
PMDTask - Class in net.sourceforge.pmd.ant
 
PMDTask() - Constructor for class net.sourceforge.pmd.ant.PMDTask
 
PMDTaskImpl - Class in net.sourceforge.pmd.ant.internal
 
PMDTaskImpl(PMDTask) - Constructor for class net.sourceforge.pmd.ant.internal.PMDTaskImpl
 
PmdThreadFactory - Class in net.sourceforge.pmd.processor
 
PmdThreadFactory() - Constructor for class net.sourceforge.pmd.processor.PmdThreadFactory
 
pmdVersion - Variable in class net.sourceforge.pmd.cache.AbstractAnalysisCache
 
PMDVersion - Class in net.sourceforge.pmd
Stores the current PMD version and provides utility methods around it.
populate(T, Map<PropertyDescriptorField, String>) - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.MultiValue.Numeric
Deprecated.
 
populate(T, Map<PropertyDescriptorField, String>) - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.MultiValue.Packaged
Deprecated.
 
populate(T, Map<PropertyDescriptorField, String>) - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.MultiValue
Deprecated.
 
populate(T, Map<PropertyDescriptorField, String>) - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper
Deprecated.
Populates the builder with extracted fields.
populate(T, Map<PropertyDescriptorField, String>) - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.SingleValue.Numeric
Deprecated.
 
populate(T, Map<PropertyDescriptorField, String>) - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.SingleValue.Packaged
Deprecated.
 
populate(T, Map<PropertyDescriptorField, String>) - Method in class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper.SingleValue
Deprecated.
 
positive() - Static method in class net.sourceforge.pmd.properties.constraints.NumericConstraints
Requires the number to be strictly positive.
postContruct() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
preferredRowCount() - Method in interface net.sourceforge.pmd.properties.PropertyDescriptor
Deprecated.
Was never implemented, and is none of the descriptor's concern. Will be removed with 7.0.0
prependClasspath(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Prepend the specified classpath like string to the current ClassLoader of the configuration.
prevCharIsCR - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
prevCharIsCR - Variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
prevCharIsLF - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
prevCharIsLF - Variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
println(String) - Method in class net.sourceforge.pmd.dcd.asm.PrintVisitor
 
println(String) - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
println(String) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
printlnIndent(String) - Method in class net.sourceforge.pmd.dcd.asm.PrintVisitor
 
printlnIndent(String) - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
printlnIndent(String) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
printMember(MemberNode) - Method in class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
PrintVisitor - Class in net.sourceforge.pmd.dcd.asm
 
PrintVisitor() - Constructor for class net.sourceforge.pmd.dcd.asm.PrintVisitor
 
PrintVisitor(int) - Constructor for class net.sourceforge.pmd.dcd.asm.PrintVisitor
 
PrintVisitor(PrintVisitor) - Constructor for class net.sourceforge.pmd.dcd.asm.PrintVisitor
 
priority(int) - Method in class net.sourceforge.pmd.rules.RuleBuilder
 
processFiles(PMDConfiguration, RuleSetFactory, List<DataSource>, RuleContext, List<Renderer>) - Static method in class net.sourceforge.pmd.PMD
Run PMD on a list of files using multiple threads - if more than one is available
processFiles(RuleSetFactory, List<DataSource>, RuleContext, List<Renderer>) - Method in class net.sourceforge.pmd.processor.AbstractPMDProcessor
 
ProcessingError(Throwable, String) - Constructor for class net.sourceforge.pmd.Report.ProcessingError
Creates a new processing error
processSourceCode(InputStream, RuleSets, RuleContext) - Method in class net.sourceforge.pmd.SourceCodeProcessor
Processes the input stream against a rule set using the given input encoding.
processSourceCode(Reader, RuleSets, RuleContext) - Method in class net.sourceforge.pmd.SourceCodeProcessor
Processes the input stream against a rule set using the given input encoding.
processToken(Tokens, GenericToken, String) - Method in class net.sourceforge.pmd.cpd.internal.JavaCCTokenizer
 
PROG_NAME - Static variable in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
ProjectMemoizer<T extends QualifiableNode,​O extends QualifiableNode> - Interface in net.sourceforge.pmd.lang.metrics
Object storing the memoizers of the analysed project.
properties - Variable in class net.sourceforge.pmd.lang.rule.xpath.AbstractXPathRuleQuery
The properties.
PropertyBuilder<B extends PropertyBuilder<B,​T>,​T> - Class in net.sourceforge.pmd.properties
Base class for generic property builders.
PropertyBuilder.GenericCollectionPropertyBuilder<V,​C extends java.util.Collection<V>> - Class in net.sourceforge.pmd.properties
Generic builder for a collection-valued property.
PropertyBuilder.GenericPropertyBuilder<T> - Class in net.sourceforge.pmd.properties
Generic builder for a single-value property.
PropertyBuilder.RegexPropertyBuilder - Class in net.sourceforge.pmd.properties
Specialized builder for regex properties.
PropertyConstraint<T> - Interface in net.sourceforge.pmd.properties.constraints
Validates the value of a property.
PropertyConverter() - Constructor for class net.sourceforge.pmd.cli.PMDParameters.PropertyConverter
 
PropertyDescriptor<T> - Interface in net.sourceforge.pmd.properties
Property value descriptor that defines the use & requirements for setting property values for use within PMD and any associated GUIs.
PropertyDescriptorBuilder<E,​T extends PropertyDescriptorBuilder<E,​T>> - Class in net.sourceforge.pmd.properties.builders
Deprecated.
From 7.0.0 on, the only supported way to build properties will be through PropertyFactory. This class hierarchy is replaced by the newer PropertyBuilder.
PropertyDescriptorBuilder(String) - Constructor for class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilder
Deprecated.
 
PropertyDescriptorBuilderConversionWrapper<E,​T extends PropertyDescriptorBuilder<E,​T>> - Class in net.sourceforge.pmd.properties.builders
Deprecated.
This was not public API and will be removed by 7.0.0
PropertyDescriptorBuilderConversionWrapper(Class<?>) - Constructor for class net.sourceforge.pmd.properties.builders.PropertyDescriptorBuilderConversionWrapper
Deprecated.
 
PropertyDescriptorBuilderConversionWrapper.MultiValue<V,​T extends MultiValuePropertyBuilder<V,​T>> - Class in net.sourceforge.pmd.properties.builders
Deprecated.
For multi-value properties.
PropertyDescriptorBuilderConversionWrapper.MultiValue.Numeric<V,​T extends MultiNumericPropertyBuilder<V,​T>> - Class in net.sourceforge.pmd.properties.builders
Deprecated.
For multi-value numeric properties.
PropertyDescriptorBuilderConversionWrapper.MultiValue.Packaged<V,​T extends MultiPackagedPropertyBuilder<V,​T>> - Class in net.sourceforge.pmd.properties.builders
Deprecated.
For single-value packaged properties.
PropertyDescriptorBuilderConversionWrapper.SingleValue<E,​T extends SingleValuePropertyBuilder<E,​T>> - Class in net.sourceforge.pmd.properties.builders
Deprecated.
For single-value properties.