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

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
 
AbstractASTXPathHandler - Class in net.sourceforge.pmd.lang.ast.xpath
 
AbstractASTXPathHandler() - Constructor for class net.sourceforge.pmd.lang.ast.xpath.AbstractASTXPathHandler
 
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
 
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
Base class for Rule implementations which delegate to another Rule instance.
AbstractDelegateRule() - Constructor for class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
AbstractEnumeratedProperty<E,T> - Class in net.sourceforge.pmd.lang.rule.properties
 
AbstractEnumeratedProperty(String, String, String[], E[], int[], float, boolean) - Constructor for class net.sourceforge.pmd.lang.rule.properties.AbstractEnumeratedProperty
 
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
 
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
 
AbstractMultiNumericProperty<T> - Class in net.sourceforge.pmd.lang.rule.properties
 
AbstractMultiNumericProperty(String, String, Number, Number, T, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.AbstractMultiNumericProperty
Constructor for AbstractMultiNumericProperty.
AbstractMultiPackagedProperty<T> - Class in net.sourceforge.pmd.lang.rule.properties
 
AbstractMultiPackagedProperty(String, String, T, String[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.AbstractMultiPackagedProperty
Constructor for AbstractMultiPackagedProperty.
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
 
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
This is a basic implementation of the Saxon NodeInfo and related interfaces.
AbstractNodeInfo() - Constructor for class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
 
AbstractNumericProperty<T> - Class in net.sourceforge.pmd.lang.rule.properties
Maintains a pair of boundary limit values between which all values managed by the subclasses must fit.
AbstractNumericProperty(String, String, Number, Number, T, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.AbstractNumericProperty
 
AbstractPackagedProperty<T> - Class in net.sourceforge.pmd.lang.rule.properties
Concrete subclasses manage items that reside within namespaces per the design of the Java language.
AbstractPackagedProperty(String, String, T, String[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.AbstractPackagedProperty
 
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
 
AbstractProperty<T> - Class in net.sourceforge.pmd.lang.rule.properties
 
AbstractProperty(String, String, T, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
 
AbstractProperty(String, String, T, float, char) - Constructor for class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Constructor for AbstractPMDProperty.
AbstractPropertySource - Class in net.sourceforge.pmd
Base class for objects which can be configured through properties.
AbstractPropertySource() - Constructor for class net.sourceforge.pmd.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
 
AbstractReportNode() - Constructor for class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
 
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
 
AbstractScalarProperty<T> - Class in net.sourceforge.pmd.lang.rule.properties
No, subclasses are not necessarily scalar per se, they're just easy to parse without error.
AbstractScalarProperty(String, String, T, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.AbstractScalarProperty
Constructor for AbstractScalarProperty.
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(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
 
accept(File, String) - Method in class net.sourceforge.pmd.lang.LanguageFilenameFilter
Check if a file should be checked by PMD.
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
contains action command constants
ActionCommands() - Constructor for class net.sourceforge.pmd.util.viewer.gui.ActionCommands
 
actionPerformed(ActionEvent) - Method in class net.sourceforge.pmd.util.designer.CreateXMLRulePanel
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
 
actionPerformed(ActionEvent) - Method in class net.sourceforge.pmd.util.viewer.gui.menu.XPathFragmentAddingItem
 
actionPerformed(ActionEvent) - Method in class net.sourceforge.pmd.util.viewer.gui.ParseExceptionHandler
 
add(List<File>) - Method in class net.sourceforge.pmd.cpd.CPD
 
add(File) - Method in class net.sourceforge.pmd.cpd.CPD
 
add(DBURI) - Method in class net.sourceforge.pmd.cpd.CPD
 
add(Component) - Method in class net.sourceforge.pmd.cpd.GridBagHelper
 
add(Component, int) - Method in class net.sourceforge.pmd.cpd.GridBagHelper
 
add(TokenEntry) - Method in class net.sourceforge.pmd.cpd.Tokens
 
add(AbstractReportNode) - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Adds the child at the end.
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(RuleSet) - Method in class net.sourceforge.pmd.RuleChain
Add all Rules from the given RuleSet which want to participate in the RuleChain.
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.
addAllInDirectory(File) - Method in class net.sourceforge.pmd.cpd.CPD
 
addAttributesTo(Map<String, String>) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractNumericProperty
Method addAttributesTo.
addAttributesTo(Map<String, String>) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractPackagedProperty
 
addAttributesTo(Map<String, String>) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
 
addConfigError(Report.RuleConfigurationError) - 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
 
addDataPoint(DataPoint) - Method in class net.sourceforge.pmd.lang.rule.stat.StatisticalRuleHelper
 
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.
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
 
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.
addExclude(String) - Method in class net.sourceforge.pmd.RuleSetReference
 
addExcludePattern(String) - Method in class net.sourceforge.pmd.RuleSet
Adds a new file exclusion pattern.
addExcludePatterns(Collection<String>) - Method in class net.sourceforge.pmd.RuleSet
Adds new file exclusion patterns.
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
Adds the child in front of any other childs.
addFormatter(Formatter) - Method in class net.sourceforge.pmd.ant.PMDTask
 
addIncludePattern(String) - Method in class net.sourceforge.pmd.RuleSet
Adds a new inclusion pattern.
addIncludePatterns(Collection<String>) - Method in class net.sourceforge.pmd.RuleSet
Adds new inclusion patterns.
addLabel(String) - Method in class net.sourceforge.pmd.cpd.GridBagHelper
 
addLast(DataFlowNode) - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
addListener(ReportListener) - Method in class net.sourceforge.pmd.Report
Registers a report listener
addMetric(Metric) - Method in class net.sourceforge.pmd.Report
Adds a new metric to the report and notify the listeners
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
 
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
 
addRule(Rule) - Method in class net.sourceforge.pmd.RuleSet
Add a new rule to this ruleset.
addRuleByReference(String, Rule) - Method in class net.sourceforge.pmd.RuleSet
Add a new rule by reference to this ruleset.
addRuleChainVisit(Class<? extends Node>) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
addRuleChainVisit(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
addRuleChainVisit(Class<? extends Node>) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
addRuleChainVisit(String) - 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 interface net.sourceforge.pmd.Rule
Adds an AST node by name to be visited by the Rule on the RuleChain.
addRuleIfNotExists(Rule) - Method in class net.sourceforge.pmd.RuleSet
Only adds a rule to the ruleset if no rule with the same name for the same language was added before, so that the existent rule configuration won't be overridden.
addRuleReplaceIfExists(Rule) - Method in class net.sourceforge.pmd.RuleSet
Adds a rule.
addRuleset(RuleSetWrapper) - Method in class net.sourceforge.pmd.ant.PMDTask
 
addRuleSet(RuleSet) - Method in class net.sourceforge.pmd.RuleSet
Add a whole RuleSet to this RuleSet
addRuleSet(RuleSet) - Method in class net.sourceforge.pmd.RuleSets
Add a ruleset for a language.
addRuleSetByReference(RuleSet, boolean) - Method in class net.sourceforge.pmd.RuleSet
Add all rules by reference from one RuleSet to this RuleSet.
addRuleSetByReference(RuleSet, boolean, String...) - Method in class net.sourceforge.pmd.RuleSet
Add all rules by reference from one RuleSet to this RuleSet.
addRuleViolation(RuleViolation) - Method in class net.sourceforge.pmd.lang.dfa.report.ReportTree
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.
addSynchronizedListeners(List<SynchronizedReportListener>) - Method in class net.sourceforge.pmd.Report
Adds all given listeners to this report
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
 
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
 
addViolation(Object, Node) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
addViolation(Object, Node, String) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
addViolation(Object, Node, Object[]) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
addViolation(RuleContext, Rule, Node, String, Object[]) - Method in class net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
 
addViolation(RuleContext, Rule, Node, String, int, int, 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(RuleContext, Rule, Node, String, int, int, Object[]) - Method in interface net.sourceforge.pmd.lang.rule.RuleViolationFactory
 
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<String>, Collection<String>) - 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
If the newValue is already held within the values array then the values array is returned, otherwise a new array is created appending the newValue to the end.
addWithoutDuplicates(T[], T[]) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Returns an array of values as a union set of the two input arrays.
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
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
 
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
 
appendToXPathExpression(String, Object) - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
appends the given fragment to the XPath expression
appendXmlEscaped(StringBuilder, String) - Static method in class net.sourceforge.pmd.util.StringUtil
Appends to a StringBuilder the String src where non-ASCII and XML special chars are escaped.
appendXmlEscaped(StringBuilder, String, boolean) - Static method in class net.sourceforge.pmd.util.StringUtil
 
applies(File) - Method in class net.sourceforge.pmd.RuleSet
Check if a given source file should be checked by rules in this RuleSet.
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.
applies(File) - Method in class net.sourceforge.pmd.RuleSets
Check if a given source file should be checked by rules in this RuleSets.
apply(List<? extends Node>, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
apply(List<? extends Node>, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.MockRule
 
apply(RuleContext) - Method in class net.sourceforge.pmd.lang.rule.stat.StatisticalRuleHelper
 
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<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<? 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.RuleSets
Apply all applicable rules to the compilation units.
applyTo(E) - Method in interface net.sourceforge.pmd.util.UnaryFunction
 
areEqual(Object, Object) - Static method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
 
areEqual(Object, Object) - Static method in class net.sourceforge.pmd.util.CollectionUtil
A comprehensive isEqual method that handles nulls and arrays safely.
areSemanticEquals(T[], T[]) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Returns true if both arrays are if both are null or have zero-length, otherwise return the false if their respective elements are not equal by position.
areSemanticEquals(String, String) - Static method in class net.sourceforge.pmd.util.StringUtil
Returns true if both strings are effectively null or whitespace, returns false otherwise if they have actual text that differs.
arrayFor(int) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractScalarProperty
 
arrayFor(int) - Method in class net.sourceforge.pmd.lang.rule.properties.BooleanMultiProperty
 
arrayFor(int) - Method in class net.sourceforge.pmd.lang.rule.properties.DoubleMultiProperty
 
arrayFor(int) - Method in class net.sourceforge.pmd.lang.rule.properties.FloatMultiProperty
Returns an array of the correct type for the receiver.
arrayFor(int) - Method in class net.sourceforge.pmd.lang.rule.properties.IntegerMultiProperty
 
arrayFor(int) - Method in class net.sourceforge.pmd.lang.rule.properties.LongMultiProperty
Returns an array of the correct type for the receiver.
arraysAreEqual(Object, Object) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Returns true if the objects are array instances and each of their elements compares via equals as well.
asDelimitedString(T) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Formats the object onto a string suitable for storage within the property map.
asDelimitedString(T, char) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Return the specified values as a single string using the delimiter.
asDelimitedString(Object[]) - Method in class net.sourceforge.pmd.lang.rule.properties.EnumeratedMultiProperty
 
asDelimitedString(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.EnumeratedProperty
 
asDelimitedString(T) - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
asDelimitedString(T) - Method in interface net.sourceforge.pmd.PropertyDescriptor
Formats the object onto a string suitable for storage within the property map.
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.
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(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Return the value as a string that can be easily recognized and parsed when we see it again.
asString(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.MethodMultiProperty
Return the value as a string that can be easily recognized and parsed when we see it again.
asString(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.MethodProperty
Return the value as a string that can be easily recognized and parsed when we see it again.
asString(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.TypeMultiProperty
 
asString(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.TypeProperty
 
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.
asStringFor(Method) - Static method in class net.sourceforge.pmd.lang.rule.properties.MethodProperty
Return the value of `method' as a string that can be easily recognized and parsed when we see it again.
asStringOn(Method, StringBuilder) - Static method in class net.sourceforge.pmd.lang.rule.properties.MethodProperty
Serializes the method signature onto the specified buffer.
asStringOn(StringBuffer, Iterator<?>, String) - Static method in class net.sourceforge.pmd.util.StringUtil
Copies the elements returned by the iterator onto the string buffer each delimited by the separator.
asStringOn(StringBuilder, Object[], String) - Static method in class net.sourceforge.pmd.util.StringUtil
Copies the array items onto the string builder each delimited by the separator.
ASTModel - Class in net.sourceforge.pmd.util.viewer.model
Model for the AST Panel Tree component
ASTModel(Node) - Constructor for class net.sourceforge.pmd.util.viewer.model.ASTModel
creates the tree model
ASTNodePopupMenu - Class in net.sourceforge.pmd.util.viewer.gui.menu
context sensetive menu for the AST Panel
ASTNodePopupMenu(ViewerModel, Node) - Constructor for class net.sourceforge.pmd.util.viewer.gui.menu.ASTNodePopupMenu
 
ASTPanel - Class in net.sourceforge.pmd.util.viewer.gui
tree panel GUI
ASTPanel(ViewerModel) - Constructor for class net.sourceforge.pmd.util.viewer.gui.ASTPanel
constructs the panel
atomize() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
atomize() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
 
Attribute - Class in net.sourceforge.pmd.lang.ast.xpath
 
Attribute(Node, String, Method) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.Attribute
 
Attribute(Node, String, String) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.Attribute
 
attribute - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
 
AttributeAxisIterator - Class in net.sourceforge.pmd.lang.ast.xpath
 
AttributeAxisIterator(Node) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.AttributeAxisIterator
 
AttributeAxisIterator - Class in net.sourceforge.pmd.lang.ast.xpath.saxon
This is an Attribute axis iterator.
AttributeAxisIterator(ElementNode) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeAxisIterator
Create an iterator over the Attribute axis for the given ElementNode.
AttributeNode - Interface in net.sourceforge.pmd.lang.ast.xpath
This interface can be used by an AST node to indicate it can directly provide access to it's attributes, versus having them be determined via introspection.
AttributeNode - Class in net.sourceforge.pmd.lang.ast.xpath.saxon
A Saxon OM Attribute node for an AST Node Attribute.
AttributeNode(Attribute, int) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
 
AttributesSubMenu - Class in net.sourceforge.pmd.util.viewer.gui.menu
contains menu items for the predicate creation
AttributesSubMenu(ViewerModel, Node) - Constructor for class net.sourceforge.pmd.util.viewer.gui.menu.AttributesSubMenu
 
AttributeToolkit - Class in net.sourceforge.pmd.util.viewer.model
A toolkit for vaious attribute translations
AttributeToolkit() - Constructor for class net.sourceforge.pmd.util.viewer.model.AttributeToolkit
 
attributeValuesById() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
 
attributeValuesById() - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
attributeValuesById() - Method in interface net.sourceforge.pmd.PropertyDescriptor
Returns a map representing all the property attributes of the receiver in string form.

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
 
BasicPropertyDescriptorFactory<T> - Class in net.sourceforge.pmd.lang.rule.properties.factories
 
BasicPropertyDescriptorFactory(Class<?>) - Constructor for class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
BasicPropertyDescriptorFactory(Class<?>, Map<String, Boolean>) - Constructor for class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
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
 
Benchmarker - Class in net.sourceforge.pmd.benchmark
 
Benchmarker() - Constructor for class net.sourceforge.pmd.benchmark.Benchmarker
 
BenchmarkReport - Interface in net.sourceforge.pmd.benchmark
 
BooleanMultiProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a property type that supports multiple Boolean values.
BooleanMultiProperty(String, String, Boolean[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.BooleanMultiProperty
Constructor for BooleanMultiProperty that allows for multiple values.
BooleanProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a property type that supports single Boolean values.
BooleanProperty(String, String, Boolean, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.BooleanProperty
Constructor for BooleanProperty limited to a single value.
BooleanProperty(String, String, String, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.BooleanProperty
Constructor for BooleanProperty limited to a single value.
booleanValuesIn(String, char) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
BREAK_STATEMENT - Static variable in class 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.
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.
buildUsageText() - Static method in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
buildUsageText(JCommander) - Static method in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
buildUsageText() - Static method in class net.sourceforge.pmd.cpd.CPDCommandLineInterface
 
BY_EXTENSION - Static variable in class net.sourceforge.pmd.cpd.LanguageFactory
 

C

call(Context, List) - Method in class net.sourceforge.pmd.lang.xpath.MatchesFunction
 
call() - Method in class net.sourceforge.pmd.processor.PmdRunnable
 
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 - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
CharacterMultiProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a property type that supports multiple Character values.
CharacterMultiProperty(String, String, Character[], float, char) - Constructor for class net.sourceforge.pmd.lang.rule.properties.CharacterMultiProperty
Constructor for CharacterProperty.
CharacterProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a property type that supports single Character values.
CharacterProperty(String, String, Character, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.CharacterProperty
Constructor for CharacterProperty.
CharacterProperty(String, String, String, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.CharacterProperty
Constructor for CharacterProperty.
charFrom(String) - Static method in class net.sourceforge.pmd.lang.rule.properties.CharacterProperty
 
charsIn(String, char) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
CharStream - Interface in net.sourceforge.pmd.lang.ast
This interface describes a character stream that maintains line and column number positions of the characters.
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
 
children - Variable in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
children() - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
 
childrenAccept(ReportVisitor) - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
 
choiceFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractEnumeratedProperty
Method choiceFrom.
choices - Variable in class net.sourceforge.pmd.lang.rule.properties.AbstractEnumeratedProperty
 
choices() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractEnumeratedProperty
 
choices() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Returns a set of choice tuples if available, returns null if none are defined.
choices() - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
choices() - Method in interface net.sourceforge.pmd.PropertyDescriptor
Returns a set of choice tuples if available, returns null if none are defined.
choicesByLabel - Variable in class net.sourceforge.pmd.lang.rule.properties.AbstractEnumeratedProperty
 
choicesIn(Map<String, String>) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
CLASS_AND_METHOD_NAME - Static variable in class net.sourceforge.pmd.renderers.IDEAJRenderer
 
CLASS_METHOD_DELIMITER - Static variable in class net.sourceforge.pmd.lang.rule.properties.MethodProperty
 
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.
ClassLoaderUtil() - Constructor for class net.sourceforge.pmd.dcd.ClassLoaderUtil
 
className - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
ClassNode - Class in net.sourceforge.pmd.dcd.graph
Represents a Class in a UsageGraph.
ClassNode(String) - Constructor for class net.sourceforge.pmd.dcd.graph.ClassNode
 
classNode - Variable in class net.sourceforge.pmd.dcd.graph.MemberNode
 
ClassNode - Class in net.sourceforge.pmd.lang.dfa.report
 
ClassNode(String) - Constructor for class net.sourceforge.pmd.lang.dfa.report.ClassNode
 
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
 
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 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
 
close() - Method in class net.sourceforge.pmd.util.log.ScopedLogHandlersManager
 
CODE_RECOMPILED - Static variable in class net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
reason in the case of code recompilation
CodeEditorTextPane - Class in net.sourceforge.pmd.util.designer
 
CodeEditorTextPane() - Constructor for class net.sourceforge.pmd.util.designer.CodeEditorTextPane
 
collect(List<TokenEntry>) - Method in class net.sourceforge.pmd.cpd.MatchCollector
 
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.
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.
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
 
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
commits source code to the model.
COMPARATOR_BY_ORDER - Static variable in class net.sourceforge.pmd.lang.rule.properties.factories.PropertyDescriptorUtil
 
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
compareOrder(NodeInfo) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
 
compareOrder(NodeInfo) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
compareTo(RuleDuration) - Method in class net.sourceforge.pmd.benchmark.RuleDuration
 
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(LanguageVersion) - Method in class net.sourceforge.pmd.lang.LanguageVersion
 
compareTo(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
compareTo(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
compareTo(DataPoint) - Method in class net.sourceforge.pmd.stat.DataPoint
Compares this data point with the given datapoint.
COMPILE_ACTION - Static variable in class net.sourceforge.pmd.util.viewer.gui.ActionCommands
 
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
 
computePaths() - Method in class net.sourceforge.pmd.lang.dfa.Linker
Creates all the links between the data flow nodes.
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
 
connection - Variable in class net.sourceforge.pmd.util.database.DBMSMetadata
Connection management
ConsoleLogHandler - Class in net.sourceforge.pmd.util.log
Log to the console using a basic formatter.
ConsoleLogHandler() - Constructor for class net.sourceforge.pmd.util.log.ConsoleLogHandler
 
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
constructs a predicate from the given attribute
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.
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.
CONTINUE_STATEMENT - Static variable in class 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
 
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
copyPropertyDescriptors() - Method in class net.sourceforge.pmd.AbstractPropertySource
Creates a copied list of the property descriptors and returns it.
copyPropertyValues() - Method in class net.sourceforge.pmd.AbstractPropertySource
Creates a copied map of the values of the properties and returns it.
CORE_FIELD_TYPES_BY_KEY - Static variable in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
CPD - Class in net.sourceforge.pmd.cpd
 
CPD(CPDConfiguration) - Constructor for class net.sourceforge.pmd.cpd.CPD
 
CPDCommandLineInterface - Class in net.sourceforge.pmd.cpd
 
CPDCommandLineInterface() - Constructor for class net.sourceforge.pmd.cpd.CPDCommandLineInterface
 
CPDConfiguration - Class in net.sourceforge.pmd.cpd
 
CPDConfiguration() - Constructor for class net.sourceforge.pmd.cpd.CPDConfiguration
 
CPDConfiguration(int, Language, String) - Constructor for class net.sourceforge.pmd.cpd.CPDConfiguration
Deprecated. 
CPDConfiguration.LanguageConverter - Class in net.sourceforge.pmd.cpd
 
CPDConfiguration.LanguageConverter() - Constructor for class net.sourceforge.pmd.cpd.CPDConfiguration.LanguageConverter
 
CPDListener - Interface in net.sourceforge.pmd.cpd
 
CPDNullListener - Class in net.sourceforge.pmd.cpd
 
CPDNullListener() - Constructor for class net.sourceforge.pmd.cpd.CPDNullListener
 
CPDTask - Class in net.sourceforge.pmd.cpd
CPDTask

Runs the CPD utility via ant.

CPDTask() - Constructor for class net.sourceforge.pmd.cpd.CPDTask
 
CPDTask.FormatAttribute - Class in net.sourceforge.pmd.cpd
 
CPDTask.FormatAttribute() - Constructor for class net.sourceforge.pmd.cpd.CPDTask.FormatAttribute
 
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
 
createEndNode(int) - Method in class net.sourceforge.pmd.lang.dfa.Structure
 
createFor(String, Rule...) - Static method in class net.sourceforge.pmd.RuleSet
A convenience constructor
createFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractScalarProperty
 
createFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.BooleanMultiProperty
Creates and returns a Boolean instance from a raw string
createFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.BooleanProperty
Creates and returns a Boolean instance from a raw string
createFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.DoubleMultiProperty
 
createFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.DoubleProperty
Deserializes a string into its Double form.
createFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.FloatMultiProperty
Creates an property value of the right type from a raw string.
createFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.FloatProperty
Creates an property value of the right type from a raw string.
createFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.IntegerMultiProperty
 
createFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.IntegerProperty
 
createFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.LongMultiProperty
 
createFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.LongProperty
 
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.
createPropertyDescriptor(String, String, String, String, String, String, String) - Static method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorFactory
 
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.
createRuleSets(RuleSetFactory) - Method in class net.sourceforge.pmd.processor.AbstractPMDProcessor
 
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.
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
 
createStartNode(int) - Method in class net.sourceforge.pmd.lang.dfa.Structure
 
createThread(int, Runnable, RuleSetFactory, RuleContext) - Static method in class net.sourceforge.pmd.processor.PmdRunnable
 
createTokenManager(Reader) - Method in class net.sourceforge.pmd.lang.AbstractParser
 
createUnsupportedOperationException(String) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
Used to create a customized instance of UnsupportedOperationException.
createWith(Map<String, String>) - Method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
createWith(Map<String, String>) - Method in interface net.sourceforge.pmd.PropertyDescriptorFactory
Create a property descriptor of the appropriate type using the values provided.
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
This class is responsible for creating the contentpanel for the Create Rule XML Frame.
CreateXMLRulePanel(JTextArea, CodeEditorTextPane) - Constructor for class net.sourceforge.pmd.util.designer.CreateXMLRulePanel
 
CSVRenderer - Class in net.sourceforge.pmd.cpd
 
CSVRenderer() - Constructor for class net.sourceforge.pmd.cpd.CSVRenderer
 
CSVRenderer(boolean) - Constructor for class net.sourceforge.pmd.cpd.CSVRenderer
 
CSVRenderer(char) - Constructor for class net.sourceforge.pmd.cpd.CSVRenderer
 
CSVRenderer(char, boolean) - Constructor for class net.sourceforge.pmd.cpd.CSVRenderer
 
CSVRenderer - Class in net.sourceforge.pmd.renderers
Renderer the results to a comma-delimited text format.
CSVRenderer(ColumnDescriptor<RuleViolation>[], String, String) - Constructor for class net.sourceforge.pmd.renderers.CSVRenderer
 
CSVRenderer() - 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
 
dataFlow - Variable in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
DataFlowHandler - Interface in net.sourceforge.pmd.lang
 
DataFlowNode - Interface in net.sourceforge.pmd.lang.dfa
 
DataPoint - Class in net.sourceforge.pmd.stat
Datapoint used for rules that deal with metrics.
DataPoint() - Constructor for class net.sourceforge.pmd.stat.DataPoint
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(Connection) - Constructor for class net.sourceforge.pmd.util.database.DBMSMetadata
Minimal constructor
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(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.
DCD() - Constructor for class net.sourceforge.pmd.dcd.DCD
 
deepCopyValuesTo(AbstractRule) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
DEFAULT_DELIMITER - Static variable in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Default delimiter for multi 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 class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Default delimiter for numeric properties.
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 - Static variable in class net.sourceforge.pmd.PropertyDescriptorFields
The default value.
defaultAsString() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractEnumeratedProperty
 
defaultAsString() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractMultiNumericProperty
 
defaultAsString() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractMultiPackagedProperty
 
defaultAsString() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractNumericProperty
 
defaultAsString() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
 
defaultAsString() - Method in class net.sourceforge.pmd.lang.rule.properties.BooleanMultiProperty
 
defaultAsString() - Method in class net.sourceforge.pmd.lang.rule.properties.BooleanProperty
 
defaultAsString() - Method in class net.sourceforge.pmd.lang.rule.properties.CharacterProperty
Method defaultAsString.
defaultAsString() - Method in class net.sourceforge.pmd.lang.rule.properties.FileProperty
 
defaultAsString() - Method in class net.sourceforge.pmd.lang.rule.properties.MethodProperty
 
defaultAsString() - Method in class net.sourceforge.pmd.lang.rule.properties.StringProperty
 
defaultAsString() - Method in class net.sourceforge.pmd.lang.rule.properties.TypeProperty
 
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.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
 
defaultHasNullValue() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Method defaultHasNullValue.
defaultValue() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Default value to use when the user hasn't specified one or when they wish to revert to a known-good state.
defaultValue() - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
defaultValue() - Method in interface net.sourceforge.pmd.PropertyDescriptor
Default value to use when the user hasn't specified one or when they wish to revert to a known-good state.
defaultValueIn(Map<String, String>) - Method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
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(String, String) - Method in class net.sourceforge.pmd.renderers.AbstractRenderer
Deprecated. 
definePropertyDescriptor(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.AbstractPropertySource
Define a new property via a PropertyDescriptor.
definePropertyDescriptor(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
definePropertyDescriptor(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
definePropertyDescriptor(PropertyDescriptor<?>) - Method in interface net.sourceforge.pmd.PropertySource
Define a new property via a PropertyDescriptor.
DEFINITION - Static variable in class net.sourceforge.pmd.lang.dfa.VariableAccess
 
DELIMITER - Static variable in class net.sourceforge.pmd.lang.rule.properties.AbstractMultiPackagedProperty
 
DELIMITER - Static variable in class net.sourceforge.pmd.PropertyDescriptorFields
For multi-valued properties, this defines the delimiter of the single values.
delimiterIn(Map<String, String>) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
delimiterIn(Map<String, String>, char) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
DELTA - Static variable in class net.sourceforge.pmd.lang.rule.stat.StatisticalRuleHelper
 
desc - Variable in class net.sourceforge.pmd.dcd.graph.MemberNode
 
DESC - Static variable in class net.sourceforge.pmd.PropertyDescriptorFields
The description of the property.
description - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
description() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Describes the property and the role it plays within the rule it is specified for.
description() - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
description() - Method in interface net.sourceforge.pmd.PropertyDescriptor
Describes the property and the role it plays within the rule it is specified for.
DESCRIPTION - Static variable in class net.sourceforge.pmd.PropertyDescriptorFields
The description of the property.
description - Variable in class net.sourceforge.pmd.renderers.AbstractRenderer
 
descriptionIn(Map<String, String>) - Method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
Designer - Class in net.sourceforge.pmd.util.designer
 
Designer(String[]) - Constructor for class net.sourceforge.pmd.util.designer.Designer
 
DFAGraphMethod - Interface in net.sourceforge.pmd.lang.dfa
 
DFAGraphRule - Interface in net.sourceforge.pmd.lang.dfa
 
DFAPanel - Class in net.sourceforge.pmd.util.designer
 
DFAPanel() - Constructor for class net.sourceforge.pmd.util.designer.DFAPanel
 
DFAPanel.DFACanvas - Class in net.sourceforge.pmd.util.designer
 
DFAPanel.DFACanvas() - Constructor for class net.sourceforge.pmd.util.designer.DFAPanel.DFACanvas
 
DirectoryFilter - Class in net.sourceforge.pmd.util.filter
Directory filter.
DO_BEFORE_FIRST_STATEMENT - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
DO_EXPR - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
document - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
DocumentNavigator - Class in net.sourceforge.pmd.lang.ast.xpath
 
DocumentNavigator() - Constructor for class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
DocumentNode - Class in net.sourceforge.pmd.lang.ast.xpath.saxon
A Saxon OM Document node for an AST Node.
DocumentNode(Node) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
Construct a DocumentNode, with the given AST Node serving as the root ElementNode.
DONE - Static variable in interface net.sourceforge.pmd.cpd.CPDListener
 
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.
doPMD(PMDConfiguration) - Static method in class net.sourceforge.pmd.PMD
This method is the main entry point for command line usage.
doubleFrom(String) - Static method in class net.sourceforge.pmd.lang.rule.properties.DoubleProperty
 
DoubleMultiProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a property type that supports multiple double-type property values within an upper and lower boundary.
DoubleMultiProperty(String, String, Double, Double, Double[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.DoubleMultiProperty
Constructor for DoubleProperty.
DoubleProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a property type that support single double-type property values within an upper and lower boundary.
DoubleProperty(String, String, Double, Double, Double, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.DoubleProperty
Constructor for DoubleProperty.
DoubleProperty(String, String, String, String, String, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.DoubleProperty
Constructor for DoubleProperty.
doublesIn(String, char) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
DUMMY - Static variable in interface net.sourceforge.pmd.lang.DataFlowHandler
 
DUMMY - Static variable in interface net.sourceforge.pmd.lang.VisitorStarter
Placeholder VisitorStarter implementation that can be used when no real implementation exists yet.
DUMMY - Static variable in interface net.sourceforge.pmd.lang.XPathHandler
 
dump(UsageGraph, boolean) - Static method in class net.sourceforge.pmd.dcd.DCD
 
dump() - Method in class net.sourceforge.pmd.lang.dfa.Structure
 
DumpNodeVisitor - Class in net.sourceforge.pmd.dcd
Dump a UsageGraph to System.out.
DumpNodeVisitor() - Constructor for class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
dysfunctionReason() - Method in class net.sourceforge.pmd.AbstractPropertySource
Returns a description of why the receiver may be dysfunctional.
dysfunctionReason() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
dysfunctionReason() - Method in class net.sourceforge.pmd.lang.rule.XPathRule
 
dysfunctionReason() - Method in interface net.sourceforge.pmd.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
A Saxon OM Element type node for an AST Node.
ElementNode(DocumentNode, IdGenerator, ElementNode, Node, int) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
ELSE_LAST_STATEMENT - Static variable in class 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
 
EMPTY_STRINGS - Static variable in class net.sourceforge.pmd.util.StringUtil
 
EmptyIterator<T> - Class in net.sourceforge.pmd.util
A singleton iterator that never has anything.
ENCODING - Static variable in class net.sourceforge.pmd.renderers.XMLRenderer
 
end(Report) - Method in class net.sourceforge.pmd.ant.Formatter
 
end(RuleContext) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
end(RuleContext) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
end() - Method in class net.sourceforge.pmd.renderers.AbstractAccumulatingRenderer
Subclasses should output the AbstractAccumulatingRenderer.report.
end() - Method in class net.sourceforge.pmd.renderers.AbstractIncrementingRenderer
This method is at the very end of the Rendering process, after Renderer.renderFileReport(Report).
end() - Method in class net.sourceforge.pmd.renderers.HTMLRenderer
This method is at the very end of the Rendering process, after Renderer.renderFileReport(Report).
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
Subclasses should output the AbstractAccumulatingRenderer.report.
end() - Method in class net.sourceforge.pmd.renderers.TextColorRenderer
Subclasses should output the AbstractAccumulatingRenderer.report.
end() - Method in class net.sourceforge.pmd.renderers.TextRenderer
This method is at the very end of the Rendering process, after Renderer.renderFileReport(Report).
end() - Method in class net.sourceforge.pmd.renderers.VBHTMLRenderer
This method is at the very end of the Rendering process, after Renderer.renderFileReport(Report).
end() - Method in class net.sourceforge.pmd.renderers.XMLRenderer
This method is at the very end of the Rendering process, after Renderer.renderFileReport(Report).
end() - Method in class net.sourceforge.pmd.renderers.XSLTRenderer
This method is at the very end of the Rendering process, after Renderer.renderFileReport(Report).
end() - Method in class net.sourceforge.pmd.renderers.YAHTMLRenderer
Subclasses should output the AbstractAccumulatingRenderer.report.
end() - Method in class net.sourceforge.pmd.Report
Mark the end time of the report.
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.lang.rule.properties
Defines a datatype with a set of preset values of any type as held within a pair of maps.
EnumeratedMultiProperty(String, String, String[], E[], int[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.EnumeratedMultiProperty
Constructor for EnumeratedProperty.
EnumeratedProperty<E> - Class in net.sourceforge.pmd.lang.rule.properties
Defines a datatype with a set of preset values of any type as held within a pair of maps.
EnumeratedProperty(String, String, String[], E[], int, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.EnumeratedProperty
Constructor for EnumeratedProperty.
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.ConstructorNode
 
equals(Object) - Method in class net.sourceforge.pmd.dcd.graph.FieldNode
 
equals(Object) - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
equals(S) - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
equals(String, String) - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
equals(Object) - Method in class net.sourceforge.pmd.dcd.graph.MethodNode
 
equals(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
This implementation considers to NodeInfo objects to be equal, if their underlying nodes are equal.
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.lang.rule.properties.AbstractProperty
equals(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
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
 
equalsNode(AbstractReportNode) - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
Should compare to nodes of the tree.
equalsNode(AbstractReportNode) - Method in class net.sourceforge.pmd.lang.dfa.report.ClassNode
 
equalsNode(AbstractReportNode) - Method in class net.sourceforge.pmd.lang.dfa.report.PackageNode
 
equalsNode(AbstractReportNode) - Method in class net.sourceforge.pmd.lang.dfa.report.ViolationNode
 
ERROR_STATUS - Static variable in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
errorFor(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Validation function that returns a diagnostic error message for a sample property value.
errorFor(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.EnumeratedMultiProperty
 
errorFor(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.EnumeratedProperty
 
errorFor(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
errorFor(Object) - Method in interface net.sourceforge.pmd.PropertyDescriptor
Validation function that returns a diagnostic error message for a sample property value.
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 the XPath query against the given Node.
evaluate(Node, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.xpath.JaxenXPathRuleQuery
Evaluate the XPath query against the given Node.
evaluate(Node, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.xpath.SaxonXPathRuleQuery
Evaluate the XPath query against the given Node.
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
 
evaluateXPathExpression(String, Object) - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
evaluates the given XPath expression against the current tree
EvaluationResultsPanel - Class in net.sourceforge.pmd.util.viewer.gui
A panel showing XPath expression evaluation results
EvaluationResultsPanel(ViewerModel) - Constructor for class net.sourceforge.pmd.util.viewer.gui.EvaluationResultsPanel
constructs the panel
Executable - Interface in net.sourceforge.pmd.lang.dfa.pathfinder
Created on 09.08.2004
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
 
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
 
expectedFields() - Method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
expectedFields() - Method in interface net.sourceforge.pmd.PropertyDescriptorFactory
Denote the identifiers of the expected fields paired with booleans denoting whether they are required (non-null) or not.
expectedFieldTypesWith(String[], Boolean[]) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
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
 
extractParameters(PMDParameters, String[], String) - Static method in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 

F

FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.BooleanMultiProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.BooleanProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.CharacterMultiProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.CharacterProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.DoubleMultiProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.DoubleProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.EnumeratedMultiProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.EnumeratedProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.FileProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.FloatMultiProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.FloatProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.IntegerMultiProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.IntegerProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.LongMultiProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.LongProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.MethodMultiProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.MethodProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.StringMultiProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.StringProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.TypeMultiProperty
 
FACTORY - Static variable in class net.sourceforge.pmd.lang.rule.properties.TypeProperty
 
factoryFor(String) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.PropertyDescriptorUtil
 
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
 
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(String...) - Constructor for class net.sourceforge.pmd.util.filter.FileExtensionFilter
Matches any files with the given extensions, ignoring case
FileExtensionFilter(boolean, String...) - Constructor for class net.sourceforge.pmd.util.filter.FileExtensionFilter
Matches any files with the given extensions, optionally 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.lang.rule.properties
 
FileProperty(String, String, File, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.FileProperty
 
FileReporter - Class in net.sourceforge.pmd.cpd
 
FileReporter(String) - Constructor for class net.sourceforge.pmd.cpd.FileReporter
 
FileReporter(File) - Constructor for class net.sourceforge.pmd.cpd.FileReporter
 
FileReporter(File, String) - Constructor for class net.sourceforge.pmd.cpd.FileReporter
 
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(T) - Method in class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
 
filter(T) - Method in class net.sourceforge.pmd.util.filter.AndFilter
 
filter(File) - Method in class net.sourceforge.pmd.util.filter.DirectoryFilter
 
filter(File) - Method in class net.sourceforge.pmd.util.filter.FileExtensionFilter
 
Filter<T> - Interface in net.sourceforge.pmd.util.filter
A Filter interface, used for filtering arbitrary objects.
filter(T) - Method in interface net.sourceforge.pmd.util.filter.Filter
 
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.NotFilter
 
filter(T) - Method in class net.sourceforge.pmd.util.filter.OrFilter
 
filter(String) - Method in class net.sourceforge.pmd.util.filter.RegexStringFilter
 
filters - Variable in class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
 
Filters - Class in net.sourceforge.pmd.util.filter
Utility class for working with Filters.
Filters() - Constructor for class net.sourceforge.pmd.util.filter.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
Returns all the nodes matching the xpath expression.
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
Traverses the children to find all the instances of type childType.
findChildrenOfType(Class<T>) - Method in interface net.sourceforge.pmd.lang.ast.Node
Traverses the children to find all the instances of type childType.
findDescendantsOfType(Class<T>) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
Traverses down the tree to find all the descendant instances of type descendantType.
findDescendantsOfType(Class<T>, List<T>, boolean) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
Traverses down the tree to find all the descendant instances of type descendantType.
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.
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
 
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
 
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
A utility method to find the Languages which have Rule support.
fireTreeModelEvent(TreeModelEvent) - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
 
fireViewerModelEvent(ViewerModelEvent) - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
 
FLOAT_ZERO - Static variable in class net.sourceforge.pmd.util.NumericConstants
 
floatFrom(String) - Static method in class net.sourceforge.pmd.lang.rule.properties.FloatProperty
 
FloatMultiProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a property type that support float property values within an upper and lower boundary.
FloatMultiProperty(String, String, Float, Float, Float[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.FloatMultiProperty
Constructor for FloatProperty that configures it to accept multiple values and any number of defaults.
FloatProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a property type that supports single float property values within an upper and lower boundary.
FloatProperty(String, String, Float, Float, Float, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.FloatProperty
Constructor for FloatProperty that limits itself to a single value within the specified limits.
FloatProperty(String, String, String, String, String, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.FloatProperty
Constructor for FloatProperty that limits itself to a single value within the specified limits.
floatsIn(String, char) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
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
 
FOR_BEFORE_FIRST_STATEMENT - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
FOR_END - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
FOR_EXPR - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
FOR_INIT - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
FOR_UPDATE - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
format(LogRecord) - Method in class net.sourceforge.pmd.util.log.PmdLogFormatter
 
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
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(Set<RuleDuration>, PrintStream) - Method in interface net.sourceforge.pmd.benchmark.BenchmarkReport
 
generate(Map<String, BenchmarkResult>, PrintStream) - Method in interface net.sourceforge.pmd.benchmark.BenchmarkReport
 
generate(Set<RuleDuration>, PrintStream) - Method in class net.sourceforge.pmd.benchmark.TextReport
 
generate(Map<String, BenchmarkResult>, PrintStream) - Method in class net.sourceforge.pmd.benchmark.TextReport
 
generateId(FastStringBuffer) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
get(int, T, String) - Method in interface net.sourceforge.pmd.renderers.ColumnDescriptor.Accessor
 
getAccessType() - Method in class net.sourceforge.pmd.lang.dfa.VariableAccess
 
getAllowsChildren() - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
 
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.
getAnother() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeAxisIterator
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.
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
 
getAttributeIterator() - Method in interface net.sourceforge.pmd.lang.ast.xpath.AttributeNode
 
getAttributeName(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
getAttributeNamespaceUri(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
getAttributeQName(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
getAttributeStringValue(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
getAttributeValue(int) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
getAuxClasspath() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getAuxclasspath() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getAverage() - Method in class net.sourceforge.pmd.stat.Metric
 
getBaseURI() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
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 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.cpd.Mark
 
getBeginLine() - Method in class net.sourceforge.pmd.cpd.TokenEntry
 
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 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
 
getCharacterSet() - Method in class net.sourceforge.pmd.util.database.DBType
 
getCharacterSet() - Method in class net.sourceforge.pmd.util.database.DBURI
 
getChild(Object, int) - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
 
getChildAt(int) - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
 
getChildAt(int) - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
 
getChildAxisIterator(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Get an iterator over all of this node's children.
getChildCount() - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
 
getChildCount(Object) - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
 
getChildCount() - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
 
getChildren() - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
getChildren() - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
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.
getClassName() - Method in class net.sourceforge.pmd.lang.dfa.report.ClassNode
 
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
 
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 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
getColumnNumber() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
getCommentStringValue(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
getConfiguration() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
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.
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
 
getCountSummary() - Method in class net.sourceforge.pmd.Report
Calculate a summary of violation counts per fully classified class name.
getDataFlowFacade() - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getDataFlowFacade() - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Get the DataFlowFacade.
getDataFlowHandler() - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getDataFlowHandler() - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Get the DataFlowHandler.
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
 
getDeclarations() - Method in class net.sourceforge.pmd.lang.symboltable.AbstractScope
 
getDeclarations(Class<T>) - 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 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
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.lang.rule.AbstractDelegateRule
 
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
Get the description of the Renderer.
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
 
getDFAGraphRule() - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getDFAGraphRule() - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
 
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
getDoBranchNodeFromFirstDoStatement() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
getDocumentNode(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
getDocumentNumber() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
This implementation always returns 0.
getDocumentRoot() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
getDocumentRoot() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
 
getDocumentRoot() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
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
Get the DumpFacade.
getElapsedTimeInMillis() - Method in class net.sourceforge.pmd.Report
 
getElementName(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
getElementNamespaceUri(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
getElementQName(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
getElementStringValue(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
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.XMLRenderer
 
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 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.cpd.Mark
 
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 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
 
getExamples() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
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
 
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.
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
 
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
 
getFilename() - Method in class net.sourceforge.pmd.cpd.Mark
 
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() - Static method in class net.sourceforge.pmd.lang.ast.AbstractTokenManager
 
getFilename() - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
getFileName() - Method in class net.sourceforge.pmd.RuleSet
 
getFilename() - Method in interface net.sourceforge.pmd.RuleViolation
Get the source file name in which this violation was identified.
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
getFirst() - Method in class net.sourceforge.pmd.lang.dfa.Structure
 
getFirstChild(Node) - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
 
getFirstChild() - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
 
getFirstChildOfType(Class<T>) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
Traverses the children to find the first instance of type childType.
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
Traverses down the tree to find the first descendant instance of type descendantType.
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.
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
 
getFirstParentOfType(Class<T>) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
Traverses up the tree to find the first parent instance of type parentType
getFirstParentOfType(Class<T>) - Method in interface net.sourceforge.pmd.lang.ast.Node
 
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
Get an iterator over all following nodes, depth-first.
getFollowingSiblingAxisIterator(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
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
 
getIdentifier() - Method in class net.sourceforge.pmd.cpd.TokenEntry
 
getImage() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
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 interface net.sourceforge.pmd.lang.ast.Node
 
GetImage() - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Get token literal value.
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.
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
 
getIndexOfChild(Object, Object) - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
 
getInputPaths() - Method in class net.sourceforge.pmd.PMDConfiguration
Get the comma separated list of input paths to process for source files.
getInputStream(ClassLoader) - Method in class net.sourceforge.pmd.RuleSetReferenceId
Try to load the RuleSet resource with the specified ClassLoader.
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
 
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
 
getLabel() - Method in class net.sourceforge.pmd.cpd.Match
 
getLabelStatementNodeClass() - Method in interface net.sourceforge.pmd.lang.DataFlowHandler
 
getLanguage() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getLanguage() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getLanguage(String) - Static method in class net.sourceforge.pmd.lang.LanguageRegistry
 
getLanguage() - Method in class net.sourceforge.pmd.lang.LanguageVersion
 
getLanguage() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
getLanguage() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
getLanguage() - Method in interface net.sourceforge.pmd.Rule
Get the Language of this Rule.
getLanguageFromString(String) - Static method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
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
 
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
 
getLastEvaluationResults() - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
retrieves the results of last evaluation
getLastIndex() - Method in class net.sourceforge.pmd.lang.dfa.SequenceChecker
 
getLength() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
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
 
getLine(int) - Method in interface net.sourceforge.pmd.util.designer.LineGetter
 
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
getLineNumber() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
getLocalPart() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
getLocalPart() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
 
getLocalPart() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
getLocation() - Method in interface net.sourceforge.pmd.lang.symboltable.NameOccurrence
Gets the location where the usage occurred.
getLowValue() - Method in class net.sourceforge.pmd.stat.Metric
 
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
 
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
 
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
 
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
 
getMethod(Class<?>, String, Class<?>...) - Static method in class net.sourceforge.pmd.dcd.ClassLoaderUtil
 
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
 
getMinimumLanguageVersion() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
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
 
getName() - Method in class net.sourceforge.pmd.AbstractPropertySource
Gets the name of the property source.
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
 
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.renderers.AbstractRenderer
Gets the name of the property source.
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
getNamePool() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
getNamespacePrefix(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
getNamespaceStringValue(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
getNavigator() - Method in class net.sourceforge.pmd.lang.ast.xpath.AbstractASTXPathHandler
 
getNavigator() - Method in interface net.sourceforge.pmd.lang.XPathHandler
Get a Jaxen Navigator for this Language.
getNestedRules() - Method in class net.sourceforge.pmd.ant.PMDTask
 
getNewMethodVisitor(PrintVisitor, MemberNode) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder
 
getNextId() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.IdGenerator
 
getNextNode(Node) - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
 
getNextSibling(Node) - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
 
getNextSibling() - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
 
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
 
getNodeKind() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
getNodeKind() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
 
getNodeKind() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
 
getNodeKind() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
getNthParent(int) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
Returns the n-th parent or null if there are not n ancestors
getNthParent(int) - Method in interface net.sourceforge.pmd.lang.ast.Node
 
getNumberOfViolations() - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
 
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
 
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
 
getOverriddenPropertyDescriptors() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
getPackageName() - Method in class net.sourceforge.pmd.lang.dfa.report.PackageNode
 
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
 
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
getParent() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
getParent() - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
 
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
 
getParentAxisIterator(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Get a (single-member) iterator over this node's parent.
getParentNode(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
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
Traverses up the tree to find all of the parent instances of type parentType
getParentsOfType(Class<T>) - Method in interface net.sourceforge.pmd.lang.ast.Node
 
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
 
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
Get an iterator over all preceding nodes, depth-first.
getPrecedingSiblingAxisIterator(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
Get an iterator over all preceding siblings.
getPrefix() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
getPreviousSibling(Node) - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
 
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
 
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.AbstractPropertySource
Returns all the current property values for the receiver or an immutable empty map if none are specified.
getPropertiesByPropertyDescriptor() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
getPropertiesByPropertyDescriptor() - Method in interface net.sourceforge.pmd.PropertySource
Returns all the current property values for the receiver or an immutable empty map if none are specified.
getPropertiesSource() - Method in class net.sourceforge.pmd.util.database.DBType
 
getProperty(PropertyDescriptor<T>) - Method in class net.sourceforge.pmd.AbstractPropertySource
Get the typed value for the given property.
getProperty(PropertyDescriptor<T>) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
getProperty(PropertyDescriptor<T>) - Method in interface net.sourceforge.pmd.PropertySource
Get the typed value for the given property.
getPropertyDefinitions() - Method in class net.sourceforge.pmd.renderers.AbstractRenderer
Deprecated. 
getPropertyDefinitions() - Method in interface net.sourceforge.pmd.renderers.Renderer
Deprecated. 
getPropertyDescriptor(String) - Method in class net.sourceforge.pmd.AbstractPropertySource
Get the PropertyDescriptor for the given property name.
getPropertyDescriptor(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
getPropertyDescriptor() - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
getPropertyDescriptor(String) - Method in interface net.sourceforge.pmd.PropertySource
Get the PropertyDescriptor for the given property name.
getPropertyDescriptors() - Method in class net.sourceforge.pmd.AbstractPropertySource
Get the PropertyDescriptors for all defined properties.
getPropertyDescriptors() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
getPropertyDescriptors() - Method in interface net.sourceforge.pmd.PropertySource
Get the PropertyDescriptors for all defined properties.
getPropertyDescriptorType(PropertyDescriptor<?>) - Static method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorFactory
Returns the String type of the PropertyDescriptor for use in XML serialization.
getPropertyName() - Method in enum net.sourceforge.pmd.util.database.DBType.property
 
getPseudoFileName() - Method in class net.sourceforge.pmd.util.database.SourceObject
Gets the data source as a pseudo file name (faux-file).
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
 
getRegex() - Method in class net.sourceforge.pmd.util.filter.RegexStringFilter
 
getRegisteredRuleSets() - Method in class net.sourceforge.pmd.RuleSetFactory
Returns an Iterator of RuleSet objects loaded from descriptions from the "rulesets.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
 
getRendererFromString(String) - Static method in class net.sourceforge.pmd.cpd.CPDConfiguration
Deprecated. use CPDConfiguration.getRendererFromString(String, String) instead
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 .
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
getRoot() - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
 
getRootNode() - Method in class net.sourceforge.pmd.lang.dfa.report.ReportTree
 
getRootNode() - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
 
getRule() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
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
 
getRuleChainVisits() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
getRuleChainVisits() - Method in class net.sourceforge.pmd.lang.rule.xpath.AbstractXPathRuleQuery
Indicates which AST Nodes (if any) should be used with the RuleChain.
getRuleChainVisits() - Method in class net.sourceforge.pmd.lang.rule.xpath.JaxenXPathRuleQuery
Indicates which AST Nodes (if any) should be used with the RuleChain.
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
 
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.
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) - 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
 
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
See RulesetsFactoryUtils.getRuleSets(String, RuleSetFactory).
getRuleViolation() - Method in class net.sourceforge.pmd.lang.dfa.report.ViolationNode
 
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
 
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
getSiblingPosition() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
getSimpleNode() - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
retrieves the underlying node
getSince() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
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
 
getSourceCode(SourceObject) - Method in class net.sourceforge.pmd.util.database.DBMSMetadata
Return source code text from the database.
getSourceCode(String, String, String) - Method in class net.sourceforge.pmd.util.database.DBMSMetadata
return source code text
getSourceCode() - Method in class net.sourceforge.pmd.util.viewer.gui.SourceCodePanel
retrieves the string representation of the source code
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
 
getStringValue() - Method in class net.sourceforge.pmd.lang.ast.xpath.Attribute
 
getStringValue() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
getStringValueCS() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
getStringValueCS() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
 
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.ant.PMDTask
 
getSuppressmarker() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
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(ClassLoader) - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getSymbolFacade() - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Get the SymbolFacade.
getSymbolFacade(ClassLoader) - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Get the SymbolFacade.
getSynchronizedListeners() - Method in class net.sourceforge.pmd.Report
 
getSystemId() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
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
 
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
 
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
 
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
getTypedValue() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
getTypedValue() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
 
getTypeFor(String) - Static method in class net.sourceforge.pmd.util.ClassUtil
Attempt to determine the actual class given the short name.
getTypeMap() - Static method in class net.sourceforge.pmd.lang.dfa.NodeType
 
getTypeResolutionFacade(ClassLoader) - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getTypeResolutionFacade(ClassLoader) - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Get the TypeResolutionFacade.
getUnderlyingNode() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
getUnderlyingNode() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
getUnparsedEntity(String) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
getUnparsedEntityNames() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
getUri() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
getURI() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
getURI() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
getURI() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
 
getURI() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
getUri() - Method in class net.sourceforge.pmd.util.database.DBURI
 
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
Get the user data associated with this node.
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
 
getValues() - Method in class net.sourceforge.pmd.cpd.CPDTask.FormatAttribute
 
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.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(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.
getVersion() - Method in class net.sourceforge.pmd.lang.LanguageVersion
 
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
 
getViolationTree() - Method in class net.sourceforge.pmd.Report
 
getWriter() - Method in class net.sourceforge.pmd.renderers.AbstractRenderer
Get the Writer for the Renderer.
getWriter() - Method in interface net.sourceforge.pmd.renderers.Renderer
Get the Writer for the Renderer.
getXPathExpression() - Method in class net.sourceforge.pmd.util.viewer.gui.XPathPanel
 
getXPathHandler() - Method in class net.sourceforge.pmd.lang.AbstractLanguageVersionHandler
 
getXPathHandler() - Method in interface net.sourceforge.pmd.lang.LanguageVersionHandler
Get the XPathHandler.
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
hasChildNodes() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
 
hasChildNodes() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
hasCompiledTree() - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
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
Checks whether at least one descendant matches the xpath expression.
hasDescendantMatchingXPath(String) - Method in interface net.sourceforge.pmd.lang.ast.Node
Checks whether at least one descendant matches the xpath expression.
hasDescendantOfType(Class<T>) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
Finds if this node contains a descendant of the given type.
hasDescendantOfType(Class<T>) - Method in interface net.sourceforge.pmd.lang.ast.Node
Finds if this node contains a descendant of the given type.
hasDescriptor(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.AbstractPropertySource
Returns whether this Rule has the specified PropertyDescriptor.
hasDescriptor(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
hasDescriptor(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
hasDescriptor(PropertyDescriptor<?>) - Method in interface net.sourceforge.pmd.PropertySource
Returns whether this Rule has the specified PropertyDescriptor.
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.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.lang.rule.properties.AbstractProperty
hashCode() - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
hashCode() - Method in class net.sourceforge.pmd.RuleSet
 
hashCode() - Method in class net.sourceforge.pmd.util.database.DBType
 
hasImageEqualTo(String) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
hasImageEqualTo(String) - Method in interface net.sourceforge.pmd.lang.ast.Node
 
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
 
hasNext() - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
 
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
 
hasXPathExpression() - Method in class net.sourceforge.pmd.lang.rule.XPathRule
 
htmlEncode(String) - Static method in class net.sourceforge.pmd.util.StringUtil
 
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
 
id - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
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
This class is used to generate unique IDs for nodes.
IdGenerator() - Constructor for class net.sourceforge.pmd.lang.ast.xpath.saxon.IdGenerator
 
IF_EXPR - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
IF_LAST_STATEMENT - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
IF_LAST_STATEMENT_WITHOUT_ELSE - Static variable in class 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
 
ignoreCase - Variable in class net.sourceforge.pmd.util.filter.FileExtensionFilter
 
ignoredProperties() - Method in class net.sourceforge.pmd.AbstractPropertySource
Return the properties that are effectively ignored due to the configuration of the rule and values held by other properties.
ignoredProperties() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
ignoredProperties() - Method in interface net.sourceforge.pmd.PropertySource
Return the properties that are effectively ignored due to the configuration of the rule and values held by other properties.
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, Class<?>, boolean) - Constructor for class net.sourceforge.pmd.lang.rule.ImportWrapper
 
ImportWrapper(String, String, Node, 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
 
index(String) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder
 
indexIn(Map<String, String>) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
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.
indiciesIn(Map<String, String>) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
INIT - Static variable in interface net.sourceforge.pmd.cpd.CPDListener
 
init() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
INIT - Static variable in class net.sourceforge.pmd.dcd.ClassLoaderUtil
 
initialize(IndependentContext, Language, Class<?>) - Method in class net.sourceforge.pmd.lang.ast.xpath.AbstractASTXPathHandler
 
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
Perform all initialization.
initialize(IndependentContext) - Static method in class net.sourceforge.pmd.lang.xpath.Initializer
Perform all initialization.
initialize() - Method in interface net.sourceforge.pmd.lang.XPathHandler
Initialize.
initialize(IndependentContext) - Method in interface net.sourceforge.pmd.lang.XPathHandler
Initialize.
Initializer - Class in net.sourceforge.pmd.lang.xpath
This class serves as the means to perform XPath related static initialization.
Initializer() - Constructor for class net.sourceforge.pmd.lang.xpath.Initializer
 
inputStream - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
inputStream - Variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
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 method in class net.sourceforge.pmd.util.EmptyIterator
 
INSTANCE - Static variable in class net.sourceforge.pmd.util.filter.DirectoryFilter
 
IntegerMultiProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a datatype that supports multiple Integer property values within an upper and lower boundary.
IntegerMultiProperty(String, String, Integer, Integer, Integer[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.IntegerMultiProperty
Constructor for IntegerProperty.
IntegerProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a datatype that supports single Integer property values within an upper and lower boundary.
IntegerProperty(String, String, Integer, Integer, Integer, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.IntegerProperty
Constructor for IntegerProperty that limits itself to a single value within the specified limits.
IntegerProperty(String, String, String, String, String, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.IntegerProperty
Constructor for IntegerProperty that limits itself to a single value within the specified limits.
integersIn(String, char) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
intFrom(String) - Static method in class net.sourceforge.pmd.lang.rule.properties.IntegerProperty
 
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.
isArray(Object) - Static method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
 
isAttribute(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
isAttributeAccessor(Method) - Method in class net.sourceforge.pmd.lang.ast.xpath.AttributeAxisIterator
 
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(String) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraph
 
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.
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.
isComment(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
isDebug() - Method in class net.sourceforge.pmd.AbstractConfiguration
Return the debug indicator.
isDebug() - Method in class net.sourceforge.pmd.cli.PMDParameters
 
isDefinition() - Method in class net.sourceforge.pmd.lang.dfa.VariableAccess
 
isDeprecated() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
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.
isDoBranchNode() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
isDocument(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
isElement(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
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
Returns true if the value arg is either null, empty, or full of whitespace characters.
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
 
isFindBoundary() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
isFindBoundary() - Method in interface net.sourceforge.pmd.lang.ast.Node
 
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
 
isId() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
isIdref() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
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
 
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
 
isInstanceInitializer() - Method in class net.sourceforge.pmd.dcd.graph.ConstructorNode
 
isLeaf() - Method in class net.sourceforge.pmd.lang.dfa.report.AbstractReportNode
 
isLeaf(Object) - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
 
isLeaf() - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
 
isMultiValue() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractMultiNumericProperty
 
isMultiValue() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractMultiPackagedProperty
 
isMultiValue() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Returns whether the property is multi-valued, i.e.
isMultiValue() - Method in class net.sourceforge.pmd.lang.rule.properties.BooleanMultiProperty
 
isMultiValue() - Method in class net.sourceforge.pmd.lang.rule.properties.CharacterMultiProperty
 
isMultiValue() - Method in class net.sourceforge.pmd.lang.rule.properties.EnumeratedMultiProperty
 
isMultiValue() - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
isMultiValue() - Method in class net.sourceforge.pmd.lang.rule.properties.StringMultiProperty
 
isMultiValue() - Method in interface net.sourceforge.pmd.PropertyDescriptor
Returns whether the property is multi-valued, i.e.
isNamespace(Object) - Method in class net.sourceforge.pmd.lang.ast.xpath.DocumentNavigator
 
isNilled() - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
isNonRecursive() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
isNoOutputSupplied() - Method in class net.sourceforge.pmd.ant.Formatter
 
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
 
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
 
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.
isRequired() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Denotes whether the value is required before the rule can be executed.
isRequired() - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
isRequired() - Method in interface net.sourceforge.pmd.PropertyDescriptor
Denotes whether the value is required before the rule can be executed.
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
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
Get the indicator for whether to show suppressed violations.
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
 
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.RuleConfigurationError
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
Subclasses should implement to indicate whether an XPath version is supported.
isSupportedVersion(String) - Method in class net.sourceforge.pmd.lang.rule.xpath.SaxonXPathRuleQuery
Subclasses should implement to indicate whether an XPath version is supported.
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
 
isType(int) - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
isType(int) - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
isUndefinition() - Method in class net.sourceforge.pmd.lang.dfa.VariableAccess
 
isVariable(String) - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
itemTypeName() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractPackagedProperty
Method itemTypeName.
itemTypeName() - Method in class net.sourceforge.pmd.lang.rule.properties.MethodMultiProperty
 
itemTypeName() - Method in class net.sourceforge.pmd.lang.rule.properties.MethodProperty
 
itemTypeName() - Method in class net.sourceforge.pmd.lang.rule.properties.TypeMultiProperty
 
itemTypeName() - Method in class net.sourceforge.pmd.lang.rule.properties.TypeProperty
 
iterateAxis(byte) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
iterateAxis(byte, NodeTest) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
This implementation calls AbstractNodeInfo.iterateAxis(byte) to get an AxisIterator which is then optionally filtered using Navigator.AxisFilter.
iterateAxis(byte) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
 
iterateAxis(byte) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
iterator() - Method in class net.sourceforge.pmd.cpd.Match
 
iterator() - Method in class net.sourceforge.pmd.cpd.Tokens
 
iterator - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeAxisIterator
 
iterator() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
iterator() - Method in class net.sourceforge.pmd.lang.dfa.report.ReportTree
 
iterator() - Method in class net.sourceforge.pmd.Report
 
iterator() - Method in class net.sourceforge.pmd.util.FileIterable
 

J

jarName() - Static method in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
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(Reader, int, int, int) - 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) - 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(InputStream, int, int, int) - 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, 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) - 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
 
jjtGetId() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtGetId() - Method in interface net.sourceforge.pmd.lang.ast.Node
 
jjtGetNumChildren() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtGetNumChildren() - Method in interface net.sourceforge.pmd.lang.ast.Node
Return 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
 
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.
jjtSetParent(Node) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
jjtSetParent(Node) - Method in interface net.sourceforge.pmd.lang.ast.Node
This pair of methods are used to inform the node of its parent.

L

LABEL_COMPARATOR - Static variable in class net.sourceforge.pmd.cpd.Match
 
LABEL_LAST_STATEMENT - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
LABEL_STATEMENT - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
labelsByChoice - Variable in class net.sourceforge.pmd.lang.rule.properties.AbstractEnumeratedProperty
 
labelsIn(Map<String, String>) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
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
 
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(Language) - Constructor for class net.sourceforge.pmd.lang.LanguageFilenameFilter
Create a LanguageFilenameFilter for a single Language.
LanguageFilenameFilter(Set<Language>) - Constructor for class net.sourceforge.pmd.lang.LanguageFilenameFilter
Create a LanguageFilenameFilter for a List of Languages.
LanguageRegistry - Class in net.sourceforge.pmd.lang
Created by christoferdutz on 20.09.14.
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.
LEGAL_PACKAGES - Static variable in class net.sourceforge.pmd.PropertyDescriptorFields
To limit the range of valid values, e.g.
legalPackageNames() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractPackagedProperty
 
legalPackageNamesIn(Map<String, String>, char) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
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
 
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
 
loadResourceAsStream(String) - Static method in class net.sourceforge.pmd.util.ResourceLoader
Method to find a file, first by finding it as a file (either by the absolute or relative path), then as a URL, and then finally seeing if it is on the classpath.
loadResourceAsStream(String, ClassLoader) - Static method in class net.sourceforge.pmd.util.ResourceLoader
Uses the ClassLoader passed in to attempt to load the resource if it's not a File or a URL
longFrom(String) - Static method in class net.sourceforge.pmd.lang.rule.properties.LongProperty
 
LongMultiProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a datatype that supports multiple Long property values within an upper and lower boundary.
LongMultiProperty(String, String, Long, Long, Long[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.LongMultiProperty
Constructor for LongProperty.
LongProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a datatype that supports the single Long property values within an upper and lower boundary.
LongProperty(String, String, Long, Long, Long, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.LongProperty
Constructor for LongProperty.
LongProperty(String, String, String, String, String, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.LongProperty
Constructor for LongProperty that limits itself to a single value within the specified limits.
longsIn(String, char) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
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
 
lowerLimit() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractNumericProperty
Returns the minimum value that instances of the property can have
lowerLimit() - Method in interface net.sourceforge.pmd.NumericPropertyDescriptor
Returns the minimum value that instances of the property can have
lpad(String, int) - Static method in class net.sourceforge.pmd.util.StringUtil
Left pads a string.

M

main(String[]) - Static method in class net.sourceforge.pmd.benchmark.Benchmarker
 
main(String[]) - Static method in class net.sourceforge.pmd.cli.PMDCommandLineInterface
For testing purpose only...
main(String[]) - Static method in class net.sourceforge.pmd.cli.XPathCLI
 
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
 
main(String[]) - Static method in class net.sourceforge.pmd.util.viewer.Viewer
 
MainFrame - Class in net.sourceforge.pmd.util.viewer.gui
viewer's main frame
MainFrame() - Constructor for class net.sourceforge.pmd.util.viewer.gui.MainFrame
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.
mark(Benchmark, long, long) - Static method in class net.sourceforge.pmd.benchmark.Benchmarker
 
mark(Benchmark, String, long, long) - Static method in class net.sourceforge.pmd.benchmark.Benchmarker
 
Mark - Class in net.sourceforge.pmd.cpd
 
Mark(TokenEntry) - Constructor for class net.sourceforge.pmd.cpd.Mark
 
MATCH - Static variable in interface net.sourceforge.pmd.cpd.CPDListener
 
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
 
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(ImportWrapper) - Method in class net.sourceforge.pmd.lang.rule.ImportWrapper
 
matches(String, String...) - Static method in class net.sourceforge.pmd.lang.xpath.MatchesFunction
 
matches(String, String) - Static method in class net.sourceforge.pmd.lang.xpath.PMDFunctions
 
matches(String, String, String) - Static method in class net.sourceforge.pmd.lang.xpath.PMDFunctions
 
matches(String, String, String, String) - Static method in class net.sourceforge.pmd.lang.xpath.PMDFunctions
 
matches(String, String, String, String, String) - Static method in class net.sourceforge.pmd.lang.xpath.PMDFunctions
 
matches(String, String, String, String, String, String) - Static method in class net.sourceforge.pmd.lang.xpath.PMDFunctions
 
matches(String, String, String, String, String, String, String) - Static method in class net.sourceforge.pmd.lang.xpath.PMDFunctions
 
MATCHES_COMPARATOR - Static variable in class net.sourceforge.pmd.cpd.Match
 
MatchesFunction - Class in net.sourceforge.pmd.lang.xpath
 
MatchesFunction() - Constructor for class net.sourceforge.pmd.lang.xpath.MatchesFunction
 
MAX - Static variable in class net.sourceforge.pmd.PropertyDescriptorFields
The maximum allowed value.
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.
maxNextCharInd - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
maxNextCharInd - Variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
maxValueIn(Map<String, String>) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
MemberNode<S extends MemberNode<S,T>,T extends 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.
merge(Report) - Method in class net.sourceforge.pmd.Report
Merges the given report into this report.
METHOD_ARG_DELIMITER - Static variable in class net.sourceforge.pmd.lang.rule.properties.MethodProperty
 
METHOD_GROUP_DELIMITERS - Static variable in class net.sourceforge.pmd.lang.rule.properties.MethodProperty
 
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.
methodFrom(String, char, char) - Static method in class net.sourceforge.pmd.lang.rule.properties.MethodProperty
Returns the method specified within the string argument after parsing out its source class and any optional arguments.
methodFrom(String) - Static method in class net.sourceforge.pmd.lang.rule.properties.MethodProperty
 
MethodMultiProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a property type that can specify multiple methods to use as part of a rule.
MethodMultiProperty(String, String, Method[], String[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.MethodMultiProperty
Constructor for MethodProperty.
MethodMultiProperty(String, String, String, String[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.MethodMultiProperty
Constructor for MethodProperty.
MethodMultiProperty(String, String, String, Map<String, String>, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.MethodMultiProperty
Constructor for MethodProperty.
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.lang.rule.properties
Defines a property type that can specify a single method to use as part of a rule.
MethodProperty(String, String, Method, String[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.MethodProperty
Constructor for MethodProperty.
MethodProperty(String, String, String, String[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.MethodProperty
Constructor for MethodProperty.
MethodProperty(String, String, String, Map<String, String>, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.MethodProperty
Constructor for MethodProperty.
methodsFrom(String) - Static method in class net.sourceforge.pmd.lang.rule.properties.MethodMultiProperty
 
Metric - Class in net.sourceforge.pmd.stat
This class holds all sorts of statistical information.
Metric(String, int, double, double, double, double, double) - Constructor for class net.sourceforge.pmd.stat.Metric
Creates a new metric with the given information.
metricAdded(Metric) - Method in interface net.sourceforge.pmd.ReportListener
A new metric point has been reported.
metricAdded(Metric) - Method in class net.sourceforge.pmd.SynchronizedReportListener
A new metric point has been reported.
metrics() - Method in class net.sourceforge.pmd.Report
Iterate over the metrics.
MIN - Static variable in class net.sourceforge.pmd.PropertyDescriptorFields
The minium allowed value.
MINIMUM_DESCRIPTOR - Static variable in interface net.sourceforge.pmd.lang.rule.stat.StatisticalRule
 
minMaxFrom(Map<String, String>) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
minValueIn(Map<String, String>) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
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, RulePriority) - Constructor for class net.sourceforge.pmd.lang.rule.MockRule
 
MockRule(String, String, String, String) - 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
 
MT_SUPPORTED - Static variable in class net.sourceforge.pmd.util.SystemUtils
Do we have proper permissions to use multithreading?
MultiThreadProcessor - Class in net.sourceforge.pmd.processor
 
MultiThreadProcessor(PMDConfiguration) - Constructor for class net.sourceforge.pmd.processor.MultiThreadProcessor
 
multiValueDelimiter() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Return the character being used to delimit multiple property values within a single string.
multiValueDelimiter() - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
multiValueDelimiter() - Method in interface net.sourceforge.pmd.PropertyDescriptor
Return the character being used to delimit multiple property values within a single string.

N

name - Variable in enum net.sourceforge.pmd.benchmark.Benchmark
 
name - Variable in class net.sourceforge.pmd.dcd.graph.MemberNode
 
name - Variable in class net.sourceforge.pmd.lang.BaseLanguageModule
 
name() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
The name of the property without spaces as it serves as the key into the property map.
name() - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
name() - Method in interface net.sourceforge.pmd.PropertyDescriptor
The name of the property without spaces as it serves as the key into the property map.
NAME - Static variable in class net.sourceforge.pmd.PropertyDescriptorFields
The name of the property
name - Variable in class net.sourceforge.pmd.renderers.AbstractRenderer
 
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.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
 
NameDeclaration - Interface in net.sourceforge.pmd.lang.symboltable
This is a declaration of a name, e.g.
nameIn(Map<String, String>) - Method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
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.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.cli - package net.sourceforge.pmd.cli
 
net.sourceforge.pmd.cpd - package net.sourceforge.pmd.cpd
 
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.lang - package net.sourceforge.pmd.lang
 
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.rule - package net.sourceforge.pmd.lang.rule
 
net.sourceforge.pmd.lang.rule.properties - package net.sourceforge.pmd.lang.rule.properties
 
net.sourceforge.pmd.lang.rule.properties.factories - package net.sourceforge.pmd.lang.rule.properties.factories
 
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.renderers - package net.sourceforge.pmd.renderers
 
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
 
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
 
next() - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
 
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 - Class in net.sourceforge.pmd.util.viewer.util
helps with internationalization
NLS() - Constructor for class net.sourceforge.pmd.util.viewer.util.NLS
 
nls(String) - Static method in class net.sourceforge.pmd.util.viewer.util.NLS
translates the given key to the message
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 - Interface in net.sourceforge.pmd.lang.ast
 
node - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
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_SELECTED - Static variable in class net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
reason in the case of node selection
NodeIterator - Class in net.sourceforge.pmd.lang.ast.xpath
 
NodeIterator(Node) - Constructor for class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
 
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
Mapping from AST Node to corresponding ElementNode.
NodeType - Class in net.sourceforge.pmd.lang.dfa
 
NodeType() - Constructor for class net.sourceforge.pmd.lang.dfa.NodeType
 
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
 
nonLegalValueMsgFor(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractEnumeratedProperty
Method nonLegalValueMsgFor.
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
 
NUMBER_FIELD_TYPES_BY_KEY - Static variable in class net.sourceforge.pmd.lang.rule.properties.AbstractNumericProperty
 
NumericConstants - Class in net.sourceforge.pmd.util
 
NumericConstants() - Constructor for class net.sourceforge.pmd.util.NumericConstants
 
numericDefaultValueIn(Map<String, String>) - Method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
NumericPropertyDescriptor<T> - Interface in net.sourceforge.pmd
Defines a descriptor type whose instance values are required lie within specified upper and lower limits.

O

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.
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

PACKAGED_FIELD_TYPES_BY_KEY - Static variable in class net.sourceforge.pmd.lang.rule.properties.AbstractPackagedProperty
 
packageName - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
packageNameOf(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractPackagedProperty
 
packageNameOf(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.MethodMultiProperty
 
packageNameOf(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.MethodProperty
 
packageNameOf(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.TypeMultiProperty
 
packageNameOf(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.TypeProperty
Method packageNameOf.
packageNamesIn(Map<String, String>) - Static method in class net.sourceforge.pmd.lang.rule.properties.AbstractPackagedProperty
 
PackageNode - Class in net.sourceforge.pmd.lang.dfa.report
 
PackageNode(String) - Constructor for class net.sourceforge.pmd.lang.dfa.report.PackageNode
 
paintComponent(Graphics) - Method in class net.sourceforge.pmd.util.designer.DFAPanel.DFACanvas
 
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
 
parents - Variable in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
parse(String, Reader) - Method in interface net.sourceforge.pmd.lang.Parser
Parse source code and return the root node of the AST.
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.
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(Throwable) - Constructor for exception net.sourceforge.pmd.lang.ast.ParseException
 
ParseException(String, Throwable) - Constructor for exception net.sourceforge.pmd.lang.ast.ParseException
 
ParseExceptionHandler - Class in net.sourceforge.pmd.util.viewer.gui
handles parsing exceptions
ParseExceptionHandler(JFrame, Exception) - Constructor for class net.sourceforge.pmd.util.viewer.gui.ParseExceptionHandler
creates the dialog
Parser - Interface in net.sourceforge.pmd.lang
Common interface for calling tree-building parsers or source files.
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
 
PATH_EXPRESSION_APPENDED - Static variable in class net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
reason in the case of path extension
PATH_EXPRESSION_EVALUATED - Static variable in class net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
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
 
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.
PMD.ProgressMonitor - Interface in net.sourceforge.pmd
A callback that would be implemented by IDEs keeping track of PMD's progress as it evaluates a set of files.
PMDCommandLineInterface - Class in net.sourceforge.pmd.cli
 
PMDCommandLineInterface() - Constructor for class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
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
 
PMDFunctions() - Constructor for class net.sourceforge.pmd.lang.xpath.PMDFunctions
 
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.PropertyConverter() - Constructor for class net.sourceforge.pmd.cli.PMDParameters.PropertyConverter
 
PMDParameters.RulePriorityConverter - Class in net.sourceforge.pmd.cli
 
PMDParameters.RulePriorityConverter() - Constructor for class net.sourceforge.pmd.cli.PMDParameters.RulePriorityConverter
 
PmdRunnable - Class in net.sourceforge.pmd.processor
 
PmdRunnable(ExecutorService, PMDConfiguration, DataSource, String, List<Renderer>) - 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(RuleSetFactory, RuleContext) - Constructor for class net.sourceforge.pmd.processor.PmdThreadFactory
 
postContruct() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
preferredRowCount() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
If the datatype is a String then return the preferred number of rows to allocate in the text widget, returns a value of one for all other types.
preferredRowCount() - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
preferredRowCount() - Method in interface net.sourceforge.pmd.PropertyDescriptor
If the datatype is a String then return the preferred number of rows to allocate in the text widget, returns a value of one for all other types.
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(PrintVisitor) - Constructor for class net.sourceforge.pmd.dcd.asm.PrintVisitor
 
PrintVisitor(int) - Constructor for class net.sourceforge.pmd.dcd.asm.PrintVisitor
 
processFiles(PMDConfiguration, RuleSetFactory, Collection<File>, RuleContext, PMD.ProgressMonitor) - Static method in class net.sourceforge.pmd.PMD
An entry point that would typically be used by IDEs intent on providing ongoing feedback and the ability to terminate it at will.
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.MonoThreadProcessor
 
processFiles(RuleSetFactory, List<DataSource>, RuleContext, List<Renderer>) - Method in class net.sourceforge.pmd.processor.MultiThreadProcessor
Run PMD on a list of files using multiple threads.
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.
PROG_NAME - Static variable in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
properties - Variable in class net.sourceforge.pmd.lang.rule.xpath.AbstractXPathRuleQuery
The properties.
propertyDefinitions - Variable in class net.sourceforge.pmd.renderers.AbstractRenderer
Deprecated. 
PropertyDescriptor<T> - Interface in net.sourceforge.pmd
Property value descriptor that defines the use & requirements for setting property values for use within PMD and any associated GUIs.
PropertyDescriptorFactory - Class in net.sourceforge.pmd.lang.rule.properties
 
PropertyDescriptorFactory() - Constructor for class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorFactory
 
PropertyDescriptorFactory - Interface in net.sourceforge.pmd
A factory to create PropertyDescriptors based on a map of values.
PropertyDescriptorFields - Class in net.sourceforge.pmd
Field names for parsing the properties out of the ruleset xml files.
PropertyDescriptorFields() - Constructor for class net.sourceforge.pmd.PropertyDescriptorFields
 
propertyDescriptors - Variable in class net.sourceforge.pmd.AbstractPropertySource
The list of known properties that can be configured.
PropertyDescriptorUtil - Class in net.sourceforge.pmd.lang.rule.properties.factories
 
PropertyDescriptorUtil() - Constructor for class net.sourceforge.pmd.lang.rule.properties.factories.PropertyDescriptorUtil
 
PropertyDescriptorWrapper<T> - Class in net.sourceforge.pmd.lang.rule.properties
This class serves as a wrapper class for a PropertyDescriptor instance.
PropertyDescriptorWrapper(PropertyDescriptor<T>) - Constructor for class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
propertyErrorFor(Rule) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
A convenience method that returns an error string if the rule holds onto a property value that has a problem.
propertyErrorFor(Rule) - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
propertyErrorFor(Rule) - Method in interface net.sourceforge.pmd.PropertyDescriptor
A convenience method that returns an error string if the rule holds onto a property value that has a problem.
PropertySource - Interface in net.sourceforge.pmd
Any entity that manages a list of properties is a PropertySource.
propertyValuesByDescriptor - Variable in class net.sourceforge.pmd.AbstractPropertySource
The values for each property.
pseudoRef - Variable in class net.sourceforge.pmd.lang.dfa.pathfinder.PathElement
 
publish(LogRecord) - Method in class net.sourceforge.pmd.util.log.AntLogHandler
 
publish(LogRecord) - Method in class net.sourceforge.pmd.util.log.ConsoleLogHandler
 
pushOnStack(int, DataFlowNode) - Method in class net.sourceforge.pmd.lang.dfa.Structure
The braceStack contains all nodes which are important to link the data flow nodes.

R

rangeString() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractNumericProperty
 
ReadByte() - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
readChar() - Method in interface net.sourceforge.pmd.lang.ast.CharStream
Returns the next character from the selected input.
readChar() - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Read a character.
readChar() - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Read a character.
ReaderDataSource - Class in net.sourceforge.pmd.util.datasource
DataSource implementation to read data from a Reader.
ReaderDataSource(Reader, String) - Constructor for class net.sourceforge.pmd.util.datasource.ReaderDataSource
Create the DataSource from the Reader.
REFERENCING - Static variable in class net.sourceforge.pmd.lang.dfa.VariableAccess
 
regex - Variable in class net.sourceforge.pmd.util.filter.RegexStringFilter
 
RegexStringFilter - Class in net.sourceforge.pmd.util.filter
A filter which uses a regular expression to match Strings.
RegexStringFilter(String) - Constructor for class net.sourceforge.pmd.util.filter.RegexStringFilter
 
registerSelfInSimpleContext() - Static method in class net.sourceforge.pmd.lang.xpath.MatchesFunction
 
ReInit(Reader, int, int, int) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Reinitialise.
ReInit(Reader, int, int) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Reinitialise.
ReInit(Reader) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Reinitialise.
ReInit(InputStream, String, int, int, int) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Reinitialise.
ReInit(InputStream, int, int, int) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Reinitialise.
ReInit(InputStream, String, int, int) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Reinitialise.
ReInit(InputStream, int, int) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Reinitialise.
ReInit(InputStream, String) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Reinitialise.
ReInit(InputStream) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
Reinitialise.
ReInit(Reader, int, int, int) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Reinitialise.
ReInit(Reader, int, int) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Reinitialise.
ReInit(Reader) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int, int) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int, int) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Reinitialise.
ReInit(InputStream, String) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Reinitialise.
ReInit(InputStream) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Reinitialise.
ReInit(InputStream, String, int, int) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Reinitialise.
ReInit(InputStream, int, int) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Reinitialise.
remove() - Method in class net.sourceforge.pmd.lang.ast.xpath.AttributeAxisIterator
 
remove() - Method in class net.sourceforge.pmd.lang.ast.xpath.NodeIterator
 
remove() - Method in class net.sourceforge.pmd.util.CompoundIterator
remove() - Method in class net.sourceforge.pmd.util.EmptyIterator
 
removeAttribute(String) - Method in class net.sourceforge.pmd.RuleContext
Remove an attribute value on the RuleContext.
removeDysfunctionalRules(Collection<Rule>) - Method in class net.sourceforge.pmd.RuleSet
Remove and collect any misconfigured rules.
removeDysfunctionalRules(Collection<Rule>) - Method in class net.sourceforge.pmd.RuleSets
Remove and collect any rules that report problems.
removeLast() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.CurrentPath
 
removePathToChild(DataFlowNode) - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
removePathToChild(DataFlowNode) - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
removeTreeModelListener(TreeModelListener) - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
 
removeViewerModelListener(ViewerModelListener) - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
 
render(Iterator<Match>) - Method in class net.sourceforge.pmd.cpd.CSVRenderer
 
render(Iterator<Match>) - Method in interface net.sourceforge.pmd.cpd.Renderer
 
render(Iterator<Match>) - Method in class net.sourceforge.pmd.cpd.SimpleRenderer
 
render(Iterator<Match>) - Method in class net.sourceforge.pmd.cpd.VSRenderer
 
render(Iterator<Match>) - Method in class net.sourceforge.pmd.cpd.XMLRenderer
 
renderBody(Writer, Report) - Method in class net.sourceforge.pmd.renderers.HTMLRenderer
Write the body of the main body of the HTML content.
Renderer - Interface in net.sourceforge.pmd.cpd
 
Renderer - Interface in net.sourceforge.pmd.renderers
This is an interface for rendering a Report.
RendererFactory - Class in net.sourceforge.pmd.renderers
This class handles the creation of Renderers.
RendererFactory() - Constructor for class net.sourceforge.pmd.renderers.RendererFactory
 
renderFileReport(Report) - Method in class net.sourceforge.pmd.renderers.AbstractAccumulatingRenderer
Render the given file Report.
renderFileReport(Report) - Method in class net.sourceforge.pmd.renderers.AbstractIncrementingRenderer
Render the given file Report.
renderFileReport(Report) - Method in interface net.sourceforge.pmd.renderers.Renderer
Render the given file Report.
renderFileViolations(Iterator<RuleViolation>) - Method in class net.sourceforge.pmd.renderers.AbstractIncrementingRenderer
Render a series of RuleViolations.
renderFileViolations(Iterator<RuleViolation>) - Method in class net.sourceforge.pmd.renderers.CSVRenderer
Render a series of RuleViolations.
renderFileViolations(Iterator<RuleViolation>) - Method in class net.sourceforge.pmd.renderers.EmacsRenderer
Render a series of RuleViolations.
renderFileViolations(Iterator<RuleViolation>) - Method in class net.sourceforge.pmd.renderers.HTMLRenderer
Render a series of RuleViolations.
renderFileViolations(Iterator<RuleViolation>) - Method in class net.sourceforge.pmd.renderers.IDEAJRenderer
Render a series of RuleViolations.
renderFileViolations(Iterator<RuleViolation>) - Method in class net.sourceforge.pmd.renderers.TextPadRenderer
Render a series of RuleViolations.
renderFileViolations(Iterator<RuleViolation>) - Method in class net.sourceforge.pmd.renderers.TextRenderer
Render a series of RuleViolations.
renderFileViolations(Iterator<RuleViolation>) - Method in class net.sourceforge.pmd.renderers.VBHTMLRenderer
Render a series of RuleViolations.
renderFileViolations(Iterator<RuleViolation>) - Method in class net.sourceforge.pmd.renderers.XMLRenderer
Render a series of RuleViolations.
renderReports(List<Renderer>, Report) - Method in class net.sourceforge.pmd.processor.AbstractPMDProcessor
 
renderSummary() - Method in class net.sourceforge.pmd.renderers.SummaryHTMLRenderer
Write a Summary HTML table.
replaceString(String, char, String) - Static method in class net.sourceforge.pmd.util.StringUtil
 
replaceString(String, String, String) - Static method in class net.sourceforge.pmd.util.StringUtil
 
report(Map<String, BenchmarkResult>) - Method in class net.sourceforge.pmd.benchmark.TextReport
 
report(String) - Method in class net.sourceforge.pmd.cpd.FileReporter
 
report(UsageGraph, boolean) - Static method in class net.sourceforge.pmd.dcd.DCD
 
report - Variable in class net.sourceforge.pmd.renderers.AbstractAccumulatingRenderer
The accumulated Report.
Report - Class in net.sourceforge.pmd
A Report collects all informations during a PMD execution.
Report() - Constructor for class net.sourceforge.pmd.Report
 
Report.ProcessingError - Class in net.sourceforge.pmd
Represents a processing error, such as a parse error.
Report.ProcessingError(String, String) - Constructor for class net.sourceforge.pmd.Report.ProcessingError
Creates a new processing error
Report.ReadableDuration - Class in net.sourceforge.pmd
Represents a duration.
Report.ReadableDuration(long) - Constructor for class net.sourceforge.pmd.Report.ReadableDuration
Creates a new duration.
Report.RuleConfigurationError - Class in net.sourceforge.pmd
Represents a configuration error.
Report.RuleConfigurationError(Rule, String) - Constructor for class net.sourceforge.pmd.Report.RuleConfigurationError
Creates a new configuration error.
Report.SuppressedViolation - Class in net.sourceforge.pmd
Represents a violation, that has been suppressed.
Report.SuppressedViolation(RuleViolation, boolean, String) - Constructor for class net.sourceforge.pmd.Report.SuppressedViolation
Creates a suppressed violation.
REPORT_FORMAT_TO_RENDERER - Static variable in class net.sourceforge.pmd.renderers.RendererFactory
 
ReportException - Exception in net.sourceforge.pmd.cpd
 
ReportException(Throwable) - Constructor for exception net.sourceforge.pmd.cpd.ReportException
 
ReportHTMLPrintVisitor - Class in net.sourceforge.pmd.lang.dfa.report
 
ReportHTMLPrintVisitor(String) - Constructor for class net.sourceforge.pmd.lang.dfa.report.ReportHTMLPrintVisitor
 
ReportListener - Interface in net.sourceforge.pmd
Listener to be informed about found violations.
ReportTree - Class in net.sourceforge.pmd.lang.dfa.report
 
ReportTree() - Constructor for class net.sourceforge.pmd.lang.dfa.report.ReportTree
 
ReportVisitor - Class in net.sourceforge.pmd.lang.dfa.report
 
ReportVisitor() - Constructor for class net.sourceforge.pmd.lang.dfa.report.ReportVisitor
 
reset() - Static method in class net.sourceforge.pmd.benchmark.Benchmarker
 
resetTo(List<DFAGraphMethod>, LineGetter) - Method in class net.sourceforge.pmd.util.designer.DFAPanel
 
resolve(String, String) - Method in class net.sourceforge.pmd.util.database.ResourceResolver
 
ResourceLoader - Class in net.sourceforge.pmd.util.database
Helper class for retrieving resources relative to the installation.
ResourceLoader() - Constructor for class net.sourceforge.pmd.util.database.ResourceLoader
 
ResourceLoader - Class in net.sourceforge.pmd.util
 
ResourceResolver - Class in net.sourceforge.pmd.util.database
 
ResourceResolver() - Constructor for class net.sourceforge.pmd.util.database.ResourceResolver
 
restore() - Method in class net.sourceforge.pmd.cpd.TokenEntry.State
 
RETURN_STATEMENT - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
returnSourceCodeObjectsStatement - Variable in class net.sourceforge.pmd.util.database.DBMSMetadata
Procedural statement to return list of source code objects.
returnSourceCodeStatement - Variable in class net.sourceforge.pmd.util.database.DBMSMetadata
Procedural statement to return source code.
returnType - Variable in class net.sourceforge.pmd.util.database.DBMSMetadata
Types value representing the type returned by callableStatement Currently only java.sql.Types.String and java.sql.Types.Clob are supported
reverseParentPathsTo(DataFlowNode) - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
reverseParentPathsTo(DataFlowNode) - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
RootNode - Interface in net.sourceforge.pmd.lang.ast
This interface can be used to tag the root node of various ASTs.
rootNode - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
The root ElementNode of the DocumentNode.
rule - Variable in class net.sourceforge.pmd.benchmark.RuleDuration
 
rule - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
rule() - Method in class net.sourceforge.pmd.Report.RuleConfigurationError
Gets the wrongly configured rule
Rule - Interface in net.sourceforge.pmd
This is the basic Rule interface for PMD rules.
RuleChain - Class in net.sourceforge.pmd
The RuleChain is a means by which Rules can participate in a uniform visitation of the AST, and not need perform their own independent visitation.
RuleChain() - Constructor for class net.sourceforge.pmd.RuleChain
 
RuleChainVisitor - Interface in net.sourceforge.pmd.lang.rule
The RuleChainVisitor understands how to visit an AST for a particular Language.
ruleChainVisitorClass - Variable in class net.sourceforge.pmd.lang.BaseLanguageModule
 
ruleChainVisits - Variable in class net.sourceforge.pmd.lang.rule.xpath.AbstractXPathRuleQuery
Subclasses can manage RuleChain visits via this list.
RuleContext - Class in net.sourceforge.pmd
The RuleContext provides access to Rule processing state.
RuleContext() - Constructor for class net.sourceforge.pmd.RuleContext
Default constructor.
RuleContext(RuleContext) - Constructor for class net.sourceforge.pmd.RuleContext
Constructor which shares attributes and report listeners with the given RuleContext.
ruleCount() - Method in class net.sourceforge.pmd.RuleSets
Determines the total count of rules that are used in all rule sets.
RuleDuration - Class in net.sourceforge.pmd.benchmark
 
RuleDuration(long, Rule) - Constructor for class net.sourceforge.pmd.benchmark.RuleDuration
 
RulePriority - Enum in net.sourceforge.pmd
These are the possible Rule priority values.
RuleReference - Class in net.sourceforge.pmd.lang.rule
This class represents a Rule which is a reference to Rule defined in another RuleSet.
RuleReference() - Constructor for class net.sourceforge.pmd.lang.rule.RuleReference
 
RuleReference(Rule, RuleSetReference) - Constructor for class net.sourceforge.pmd.lang.rule.RuleReference
 
RuleSet - Class in net.sourceforge.pmd
This class represents a collection of rules along with some optional filter patterns that can preclude their application on specific files.
RuleSet() - Constructor for class net.sourceforge.pmd.RuleSet
 
RULESET_NS_URI - Static variable in class net.sourceforge.pmd.RuleSetWriter
 
RuleSetFactory - Class in net.sourceforge.pmd
RuleSetFactory is responsible for creating RuleSet instances from XML content.
RuleSetFactory() - Constructor for class net.sourceforge.pmd.RuleSetFactory
 
RuleSetNotFoundException - Exception in net.sourceforge.pmd
 
RuleSetNotFoundException(String) - Constructor for exception net.sourceforge.pmd.RuleSetNotFoundException
 
RuleSetReference - Class in net.sourceforge.pmd
This class represents a reference to RuleSet.
RuleSetReference() - Constructor for class net.sourceforge.pmd.RuleSetReference
 
RuleSetReference(String) - Constructor for class net.sourceforge.pmd.RuleSetReference
 
RuleSetReferenceId - Class in net.sourceforge.pmd
This class is used to parse a RuleSet reference value.
RuleSetReferenceId(String) - Constructor for class net.sourceforge.pmd.RuleSetReferenceId
Construct a RuleSetReferenceId for the given single ID string.
RuleSetReferenceId(String, RuleSetReferenceId) - Constructor for class net.sourceforge.pmd.RuleSetReferenceId
Construct a RuleSetReferenceId for the given single ID string.
ruleSetRules - Variable in class net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor
These are all the rules participating in the RuleChain, grouped by RuleSet.
RuleSets - Class in net.sourceforge.pmd
Grouping of Rules per Language in a RuleSet.
RuleSets() - Constructor for class net.sourceforge.pmd.RuleSets
Public constructor.
RuleSets(RuleSet) - Constructor for class net.sourceforge.pmd.RuleSets
Public constructor.
RulesetsFactoryUtils - Class in net.sourceforge.pmd
 
RuleSetWrapper - Class in net.sourceforge.pmd.ant
 
RuleSetWrapper() - Constructor for class net.sourceforge.pmd.ant.RuleSetWrapper
 
RuleSetWriter - Class in net.sourceforge.pmd
This class represents a way to serialize a RuleSet to an XML configuration file.
RuleSetWriter(OutputStream) - Constructor for class net.sourceforge.pmd.RuleSetWriter
 
RuleViolation - Interface in net.sourceforge.pmd
A RuleViolation is created by a Rule when it identifies a violation of the Rule constraints.
ruleViolationAdded(RuleViolation) - Method in interface net.sourceforge.pmd.ReportListener
A new violation has been found.
ruleViolationAdded(RuleViolation) - Method in class net.sourceforge.pmd.SynchronizedReportListener
A new violation has been found.
RuleViolationComparator - Class in net.sourceforge.pmd
Compares RuleViolations using the following criteria: Source file name Begin line Description Begin column End line End column Rule name
RuleViolationFactory - Interface in net.sourceforge.pmd.lang.rule
This class handles of producing a Language specific RuleViolation and adding to a Report.
run(String[]) - Static method in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
run() - Method in class net.sourceforge.pmd.lang.dfa.pathfinder.DAAPathFinder
 
run() - Method in class net.sourceforge.pmd.lang.dfa.SequenceChecker
Finds the first innermost sequence e.g IFStart & IFEnd.
run(String[]) - Static method in class net.sourceforge.pmd.PMD
Parses the command line arguments and executes PMD.

S

SaxonXPathRuleQuery - Class in net.sourceforge.pmd.lang.rule.xpath
This is a Saxon based XPathRule query.
SaxonXPathRuleQuery() - Constructor for class net.sourceforge.pmd.lang.rule.xpath.SaxonXPathRuleQuery
 
Scope - Interface in net.sourceforge.pmd.lang.symboltable
A scope is a region within variables and other declarations are visible.
ScopedLogHandlersManager - Class in net.sourceforge.pmd.util.log
 
ScopedLogHandlersManager(Level, Handler...) - Constructor for class net.sourceforge.pmd.util.log.ScopedLogHandlersManager
 
ScopedNode - Interface in net.sourceforge.pmd.lang.symboltable
A Node which knows about the scope within it has been declared.
select(Node) - Method in class net.sourceforge.pmd.util.designer.CodeEditorTextPane
 
selectID(String) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.DocumentNode
selectNode(Node, Object) - Method in class net.sourceforge.pmd.util.viewer.model.ViewerModel
selects the given node in the AST
SequenceChecker - Class in net.sourceforge.pmd.lang.dfa
 
SequenceChecker(List<StackObject>) - Constructor for class net.sourceforge.pmd.lang.dfa.SequenceChecker
 
SequenceException - Exception in net.sourceforge.pmd.lang.dfa
 
SequenceException() - Constructor for exception net.sourceforge.pmd.lang.dfa.SequenceException
 
SequenceException(String) - Constructor for exception net.sourceforge.pmd.lang.dfa.SequenceException
 
setAllRules(boolean) - Method in class net.sourceforge.pmd.RuleSetReference
 
setAttribute(String, Object) - Method in class net.sourceforge.pmd.RuleContext
Set an attribute value on the RuleContext, if it does not already exist.
setAuxClasspath(Path) - Method in class net.sourceforge.pmd.ant.PMDTask
 
setAuxClasspathRef(Reference) - Method in class net.sourceforge.pmd.ant.PMDTask
 
setBenchmark(boolean) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the benchmark indicator.
setCharacterSet(String) - Method in class net.sourceforge.pmd.util.database.DBURI
 
setClassLoader(ClassLoader) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the ClassLoader being used by PMD when processing Rules.
setClassLoader(ClassLoader) - Method in class net.sourceforge.pmd.RuleSetFactory
Set the ClassLoader to use when loading Rules.
setClasspath(Path) - Method in class net.sourceforge.pmd.ant.PMDTask
 
setClasspathRef(Reference) - Method in class net.sourceforge.pmd.ant.PMDTask
 
setCode(LineGetter) - Method in class net.sourceforge.pmd.util.designer.DFAPanel.DFACanvas
 
setCpdListener(CPDListener) - Method in class net.sourceforge.pmd.cpd.CPD
 
setDataFlowNode(DataFlowNode) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
setDataFlowNode(DataFlowNode) - Method in interface net.sourceforge.pmd.lang.ast.Node
 
setDataSourceName(String) - Method in class net.sourceforge.pmd.util.datasource.ReaderDataSource
 
setDbType(DBType) - Method in class net.sourceforge.pmd.util.database.DBURI
 
setDebug(boolean) - Method in class net.sourceforge.pmd.AbstractConfiguration
Set the debug indicator.
setDefaultLanguageVersion(LanguageVersion) - Method in class net.sourceforge.pmd.lang.LanguageVersionDiscoverer
Set the given LanguageVersion as the current default for it's Language.
setDefaultLanguageVersion(LanguageVersion) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the given LanguageVersion as the current default for it's Language.
setDefaultLanguageVersions(List<LanguageVersion>) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the given LanguageVersions as the current default for their Languages.
setDeprecated(boolean) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setDeprecated(boolean) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
setDeprecated(boolean) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
setDeprecated(boolean) - Method in interface net.sourceforge.pmd.Rule
Sets whether this Rule is deprecated.
setDescription(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setDescription(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
setDescription(String) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
setDescription(String) - Method in class net.sourceforge.pmd.renderers.AbstractRenderer
Set the description of the Renderer.
setDescription(String) - Method in interface net.sourceforge.pmd.renderers.Renderer
Set the description of the Renderer.
setDescription(String) - Method in interface net.sourceforge.pmd.Rule
Set the description of this Rule.
setDescription(String) - Method in class net.sourceforge.pmd.RuleSet
 
setDriverClass(String) - Method in class net.sourceforge.pmd.util.database.DBURI
 
setEncoding(String) - Method in class net.sourceforge.pmd.ant.PMDTask
 
setEncoding(String) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setEncoding(String) - Method in class net.sourceforge.pmd.cpd.CPDTask
 
setEncoding(String) - Method in class net.sourceforge.pmd.cpd.XMLRenderer
 
setExcludePatterns(Collection<String>) - Method in class net.sourceforge.pmd.RuleSet
Replaces the existing exclusion patterns with the given patterns.
setExcludes(List<File>) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setExcludes(Set<String>) - Method in class net.sourceforge.pmd.RuleSetReference
 
setExternalInfoUrl(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setExternalInfoUrl(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
setExternalInfoUrl(String) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
setExternalInfoUrl(String) - Method in interface net.sourceforge.pmd.Rule
Set a URL for external information about this Rule.
setFailOnError(boolean) - Method in class net.sourceforge.pmd.ant.PMDTask
 
setFailOnRuleViolation(boolean) - Method in class net.sourceforge.pmd.ant.PMDTask
 
setFailuresPropertyName(String) - Method in class net.sourceforge.pmd.ant.PMDTask
 
setFileName(String) - Static method in class net.sourceforge.pmd.lang.ast.AbstractTokenManager
 
setFileName(String) - Method in interface net.sourceforge.pmd.lang.TokenManager
 
setFileName(String) - Method in class net.sourceforge.pmd.RuleSet
 
setFiles(List<File>) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setFilter(Filter<T>) - Method in class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
 
setFilters(List<Filter<T>>) - Method in class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
 
setFormat(CPDTask.FormatAttribute) - Method in class net.sourceforge.pmd.cpd.CPDTask
 
setHashCode(int) - Method in class net.sourceforge.pmd.cpd.TokenEntry
 
setHelp(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setIgnoreAnnotations(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setIgnoreAnnotations(boolean) - Method in class net.sourceforge.pmd.cpd.CPDTask
 
setIgnoreClassAnonymous(boolean) - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
setIgnoreConstructorAllPrivate(boolean) - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
setIgnoreConstructorSinglePrivateNoArg(boolean) - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
setIgnoreConstructorStaticInitializer(boolean) - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
setIgnoreExceptions(boolean) - Method in class net.sourceforge.pmd.RuleContext
Configure whether exceptions during applying a rule should be ignored or not.
setIgnoreFieldInlinable(boolean) - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
setIgnoreIdentifiers(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setIgnoreIdentifiers(boolean) - Method in class net.sourceforge.pmd.cpd.CPDTask
 
setIgnoreLiterals(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setIgnoreLiterals(boolean) - Method in class net.sourceforge.pmd.cpd.CPDTask
 
setIgnoreMethodAllOverride(boolean) - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
setIgnoreMethodJavaLangObjectOverride(boolean) - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
setIgnoreMethodMain(boolean) - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
setImage(String) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
setImage(String) - Method in interface net.sourceforge.pmd.lang.ast.Node
 
setIncludePatterns(Collection<String>) - Method in class net.sourceforge.pmd.RuleSet
Replaces the existing inclusion patterns with the given patterns.
setInputPaths(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the comma separated list of input paths to process for source files.
setInputUri(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the input URI to process for source code objects.
setLabel(String) - Method in class net.sourceforge.pmd.cpd.Match
 
setLanguage(Language) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setLanguage(String) - Method in class net.sourceforge.pmd.cpd.CPDTask
 
setLanguage(Language) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setLanguage(Language) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
setLanguage(Language) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
setLanguage(Language) - Method in interface net.sourceforge.pmd.Rule
Set the Language of this Rule.
setLanguagesList(List<String>) - Method in class net.sourceforge.pmd.util.database.DBURI
 
setLanguageVersion(LanguageVersion) - Method in class net.sourceforge.pmd.RuleContext
Set the LanguageVersion associated with the current source file.
setLineCount(int) - Method in class net.sourceforge.pmd.cpd.Mark
 
setLines(int, int) - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
setListener(CPDListener) - Method in class net.sourceforge.pmd.cpd.MatchAlgorithm
 
setMarkSet(Set<Mark>) - Method in class net.sourceforge.pmd.cpd.Match
 
setMaximumLanguageVersion(LanguageVersion) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setMaximumLanguageVersion(LanguageVersion) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
setMaximumLanguageVersion(LanguageVersion) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
setMaximumLanguageVersion(LanguageVersion) - Method in interface net.sourceforge.pmd.Rule
Set the maximum LanguageVersion to which this Rule applies.
setMaxRuleViolations(int) - Method in class net.sourceforge.pmd.ant.PMDTask
 
setMessage(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setMessage(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
setMessage(String) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
setMessage(String) - Method in interface net.sourceforge.pmd.Rule
Set the message to show when this Rule identifies a violation.
setMessage(String) - Method in class net.sourceforge.pmd.stat.DataPoint
 
setMethod(Node) - Method in class net.sourceforge.pmd.util.designer.DFAPanel.DFACanvas
 
setMinimumLanguageVersion(LanguageVersion) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setMinimumLanguageVersion(LanguageVersion) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
setMinimumLanguageVersion(LanguageVersion) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
setMinimumLanguageVersion(LanguageVersion) - Method in interface net.sourceforge.pmd.Rule
Set the minimum LanguageVersion to which this Rule applies.
setMinimumPriority(int) - Method in class net.sourceforge.pmd.ant.PMDTask
 
setMinimumPriority(RulePriority) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the minimum priority threshold when loading Rules from RuleSets.
setMinimumPriority(RulePriority) - Method in class net.sourceforge.pmd.RuleSetFactory
Set the minimum rule priority threshold for all Rules which are loaded from RuleSets via reference.
setMinimumTileSize(int) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setMinimumTokenCount(int) - Method in class net.sourceforge.pmd.cpd.CPDTask
 
setName(String) - Method in class net.sourceforge.pmd.ant.SourceLanguage
 
setName(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setName(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
setName(String) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
setName(String) - Method in class net.sourceforge.pmd.renderers.AbstractRenderer
Set the name of the Renderer.
setName(String) - Method in interface net.sourceforge.pmd.renderers.Renderer
Set the name of the Renderer.
setName(String) - Method in interface net.sourceforge.pmd.Rule
Set the name of this Rule.
setName(String) - Method in class net.sourceforge.pmd.RuleSet
 
setName(String) - Method in class net.sourceforge.pmd.util.database.SourceObject
 
setNode(Node) - Method in class net.sourceforge.pmd.stat.DataPoint
 
setNonRecursive(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setNoSkipBlocks(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setOutputFile(File) - Method in class net.sourceforge.pmd.cpd.CPDTask
 
setParameters(Map<String, String>) - Method in class net.sourceforge.pmd.util.database.DBURI
 
setParent(Scope) - Method in class net.sourceforge.pmd.lang.symboltable.AbstractScope
 
setParent(Scope) - Method in interface net.sourceforge.pmd.lang.symboltable.Scope
Points this scope to its parent
setPriority(RulePriority) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setPriority(RulePriority) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
setPriority(RulePriority) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
setPriority(RulePriority) - Method in interface net.sourceforge.pmd.Rule
Set the priority of this Rule.
setProperties(Properties) - Method in class net.sourceforge.pmd.cpd.AbstractLanguage
 
setProperties(Properties) - Method in interface net.sourceforge.pmd.cpd.Language
 
setProperties(Map<PropertyDescriptor<?>, Object>) - Method in class net.sourceforge.pmd.lang.rule.xpath.AbstractXPathRuleQuery
Set the properties to use during the XPath query.
setProperties(Map<PropertyDescriptor<?>, Object>) - Method in interface net.sourceforge.pmd.lang.rule.xpath.XPathRuleQuery
Set the properties to use during the XPath query.
setProperties(Properties) - Method in class net.sourceforge.pmd.util.database.DBType
 
setProperty(PropertyDescriptor<T>, T) - Method in class net.sourceforge.pmd.AbstractPropertySource
Set the property value specified (will be type-checked)
setProperty(PropertyDescriptor<T>, T) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setProperty(PropertyDescriptor<T>, T) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
setProperty(PropertyDescriptor<T>, T) - Method in interface net.sourceforge.pmd.PropertySource
Set the property value specified (will be type-checked)
setRenderer(Renderer) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setRendererName(String) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setReport(Report) - Method in class net.sourceforge.pmd.RuleContext
Set the Report to which Rule Violations are sent.
setReportFile(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the file to which the report should render.
setReportFormat(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the report format.
setReportProperties(Properties) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the Report properties.
setReportShortNames(boolean) - Method in class net.sourceforge.pmd.PMDConfiguration
Set whether to use File short names in Reports.
setRevision(String) - Method in class net.sourceforge.pmd.util.database.SourceObject
 
setRule(Rule) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setRuleClass(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setRuleClass(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
setRuleClass(String) - Method in interface net.sourceforge.pmd.Rule
Set the class of this Rule.
setRuleSetFileName(String) - Method in class net.sourceforge.pmd.RuleSetReference
 
setRuleSetFiles(String) - Method in class net.sourceforge.pmd.ant.PMDTask
 
setRuleSetName(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setRuleSetName(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
setRuleSetName(String) - Method in interface net.sourceforge.pmd.Rule
Set the name of the RuleSet containing this Rule.
setRuleSetReference(RuleSetReference) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
setRuleSets(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the comma separated list of RuleSet URIs.
setSchema(String) - Method in class net.sourceforge.pmd.util.database.SourceObject
 
setSchemasList(List<String>) - Method in class net.sourceforge.pmd.util.database.DBURI
 
setScore(double) - Method in class net.sourceforge.pmd.stat.DataPoint
 
setSeverity(int) - Method in exception net.sourceforge.pmd.PMDException
 
setShortFilenames(boolean) - Method in class net.sourceforge.pmd.ant.PMDTask
 
setShowSuppressed(boolean) - Method in class net.sourceforge.pmd.ant.Formatter
 
setShowSuppressedViolations(boolean) - Method in class net.sourceforge.pmd.PMDConfiguration
Set whether the report should show suppressed violations.
setShowSuppressedViolations(boolean) - Method in class net.sourceforge.pmd.renderers.AbstractRenderer
Set the indicator for whether to show suppressed violations.
setShowSuppressedViolations(boolean) - Method in interface net.sourceforge.pmd.renderers.Renderer
Set the indicator for whether to show suppressed violations.
setSince(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setSince(String) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
setSince(String) - Method in interface net.sourceforge.pmd.Rule
Set the version of PMD in which this Rule was added.
setSkipBlocks(boolean) - Method in class net.sourceforge.pmd.cpd.CPDTask
 
setSkipBlocksPattern(String) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setSkipBlocksPattern(String) - Method in class net.sourceforge.pmd.cpd.CPDTask
 
setSkipDuplicateFiles(boolean) - Method in class net.sourceforge.pmd.cpd.CPDTask
 
setSkipDuplicates(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setSkipLexicalErrors(boolean) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setSkipLexicalErrors(boolean) - Method in class net.sourceforge.pmd.cpd.CPDTask
 
setSourceCodeFile(File) - Method in class net.sourceforge.pmd.RuleContext
Set the File associated with the current source file.
setSourceCodeFilename(String) - Method in class net.sourceforge.pmd.RuleContext
Set the file name associated with the current source file.
setSourceCodeNamesList(List<String>) - Method in class net.sourceforge.pmd.util.database.DBURI
 
setSourceCodeType(int) - Method in class net.sourceforge.pmd.util.database.DBURI
 
setSourceCodeTypesList(List<String>) - Method in class net.sourceforge.pmd.util.database.DBURI
 
setSourceEncoding(String) - Method in class net.sourceforge.pmd.AbstractConfiguration
Set the character encoding of source files.
setSoureCodeSlice(String) - Method in class net.sourceforge.pmd.cpd.Mark
 
setStatusCodeOrExit(int) - Static method in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
setStatusCodeOrExit(int) - Static method in class net.sourceforge.pmd.cpd.CPDCommandLineInterface
 
setStressTest(boolean) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the stress test indicator.
setSubnamePrefix(String) - Method in class net.sourceforge.pmd.util.database.DBURI
 
setSubprotocol(String) - Method in class net.sourceforge.pmd.util.database.DBURI
 
setSuppressMarker(String) - Method in class net.sourceforge.pmd.ant.PMDTask
 
setSuppressMarker(String) - Method in class net.sourceforge.pmd.lang.ast.AbstractTokenManager
 
setSuppressMarker(String) - Method in class net.sourceforge.pmd.lang.ParserOptions
 
setSuppressMarker(String) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the suppress marker.
setSystemId(String) - Method in class net.sourceforge.pmd.lang.ast.xpath.saxon.AbstractNodeInfo
setSystemProperties(CPDConfiguration) - Static method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setTabSize(int) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
setTabSize(int) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
setThreads(int) - Method in class net.sourceforge.pmd.ant.PMDTask
 
setThreads(int) - Method in class net.sourceforge.pmd.PMDConfiguration
Set the number of threads to use when processing Rules.
setToConsole(boolean) - Method in class net.sourceforge.pmd.ant.Formatter
 
setToFile(File) - Method in class net.sourceforge.pmd.ant.Formatter
 
setType(String) - Method in class net.sourceforge.pmd.ant.Formatter
 
setType(int) - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
setType(int) - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
setType(String) - Method in class net.sourceforge.pmd.util.database.SourceObject
 
setupReport(RuleSets, RuleContext, String) - Static method in class net.sourceforge.pmd.PMD
Create a report, filter out any defective rules, and keep a record of them.
setUri(String) - Method in class net.sourceforge.pmd.cli.PMDParameters
 
setURI(String) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
setUri(URI) - Method in class net.sourceforge.pmd.util.database.DBURI
 
setURL(String) - Method in class net.sourceforge.pmd.util.database.DBURI
 
setUserData(Object) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
Set the user data associated with this node.
setUserData(Object) - Method in interface net.sourceforge.pmd.lang.ast.Node
Set the user data associated with this node.
setUsesDFA() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setUsesDFA() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
setUsesDFA() - Method in interface net.sourceforge.pmd.Rule
Sets whether this Rule uses Data Flow Analysis.
setUsesTypeResolution() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
setUsesTypeResolution() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
setUsesTypeResolution() - Method in interface net.sourceforge.pmd.Rule
Sets whether this Rule uses Type Resolution.
setVariableAccess(List<VariableAccess>) - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
setVariableAccess(List<VariableAccess>) - Method in interface net.sourceforge.pmd.lang.dfa.DataFlowNode
 
setVersion(String) - Method in class net.sourceforge.pmd.ant.SourceLanguage
 
setVersion(String) - Method in class net.sourceforge.pmd.lang.rule.xpath.AbstractXPathRuleQuery
Set the XPath version to be used.
setVersion(String) - Method in interface net.sourceforge.pmd.lang.rule.xpath.XPathRuleQuery
Set the XPath version to be used.
setVersion(String) - Method in class net.sourceforge.pmd.lang.rule.XPathRule
 
setWarnDeprecated(boolean) - Method in class net.sourceforge.pmd.RuleSetFactory
Set whether warning messages should be logged for usage of deprecated Rules.
setWriter(Writer) - Method in class net.sourceforge.pmd.renderers.AbstractRenderer
Set the Writer for the Renderer.
setWriter(Writer) - Method in interface net.sourceforge.pmd.renderers.Renderer
Set the Writer for the Renderer.
setXPath(String) - Method in class net.sourceforge.pmd.lang.rule.xpath.AbstractXPathRuleQuery
Set the XPath query string to be used.
setXPath(String) - Method in interface net.sourceforge.pmd.lang.rule.xpath.XPathRuleQuery
Set the XPath query string to be used.
setXPath(String) - Method in class net.sourceforge.pmd.lang.rule.XPathRule
 
shortName - Variable in class net.sourceforge.pmd.lang.BaseLanguageModule
 
showSuppressedViolations - Variable in class net.sourceforge.pmd.renderers.AbstractRenderer
 
siblingPosition - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.ElementNode
 
SIGMA_DESCRIPTOR - Static variable in interface net.sourceforge.pmd.lang.rule.stat.StatisticalRule
 
SimpleCharStream - Class in net.sourceforge.pmd.lang.ast
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class net.sourceforge.pmd.lang.ast.SimpleCharStream
Constructor.
SimpleCharStream(Reader, int, int) - Constructor for class net.sourceforge.pmd.lang.ast.SimpleCharStream
Constructor.
SimpleCharStream(Reader) - Constructor for class net.sourceforge.pmd.lang.ast.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int, int) - Constructor for class net.sourceforge.pmd.lang.ast.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int, int) - Constructor for class net.sourceforge.pmd.lang.ast.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String, int, int) - Constructor for class net.sourceforge.pmd.lang.ast.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, int, int) - Constructor for class net.sourceforge.pmd.lang.ast.SimpleCharStream
Constructor.
SimpleCharStream(InputStream, String) - Constructor for class net.sourceforge.pmd.lang.ast.SimpleCharStream
Constructor.
SimpleCharStream(InputStream) - Constructor for class net.sourceforge.pmd.lang.ast.SimpleCharStream
Constructor.
SimpleNodeSubMenu - Class in net.sourceforge.pmd.util.viewer.gui.menu
submenu for the simple node itself
SimpleNodeSubMenu(ViewerModel, Node) - Constructor for class net.sourceforge.pmd.util.viewer.gui.menu.SimpleNodeSubMenu
constructs the submenu
SimpleNodeTreeNodeAdapter - Class in net.sourceforge.pmd.util.viewer.model
provides the adapter for the tree model
SimpleNodeTreeNodeAdapter(SimpleNodeTreeNodeAdapter, Node) - Constructor for class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
constructs the node
SimpleRenderer - Class in net.sourceforge.pmd.cpd
 
SimpleRenderer() - Constructor for class net.sourceforge.pmd.cpd.SimpleRenderer
 
SimpleRenderer(boolean) - Constructor for class net.sourceforge.pmd.cpd.SimpleRenderer
 
SimpleRenderer(String) - Constructor for class net.sourceforge.pmd.cpd.SimpleRenderer
 
size() - Method in class net.sourceforge.pmd.cpd.Tokens
 
size() - Method in class net.sourceforge.pmd.lang.dfa.report.ReportTree
 
size() - Method in class net.sourceforge.pmd.Report
The number of violations.
size() - Method in class net.sourceforge.pmd.RuleSet
Returns the number of rules in this ruleset
size() - Method in class net.sourceforge.pmd.util.TypeMap
Returns the total number of entries in the receiver.
skipBOM(Reader) - Static method in class net.sourceforge.pmd.util.IOUtil
 
SOURCE_PATH - Static variable in class net.sourceforge.pmd.renderers.IDEAJRenderer
 
SourceCode - Class in net.sourceforge.pmd.cpd
 
SourceCode(SourceCode.CodeLoader) - Constructor for class net.sourceforge.pmd.cpd.SourceCode
 
SourceCode.CodeLoader - Class in net.sourceforge.pmd.cpd
 
SourceCode.CodeLoader() - Constructor for class net.sourceforge.pmd.cpd.SourceCode.CodeLoader
 
SourceCode.FileCodeLoader - Class in net.sourceforge.pmd.cpd
 
SourceCode.FileCodeLoader(File, String) - Constructor for class net.sourceforge.pmd.cpd.SourceCode.FileCodeLoader
 
SourceCode.ReaderCodeLoader - Class in net.sourceforge.pmd.cpd
 
SourceCode.ReaderCodeLoader(Reader) - Constructor for class net.sourceforge.pmd.cpd.SourceCode.ReaderCodeLoader
 
SourceCode.ReaderCodeLoader(Reader, String) - Constructor for class net.sourceforge.pmd.cpd.SourceCode.ReaderCodeLoader
 
SourceCode.StringCodeLoader - Class in net.sourceforge.pmd.cpd
 
SourceCode.StringCodeLoader(String) - Constructor for class net.sourceforge.pmd.cpd.SourceCode.StringCodeLoader
 
SourceCode.StringCodeLoader(String, String) - Constructor for class net.sourceforge.pmd.cpd.SourceCode.StringCodeLoader
 
sourceCodeFor(File) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
sourceCodeFor(Reader, String) - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
SourceCodePanel - Class in net.sourceforge.pmd.util.viewer.gui
source code panel
SourceCodePanel(ViewerModel) - Constructor for class net.sourceforge.pmd.util.viewer.gui.SourceCodePanel
 
SourceCodeProcessor - Class in net.sourceforge.pmd
 
SourceCodeProcessor(PMDConfiguration) - Constructor for class net.sourceforge.pmd.SourceCodeProcessor
 
SourceLanguage - Class in net.sourceforge.pmd.ant
Stores LanguageVersion terse name value.
SourceLanguage() - Constructor for class net.sourceforge.pmd.ant.SourceLanguage
 
SourceObject - Class in net.sourceforge.pmd.util.database
Instantiate the fields required to retrieve SourceCode.
spanMultipleLinesLineContinuationCharacter - Variable in class net.sourceforge.pmd.cpd.AbstractTokenizer
 
spanMultipleLinesString - Variable in class net.sourceforge.pmd.cpd.AbstractTokenizer
 
StackObject - Class in net.sourceforge.pmd.lang.dfa
 
StackObject(int, DataFlowNode) - Constructor for class net.sourceforge.pmd.lang.dfa.StackObject
 
start(String) - Method in class net.sourceforge.pmd.ant.Formatter
 
start(RuleContext) - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
start(RuleContext) - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
start(Node) - Method in interface net.sourceforge.pmd.lang.VisitorStarter
Start the visitor, given the root-node of the AST.
start() - Method in class net.sourceforge.pmd.renderers.AbstractAccumulatingRenderer
This method is called before any source files are processed.
start() - Method in class net.sourceforge.pmd.renderers.AbstractIncrementingRenderer
This method is called before any source files are processed.
start() - Method in class net.sourceforge.pmd.renderers.CSVRenderer
This method is called before any source files are processed.
start() - Method in class net.sourceforge.pmd.renderers.HTMLRenderer
This method is called before any source files are processed.
start() - Method in interface net.sourceforge.pmd.renderers.Renderer
This method is called before any source files are processed.
start() - Method in class net.sourceforge.pmd.renderers.TextRenderer
This method is called before any source files are processed.
start() - Method in class net.sourceforge.pmd.renderers.VBHTMLRenderer
This method is called before any source files are processed.
start() - Method in class net.sourceforge.pmd.renderers.XMLRenderer
This method is called before any source files are processed.
start() - Method in class net.sourceforge.pmd.renderers.XSLTRenderer
This method is called before any source files are processed.
start() - Method in class net.sourceforge.pmd.Report
Mark the start time of the report.
start(RuleContext) - Method in interface net.sourceforge.pmd.Rule
Start processing.
start(RuleContext) - Method in class net.sourceforge.pmd.RuleSet
Triggers that start lifecycle event on each rule in this ruleset.
start(RuleContext) - Method in class net.sourceforge.pmd.RuleSets
Notify all rules of the start of processing.
startFileAnalysis(DataSource) - Method in class net.sourceforge.pmd.renderers.AbstractAccumulatingRenderer
This method is called each time a source file is processed.
startFileAnalysis(DataSource) - Method in class net.sourceforge.pmd.renderers.AbstractIncrementingRenderer
This method is called each time a source file is processed.
startFileAnalysis(DataSource) - Method in interface net.sourceforge.pmd.renderers.Renderer
This method is called each time a source file is processed.
startNodeInfo - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeAxisIterator
 
StartOrEndDataFlowNode - Class in net.sourceforge.pmd.lang.dfa
 
StartOrEndDataFlowNode(List<DataFlowNode>, int, boolean) - Constructor for class net.sourceforge.pmd.lang.dfa.StartOrEndDataFlowNode
 
startsWithAny(String, String...) - Static method in class net.sourceforge.pmd.util.StringUtil
Return whether the non-null text arg starts with any of the prefix values.
STATIC_LEXER_ERROR - Static variable in exception net.sourceforge.pmd.lang.ast.TokenMgrError
An attempt was made to create a second instance of a static token manager.
staticFlag - Static variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
Whether parser is static.
staticFlag - Static variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
Whether parser is static.
StatisticalRule - Interface in net.sourceforge.pmd.lang.rule.stat
This interface tags a Rule as being a Statistical rule, producing various metrics from data points.
StatisticalRuleHelper - Class in net.sourceforge.pmd.lang.rule.stat
This class is used to implement the core logic of a StatisticalRule.
StatisticalRuleHelper(AbstractRule) - Constructor for class net.sourceforge.pmd.lang.rule.stat.StatisticalRuleHelper
 
status(int, int) - Method in interface net.sourceforge.pmd.PMD.ProgressMonitor
A status update reporting on current progress.
STATUS_CODE_PROPERTY - Static variable in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
STATUS_CODE_PROPERTY - Static variable in class net.sourceforge.pmd.cpd.CPDCommandLineInterface
 
StringBuilderCR - Class in net.sourceforge.pmd.benchmark
A wrapped StringBuilder that appends a variable number of text segments efficiently and always appends the specified carriage return terminator.
StringBuilderCR(String) - Constructor for class net.sourceforge.pmd.benchmark.StringBuilderCR
 
StringBuilderCR(String, String) - Constructor for class net.sourceforge.pmd.benchmark.StringBuilderCR
 
stringFromType(int) - Static method in class net.sourceforge.pmd.lang.dfa.NodeType
 
StringMultiProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a datatype that supports multiple String values.
StringMultiProperty(String, String, String[], float, char) - Constructor for class net.sourceforge.pmd.lang.rule.properties.StringMultiProperty
Constructor for StringProperty.
StringProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a datatype that supports single String values.
StringProperty(String, String, String, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.StringProperty
Constructor for StringProperty.
stringToken - Variable in class net.sourceforge.pmd.cpd.AbstractTokenizer
 
StringUtil - Class in net.sourceforge.pmd.util
A number of String-specific utility methods for use by PMD or its IDE plugins.
Structure - Class in net.sourceforge.pmd.lang.dfa
 
Structure(DataFlowHandler) - Constructor for class net.sourceforge.pmd.lang.dfa.Structure
 
substringsOf(String, char) - Static method in class net.sourceforge.pmd.util.StringUtil
Parses the input source using the delimiter specified.
substringsOf(String, String) - Static method in class net.sourceforge.pmd.util.StringUtil
Much more efficient than StringTokenizer.
SummaryHTMLRenderer - Class in net.sourceforge.pmd.renderers
Renderer to a summarized HTML format.
SummaryHTMLRenderer() - Constructor for class net.sourceforge.pmd.renderers.SummaryHTMLRenderer
 
supportedLanguages - Static variable in class net.sourceforge.pmd.cpd.LanguageFactory
 
suppress(Map<Integer, String>) - Method in class net.sourceforge.pmd.Report
Configure the lines, that are suppressed via a NOPMD comment.
SUPPRESS_MARKER - Static variable in class net.sourceforge.pmd.PMD
The default suppress marker string.
suppressed - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
suppressed - Variable in class net.sourceforge.pmd.renderers.AbstractIncrementingRenderer
Accumulated suppressed violations.
suppressedByAnnotation() - Method in class net.sourceforge.pmd.Report.SuppressedViolation
Returns true if the violation has been suppressed via a annotation.
suppressedByNOPMD() - Method in class net.sourceforge.pmd.Report.SuppressedViolation
Returns true if the violation has been suppressed via a NOPMD comment.
suppressMap - Variable in class net.sourceforge.pmd.lang.ast.AbstractTokenManager
 
suppressMarker - Variable in class net.sourceforge.pmd.lang.ast.AbstractTokenManager
 
suppressMarker - Variable in class net.sourceforge.pmd.lang.ParserOptions
 
SWITCH_END - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
SWITCH_LAST_DEFAULT_STATEMENT - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
SWITCH_START - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
SynchronizedReportListener - Class in net.sourceforge.pmd
Wraps a report listener in order to synchronize calls to it.
SynchronizedReportListener(ReportListener) - Constructor for class net.sourceforge.pmd.SynchronizedReportListener
Creates a new SynchronizedReportListener by wrapping the given report listener.
SystemUtils - Class in net.sourceforge.pmd.util
 

T

tabSize - Variable in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
tabSize - Variable in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
terseName - Variable in class net.sourceforge.pmd.lang.BaseLanguageModule
 
testingOnly__setBeginColumn(int) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
testingOnly__setBeginLine(int) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
testingOnly__setEndColumn(int) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
testingOnly__setEndLine(int) - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
 
TextColorRenderer - Class in net.sourceforge.pmd.renderers
A console renderer with optional color support under *nix systems.
TextColorRenderer() - Constructor for class net.sourceforge.pmd.renderers.TextColorRenderer
 
TextPadRenderer - Class in net.sourceforge.pmd.renderers
A Renderer for running PMD via a TextPad 'tool'.
TextPadRenderer() - Constructor for class net.sourceforge.pmd.renderers.TextPadRenderer
 
TextRenderer - Class in net.sourceforge.pmd.renderers
Renderer to simple text format.
TextRenderer() - Constructor for class net.sourceforge.pmd.renderers.TextRenderer
 
TextReport - Class in net.sourceforge.pmd.benchmark
 
TextReport() - Constructor for class net.sourceforge.pmd.benchmark.TextReport
 
threadList - Variable in class net.sourceforge.pmd.processor.PmdThreadFactory
 
THROW_STATEMENT - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
time - Variable in class net.sourceforge.pmd.benchmark.RuleDuration
 
TIMEOUT - Static variable in class net.sourceforge.pmd.util.ResourceLoader
 
title - Variable in class net.sourceforge.pmd.renderers.ColumnDescriptor
 
toFileFilter(FilenameFilter) - Static method in class net.sourceforge.pmd.util.filter.Filters
Given a FilenameFilter, expose as a File Filter.
toFilenameFilter(Filter<File>) - Static method in class net.sourceforge.pmd.util.filter.Filters
Given a File Filter, expose as a FilenameFilter.
toInternalForm(String) - Static method in class net.sourceforge.pmd.dcd.ClassLoaderUtil
 
tokenAt(int, TokenEntry) - Method in class net.sourceforge.pmd.cpd.MatchAlgorithm
 
TokenEntry - Class in net.sourceforge.pmd.cpd
 
TokenEntry(String, String, int) - Constructor for class net.sourceforge.pmd.cpd.TokenEntry
 
TokenEntry.State - Class in net.sourceforge.pmd.cpd
Helper class to preserve and restore the current state of the token entries.
TokenEntry.State(List<TokenEntry>) - Constructor for class net.sourceforge.pmd.cpd.TokenEntry.State
 
tokenize(SourceCode, Tokens) - Method in class net.sourceforge.pmd.cpd.AbstractTokenizer
 
tokenize(SourceCode, Tokens) - Method in class net.sourceforge.pmd.cpd.AnyTokenizer
 
tokenize(SourceCode, Tokens) - Method in interface net.sourceforge.pmd.cpd.Tokenizer
 
tokenizer() - Method in class net.sourceforge.pmd.cpd.CPDConfiguration
 
Tokenizer - Interface in net.sourceforge.pmd.cpd
 
TokenManager - Interface in net.sourceforge.pmd.lang
Common interface for interacting with parser Token Managers.
TokenMgrError - Exception in net.sourceforge.pmd.lang.ast
Token Manager Error.
TokenMgrError() - Constructor for exception net.sourceforge.pmd.lang.ast.TokenMgrError
No arg constructor.
TokenMgrError(String, int) - Constructor for exception net.sourceforge.pmd.lang.ast.TokenMgrError
Constructor with message and reason.
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for exception net.sourceforge.pmd.lang.ast.TokenMgrError
Full Constructor.
TOKENS - Static variable in class net.sourceforge.pmd.cpd.AnyTokenizer
 
Tokens - Class in net.sourceforge.pmd.cpd
 
Tokens() - Constructor for class net.sourceforge.pmd.cpd.Tokens
 
toNormalizedFileFilter(Filter<String>) - Static method in class net.sourceforge.pmd.util.filter.Filters
Given a String Filter, expose as a File Filter.
TOP_SCORE_DESCRIPTOR - Static variable in interface net.sourceforge.pmd.lang.rule.stat.StatisticalRule
 
toString() - Method in class net.sourceforge.pmd.ant.Formatter
 
toString() - Method in class net.sourceforge.pmd.ant.SourceLanguage
 
toString() - Method in class net.sourceforge.pmd.benchmark.StringBuilderCR
 
toString() - Method in class net.sourceforge.pmd.cpd.Match
 
toString() - Method in class net.sourceforge.pmd.cpd.TokenEntry
 
toString() - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
toString() - Method in class net.sourceforge.pmd.lang.ast.AbstractNode
Subclasses should implement this method to return a name usable with XPathRule for evaluating Element Names.
toString() - Method in class net.sourceforge.pmd.lang.ast.xpath.Attribute
 
toString() - Method in class net.sourceforge.pmd.lang.BaseLanguageModule
 
toString() - Method in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
toString() - Method in class net.sourceforge.pmd.lang.dfa.StackObject
 
toString() - Method in class net.sourceforge.pmd.lang.dfa.StartOrEndDataFlowNode
 
toString() - Method in class net.sourceforge.pmd.lang.dfa.VariableAccess
 
toString() - Method in class net.sourceforge.pmd.lang.LanguageFilenameFilter
 
toString() - Method in class net.sourceforge.pmd.lang.LanguageVersion
 
toString() - Method in class net.sourceforge.pmd.lang.rule.ImportWrapper
 
toString() - Method in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
toString() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
toString() - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
toString() - Method in enum net.sourceforge.pmd.RulePriority
Returns the descriptive name of the priority.
toString() - Method in class net.sourceforge.pmd.RuleSetReferenceId
Return the String form of this Rule reference.
toString() - Method in class net.sourceforge.pmd.util.ClasspathClassLoader
toString() - Method in class net.sourceforge.pmd.util.database.DBType
 
toString() - Method in class net.sourceforge.pmd.util.database.DBURI
 
toString() - Method in class net.sourceforge.pmd.util.database.SourceObject
 
toString() - Method in class net.sourceforge.pmd.util.datasource.ReaderDataSource
 
toString() - Method in class net.sourceforge.pmd.util.filter.AbstractCompoundFilter
 
toString() - Method in class net.sourceforge.pmd.util.filter.AbstractDelegateFilter
 
toString() - Method in class net.sourceforge.pmd.util.filter.DirectoryFilter
 
toString() - Method in class net.sourceforge.pmd.util.filter.NotFilter
 
toString() - Method in class net.sourceforge.pmd.util.filter.RegexStringFilter
 
toString() - Method in class net.sourceforge.pmd.util.viewer.model.SimpleNodeTreeNodeAdapter
 
toStringLong() - Method in class net.sourceforge.pmd.dcd.graph.ConstructorNode
 
toStringLong() - Method in class net.sourceforge.pmd.dcd.graph.MemberNode
 
transformParametersIntoConfiguration(PMDParameters) - Static method in class net.sourceforge.pmd.cli.PMDParameters
 
treeIsEmpty() - Method in class net.sourceforge.pmd.Report
Checks whether no violations have been reported.
treeIterator() - Method in class net.sourceforge.pmd.Report
Returns an iteration over the reported violations.
treeSize() - Method in class net.sourceforge.pmd.Report
The number of violations.
trimStartOn(String[], int) - Static method in class net.sourceforge.pmd.util.StringUtil
Trims off the leading characters off the strings up to the trimDepth specified.
type - Variable in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.BooleanMultiProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.BooleanProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.CharacterMultiProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.CharacterProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.DoubleMultiProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.DoubleProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.EnumeratedMultiProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.EnumeratedProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.FileProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.FloatMultiProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.FloatProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.IntegerMultiProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.IntegerProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.LongMultiProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.LongProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.MethodMultiProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.MethodProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.StringMultiProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.StringProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.TypeMultiProperty
 
type() - Method in class net.sourceforge.pmd.lang.rule.properties.TypeProperty
 
type() - Method in interface net.sourceforge.pmd.PropertyDescriptor
Denotes the value datatype.
TYPE - Static variable in class net.sourceforge.pmd.PropertyDescriptorFields
The type of the property.
typeErrorFor(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
 
typeFor(String) - Method in class net.sourceforge.pmd.util.TypeMap
Returns the type for the typeName specified.
typeIdFor(Class<?>) - Static method in class net.sourceforge.pmd.lang.rule.properties.factories.PropertyDescriptorUtil
 
TypeMap - Class in net.sourceforge.pmd.util
A specialized map that stores types by both their full and short (without package prefixes) names.
TypeMap(int) - Constructor for class net.sourceforge.pmd.util.TypeMap
Constructor for TypeMap.
TypeMap(Class<?>...) - Constructor for class net.sourceforge.pmd.util.TypeMap
Constructor for TypeMap that takes in an initial set of types.
TypeMultiProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a property that supports multiple class types, even for primitive values! TODO - untested for array types
TypeMultiProperty(String, String, Class<?>[], String[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.TypeMultiProperty
Constructor for TypeProperty.
TypeMultiProperty(String, String, String, String[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.TypeMultiProperty
Constructor for TypeProperty.
TypeMultiProperty(String, String, String, Map<String, String>, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.TypeMultiProperty
Constructor for TypeProperty.
TypeProperty - Class in net.sourceforge.pmd.lang.rule.properties
Defines a property that supports single class types, even for primitive values! TODO - untested for array types
TypeProperty(String, String, Class<?>, String[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.TypeProperty
Constructor for TypeProperty.
TypeProperty(String, String, String, String[], float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.TypeProperty
 
TypeProperty(String, String, String, Map<String, String>, float) - Constructor for class net.sourceforge.pmd.lang.rule.properties.TypeProperty
 
typesFrom(String) - Static method in class net.sourceforge.pmd.lang.rule.properties.TypeMultiProperty
 
TypeSignatureVisitor - Class in net.sourceforge.pmd.dcd.asm
 
TypeSignatureVisitor() - Constructor for class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
TypeSignatureVisitor(PrintVisitor) - Constructor for class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 

U

uiOrder() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
Denotes the relative order the property field should occupy if we are using an auto-generated UI to display and edit property values.
uiOrder() - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
uiOrder() - Method in interface net.sourceforge.pmd.PropertyDescriptor
Denotes the relative order the property field should occupy if we are using an auto-generated UI to display and edit property values.
UnaryFunction<E> - Interface in net.sourceforge.pmd.util
 
UNDEFINITION - Static variable in class net.sourceforge.pmd.lang.dfa.VariableAccess
 
UpdateLineColumn(char) - Method in class net.sourceforge.pmd.lang.ast.JavaCharStream
 
UpdateLineColumn(char) - Method in class net.sourceforge.pmd.lang.ast.SimpleCharStream
 
upperLimit() - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractNumericProperty
Returns the maximum value that instances of the property can have
upperLimit() - Method in interface net.sourceforge.pmd.NumericPropertyDescriptor
Returns the maximum value that instances of the property can have
usageField(String, String, String, MemberNode) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraph
 
UsageGraph - Class in net.sourceforge.pmd.dcd.graph
A UsageGraph tracks usage references between Java classes, based upon a parsing of the class files.
UsageGraph(Filter<String>) - Constructor for class net.sourceforge.pmd.dcd.graph.UsageGraph
 
usageGraph - Variable in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder
 
UsageGraphBuilder - Class in net.sourceforge.pmd.dcd.graph
Utility class used to build a UsageGraph.
UsageGraphBuilder(Filter<String>) - Constructor for class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder
 
UsageGraphBuilder.MyMethodVisitor - Class in net.sourceforge.pmd.dcd.graph
 
UsageGraphBuilder.MyMethodVisitor(PrintVisitor, MemberNode) - Constructor for class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
usageMethod(String, String, String, MemberNode) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraph
 
UsageNodeVisitor - Class in net.sourceforge.pmd.dcd
Perform a visitation a UsageGraph, looking for dead code, which is essential code which is not used by any other code.
UsageNodeVisitor() - Constructor for class net.sourceforge.pmd.dcd.UsageNodeVisitor
 
UsageNodeVisitor.Options - Class in net.sourceforge.pmd.dcd
Configuration options for usage analysis.
UsageNodeVisitor.Options() - Constructor for class net.sourceforge.pmd.dcd.UsageNodeVisitor.Options
 
useDefaultValueFor(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.AbstractPropertySource
Clears out any user-specified value for the property allowing it to use the default value in the descriptor.
useDefaultValueFor(PropertyDescriptor<?>) - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
useDefaultValueFor(PropertyDescriptor<?>) - Method in interface net.sourceforge.pmd.PropertySource
Clears out any user-specified value for the property allowing it to use the default value in the descriptor.
usesDefaultValues() - Method in class net.sourceforge.pmd.AbstractPropertySource
Returns whether this Rule uses default values for properties.
usesDefaultValues() - Method in class net.sourceforge.pmd.lang.rule.RuleReference
 
usesDefaultValues() - Method in interface net.sourceforge.pmd.PropertySource
Returns whether this Rule uses default values for properties.
usesDFA() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
usesDFA() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
usesDFA() - Method in interface net.sourceforge.pmd.Rule
Gets whether this Rule uses Data Flow Analysis.
usesDFA(Language) - Method in class net.sourceforge.pmd.RuleSet
Does any Rule for the given Language use the DFA layer?
usesDFA(Language) - Method in class net.sourceforge.pmd.RuleSets
Check if the rules that apply to a source of the given language use DFA.
usesRuleChain() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
usesRuleChain() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
usesRuleChain() - Method in interface net.sourceforge.pmd.Rule
Gets whether this Rule uses the RuleChain.
usesTypeResolution() - Method in class net.sourceforge.pmd.lang.rule.AbstractDelegateRule
 
usesTypeResolution() - Method in class net.sourceforge.pmd.lang.rule.AbstractRule
 
usesTypeResolution() - Method in interface net.sourceforge.pmd.Rule
Gets whether this Rule uses Type Resolution.
usesTypeResolution(Language) - Method in class net.sourceforge.pmd.RuleSet
Does any Rule for the given Language use Type Resolution?
usesTypeResolution(Language) - Method in class net.sourceforge.pmd.RuleSets
 

V

validate(String) - Method in class net.sourceforge.pmd.cli.PMDParameters.RulePriorityConverter
 
value - Variable in class net.sourceforge.pmd.lang.ast.xpath.saxon.AttributeNode
 
VALUE - Static variable in class net.sourceforge.pmd.PropertyDescriptorFields
The default value.
valueChanged(ListSelectionEvent) - Method in class net.sourceforge.pmd.util.designer.DFAPanel
 
valueChanged(TreeSelectionEvent) - Method in class net.sourceforge.pmd.util.viewer.gui.ASTPanel
 
valueErrorFor(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractNumericProperty
Returns a string describing any error the value may have when characterized by the receiver.
valueErrorFor(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractPackagedProperty
 
valueErrorFor(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
 
valueErrorFor(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.StringMultiProperty
 
valueForPathChanged(TreePath, Object) - Method in class net.sourceforge.pmd.util.viewer.model.ASTModel
 
valueFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractScalarProperty
 
valueFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.CharacterMultiProperty
 
valueFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.CharacterProperty
 
valueFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.EnumeratedMultiProperty
 
valueFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.EnumeratedProperty
 
valueFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.FileProperty
 
valueFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.MethodMultiProperty
 
valueFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.MethodProperty
 
valueFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.PropertyDescriptorWrapper
 
valueFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.StringMultiProperty
 
valueFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.StringProperty
 
valueFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.TypeMultiProperty
 
valueFrom(String) - Method in class net.sourceforge.pmd.lang.rule.properties.TypeProperty
 
valueFrom(String) - Method in interface net.sourceforge.pmd.PropertyDescriptor
If the property is multi-valued then return the separate values after parsing the propertyString provided.
valueOf(String) - Static method in enum net.sourceforge.pmd.benchmark.Benchmark
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.sourceforge.pmd.RulePriority
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum net.sourceforge.pmd.RulePriority
Get the priority which corresponds to the given number as returned by RulePriority.getPriority().
valueOf(String) - Static method in enum net.sourceforge.pmd.util.database.DBType.property
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sourceforge.pmd.benchmark.Benchmark
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in class net.sourceforge.pmd.benchmark.Benchmarker
 
values() - Static method in enum net.sourceforge.pmd.RulePriority
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.sourceforge.pmd.util.database.DBType.property
Returns an array containing the constants of this enum type, in the order they are declared.
valuesAreTransitivelyEqual(Object[], Object[]) - Static method in class net.sourceforge.pmd.util.CollectionUtil
Returns whether the arrays are equal by examining each of their elements, even if they are arrays themselves.
valuesErrorFor(Object) - Method in class net.sourceforge.pmd.lang.rule.properties.AbstractProperty
 
valueType() - Method in class net.sourceforge.pmd.lang.rule.properties.factories.BasicPropertyDescriptorFactory
 
valueType() - Method in interface net.sourceforge.pmd.PropertyDescriptorFactory
The type of the value of the PropertyDescriptor created by this factory.
variableAccess - Variable in class net.sourceforge.pmd.lang.dfa.AbstractDataFlowNode
 
VariableAccess - Class in net.sourceforge.pmd.lang.dfa
 
VariableAccess(int, String) - Constructor for class net.sourceforge.pmd.lang.dfa.VariableAccess
 
VariableAccessException - Exception in net.sourceforge.pmd.lang.dfa
 
VariableAccessException() - Constructor for exception net.sourceforge.pmd.lang.dfa.VariableAccessException
 
VariableAccessException(String) - Constructor for exception net.sourceforge.pmd.lang.dfa.VariableAccessException
 
variableName - Variable in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation
 
VBHTMLRenderer - Class in net.sourceforge.pmd.renderers
Renderer to another HTML format.
VBHTMLRenderer() - Constructor for class net.sourceforge.pmd.renderers.VBHTMLRenderer
 
version - Variable in class net.sourceforge.pmd.lang.rule.xpath.AbstractXPathRuleQuery
The XPath version;
VERSION - Static variable in class net.sourceforge.pmd.PMD
Constant that contains always the current version of PMD.
VERSION_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.rule.XPathRule
 
versions - Variable in class net.sourceforge.pmd.lang.BaseLanguageModule
 
Viewer - Class in net.sourceforge.pmd.util.viewer
viewer's starter
Viewer() - Constructor for class net.sourceforge.pmd.util.viewer.Viewer
 
ViewerModel - Class in net.sourceforge.pmd.util.viewer.model
 
ViewerModel() - Constructor for class net.sourceforge.pmd.util.viewer.model.ViewerModel
 
viewerModelChanged(ViewerModelEvent) - Method in class net.sourceforge.pmd.util.viewer.gui.ASTPanel
 
viewerModelChanged(ViewerModelEvent) - Method in class net.sourceforge.pmd.util.viewer.gui.EvaluationResultsPanel
 
viewerModelChanged(ViewerModelEvent) - Method in class net.sourceforge.pmd.util.viewer.gui.MainFrame
 
viewerModelChanged(ViewerModelEvent) - Method in class net.sourceforge.pmd.util.viewer.gui.SourceCodePanel
 
viewerModelChanged(ViewerModelEvent) - Method in class net.sourceforge.pmd.util.viewer.gui.XPathPanel
 
viewerModelChanged(ViewerModelEvent) - Method in interface net.sourceforge.pmd.util.viewer.model.ViewerModelListener
 
ViewerModelEvent - Class in net.sourceforge.pmd.util.viewer.model
The event which will be sent every time the model changes

Note: the instances will be immutable

ViewerModelEvent(Object, int) - Constructor for class net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
Creates an event
ViewerModelEvent(Object, int, Object) - Constructor for class net.sourceforge.pmd.util.viewer.model.ViewerModelEvent
Creates an event
ViewerModelListener - Interface in net.sourceforge.pmd.util.viewer.model
identiefie a listener of the ViewerModel
VIOLATION_SUPPRESS_REGEX_DESCRIPTOR - Static variable in interface net.sourceforge.pmd.Rule
The property descriptor to universally suppress violations with messages matching a regular expression.
VIOLATION_SUPPRESS_XPATH_DESCRIPTOR - Static variable in interface net.sourceforge.pmd.Rule
Name of the property to universally suppress violations on nodes which match a given relative XPath expression.
ViolationNode - Class in net.sourceforge.pmd.lang.dfa.report
 
ViolationNode(RuleViolation) - Constructor for class net.sourceforge.pmd.lang.dfa.report.ViolationNode
 
VIOLATIONS_FOUND - Static variable in class net.sourceforge.pmd.cli.PMDCommandLineInterface
 
visit(UsageGraph, Object) - Method in class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
visit(ClassNode, Object) - Method in class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
visit(FieldNode, Object) - Method in class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
visit(ConstructorNode, Object) - Method in class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
visit(MethodNode, Object) - Method in class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
visit(UsageGraph, Object) - Method in interface net.sourceforge.pmd.dcd.graph.NodeVisitor
 
visit(ClassNode, Object) - Method in interface net.sourceforge.pmd.dcd.graph.NodeVisitor
 
visit(FieldNode, Object) - Method in interface net.sourceforge.pmd.dcd.graph.NodeVisitor
 
visit(ConstructorNode, Object) - Method in interface net.sourceforge.pmd.dcd.graph.NodeVisitor
 
visit(MethodNode, Object) - Method in interface net.sourceforge.pmd.dcd.graph.NodeVisitor
 
visit(UsageGraph, Object) - Method in class net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
 
visit(ClassNode, Object) - Method in class net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
 
visit(FieldNode, Object) - Method in class net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
 
visit(ConstructorNode, Object) - Method in class net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
 
visit(MethodNode, Object) - Method in class net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
 
visit(UsageGraph, Object) - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor
 
visit(ClassNode, Object) - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor
 
visit(FieldNode, Object) - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor
 
visit(ConstructorNode, Object) - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor
 
visit(MethodNode, Object) - Method in class net.sourceforge.pmd.dcd.UsageNodeVisitor
 
visit(AbstractReportNode) - Method in class net.sourceforge.pmd.lang.dfa.report.ReportHTMLPrintVisitor
The visit method (Visitor Pattern).
visit(AbstractReportNode) - Method in class net.sourceforge.pmd.lang.dfa.report.ReportVisitor
 
visit(Rule, Node, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor
Visit the given rule to the given node.
visitAll(List<Node>, RuleContext) - Method in class net.sourceforge.pmd.lang.rule.AbstractRuleChainVisitor
 
visitAll(List<Node>, RuleContext) - Method in interface net.sourceforge.pmd.lang.rule.RuleChainVisitor
Visit all the given Nodes provided using the given RuleContext.
visitAnnotation(String, boolean) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitAnnotationDefault() - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitArrayType() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitAttribute(Attribute) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitBaseType(char) - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitClassBound() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitClassType(String) - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitCode() - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitConstructors(ClassNode, Object) - Method in class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
visitConstructors(ClassNode, Object) - Method in interface net.sourceforge.pmd.dcd.graph.NodeVisitor
 
visitConstructors(ClassNode, Object) - Method in class net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
 
visitEnd() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitEnd() - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitExceptionType() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitFieldInsn(int, String, String, String) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitFields(ClassNode, Object) - Method in class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
visitFields(ClassNode, Object) - Method in interface net.sourceforge.pmd.dcd.graph.NodeVisitor
 
visitFields(ClassNode, Object) - Method in class net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
 
visitFormalTypeParameter(String) - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitFrame(int, int, Object[], int, Object[]) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitIincInsn(int, int) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitInnerClassType(String) - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitInsn(int) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitInterface() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitInterfaceBound() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitIntInsn(int, int) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitJumpInsn(int, Label) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitLabel(Label) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitLdcInsn(Object) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitLineNumber(int, Label) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitLocalVariable(String, String, String, Label, Label, int) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitLookupSwitchInsn(Label, int[], Label[]) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitMaxs(int, int) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitMethodInsn(int, String, String, String, boolean) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitMethods(ClassNode, Object) - Method in class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
visitMethods(ClassNode, Object) - Method in interface net.sourceforge.pmd.dcd.graph.NodeVisitor
 
visitMethods(ClassNode, Object) - Method in class net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
 
visitMultiANewArrayInsn(String, int) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
VisitorStarter - Interface in net.sourceforge.pmd.lang
Interface for starting an implementation of the visitors for ASTs.
visitParameterAnnotation(int, String, boolean) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitParameterType() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitReturnType() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitSuperclass() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitTableSwitchInsn(int, int, Label, Label[]) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitTryCatchBlock(Label, Label, Label, String) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitTypeArgument() - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitTypeArgument(char) - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitTypeInsn(int, String) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
visitTypeVariable(String) - Method in class net.sourceforge.pmd.dcd.asm.TypeSignatureVisitor
 
visitUse(MemberNode, Object) - Method in class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
visitUse(MemberNode, Object) - Method in interface net.sourceforge.pmd.dcd.graph.NodeVisitor
 
visitUse(MemberNode, Object) - Method in class net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
 
visitUser(MemberNode, Object) - Method in class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
visitUser(MemberNode, Object) - Method in interface net.sourceforge.pmd.dcd.graph.NodeVisitor
 
visitUser(MemberNode, Object) - Method in class net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
 
visitUsers(MemberNode, Object) - Method in class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
visitUsers(MemberNode, Object) - Method in interface net.sourceforge.pmd.dcd.graph.NodeVisitor
 
visitUsers(MemberNode, Object) - Method in class net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
 
visitUses(MemberNode, Object) - Method in class net.sourceforge.pmd.dcd.DumpNodeVisitor
 
visitUses(MemberNode, Object) - Method in interface net.sourceforge.pmd.dcd.graph.NodeVisitor
 
visitUses(MemberNode, Object) - Method in class net.sourceforge.pmd.dcd.graph.NodeVisitorAdapter
 
visitVarInsn(int, int) - Method in class net.sourceforge.pmd.dcd.graph.UsageGraphBuilder.MyMethodVisitor
 
VSRenderer - Class in net.sourceforge.pmd.cpd
 
VSRenderer() - Constructor for class net.sourceforge.pmd.cpd.VSRenderer
 

W

WHILE_EXPR - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
WHILE_LAST_STATEMENT - Static variable in class net.sourceforge.pmd.lang.dfa.NodeType
 
withoutPackageName(String) - Static method in class net.sourceforge.pmd.util.ClassUtil
Returns the abbreviated name of the type, without the package name
withoutPrefixes(String, String...) - Static method in class net.sourceforge.pmd.util.StringUtil
Checks for the existence of any of the listed prefixes on the non-null text and removes them.
write(RuleSet) - Method in class net.sourceforge.pmd.RuleSetWriter
 
writeData(Writer, Iterator<T>) - Method in class net.sourceforge.pmd.renderers.CSVWriter
 
writer - Variable in class net.sourceforge.pmd.renderers.AbstractRenderer
 
writeTitles(Writer) - Method in class net.sourceforge.pmd.renderers.CSVWriter
 

X

XMLRenderer - Class in net.sourceforge.pmd.cpd
 
XMLRenderer() - Constructor for class net.sourceforge.pmd.cpd.XMLRenderer
Creates a XML Renderer with the default (platform dependent) encoding.
XMLRenderer(String) - Constructor for class net.sourceforge.pmd.cpd.XMLRenderer
Creates a XML Renderer with a specific output encoding.
XMLRenderer - Class in net.sourceforge.pmd.renderers
Renderer to XML format.
XMLRenderer() - Constructor for class net.sourceforge.pmd.renderers.XMLRenderer
 
XMLRenderer(String) - Constructor for class net.sourceforge.pmd.renderers.XMLRenderer
 
xpath - Variable in class net.sourceforge.pmd.lang.rule.xpath.AbstractXPathRuleQuery
The XPath query string.
XPATH_1_0 - Static variable in interface net.sourceforge.pmd.lang.rule.xpath.XPathRuleQuery
XPath 1.0 version.
XPATH_1_0_COMPATIBILITY - Static variable in interface net.sourceforge.pmd.lang.rule.xpath.XPathRuleQuery
XPath 1.0 compatibility version.
XPATH_2_0 - Static variable in interface net.sourceforge.pmd.lang.rule.xpath.XPathRuleQuery
XPath 2.0 version.
XPATH_DESCRIPTOR - Static variable in class net.sourceforge.pmd.lang.rule.XPathRule
 
XPathCLI - Class in net.sourceforge.pmd.cli
To use this, do this: $ cat ~/tmp/Test.java package foo; public class Test { private int x; } $ java net.sourceforge.pmd.util.XPathTest -xpath "//FieldDeclaration" -filename "/home/tom/tmp/Test.java" Match at line 3 column 11; package name 'foo'; variable name 'x'
XPathCLI() - Constructor for class net.sourceforge.pmd.cli.XPathCLI
 
XPathFragmentAddingItem - Class in net.sourceforge.pmd.util.viewer.gui.menu
adds the given path fragment to the XPath expression upon action
XPathFragmentAddingItem(String, ViewerModel, String) - Constructor for class net.sourceforge.pmd.util.viewer.gui.menu.XPathFragmentAddingItem
constructs the item
XPathHandler - Interface in net.sourceforge.pmd.lang
Interface for performing Language specific XPath handling, such as initialization and navigation.
XPathPanel - Class in net.sourceforge.pmd.util.viewer.gui
Panel for the XPath entry and editing
XPathPanel(ViewerModel) - Constructor for class net.sourceforge.pmd.util.viewer.gui.XPathPanel
Constructs the panel
XPathRule - Class in net.sourceforge.pmd.lang.rule
Rule that tries to match an XPath expression against a DOM view of an AST.
XPathRule() - Constructor for class net.sourceforge.pmd.lang.rule.XPathRule
 
XPathRule(String) - Constructor for class net.sourceforge.pmd.lang.rule.XPathRule
 
XPathRuleQuery - Interface in net.sourceforge.pmd.lang.rule.xpath
This interface captures the logic needed by XPathRule to implement an XPath based query on an AST Node.
XSLT_FILENAME - Static variable in class net.sourceforge.pmd.renderers.XSLTRenderer
 
XSLTRenderer - Class in net.sourceforge.pmd.renderers
Renderer to XML format with a XSL Transformation applied.
XSLTRenderer() - Constructor for class net.sourceforge.pmd.renderers.XSLTRenderer
 

Y

YAHTMLRenderer - Class in net.sourceforge.pmd.renderers
Renderer to another HTML format.
YAHTMLRenderer() - Constructor for class net.sourceforge.pmd.renderers.YAHTMLRenderer
 

Z

ZERO - Static variable in class net.sourceforge.pmd.util.NumericConstants
 
ZipDataSource - Class in net.sourceforge.pmd.util.datasource
DataSource implementation to read data from an entry in a zip or jar file.
ZipDataSource(ZipFile, ZipEntry) - Constructor for class net.sourceforge.pmd.util.datasource.ZipDataSource
 

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

Copyright © 2002-2015 InfoEther. All Rights Reserved.