Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
ABSTRACT
- Static variable in interface net.sourceforge.pmd.ast.
AccessNodeInterface
ABSTRACT
- Static variable in interface net.sourceforge.pmd.ast.
JavaParserConstants
RegularExpression Id.
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
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
Base class for Rule implementations which delegate to another Rule instance.
AbstractDelegateRule()
- Constructor for class net.sourceforge.pmd.
AbstractDelegateRule
AbstractInefficientZeroCheck
- Class in
net.sourceforge.pmd.rules
This is an abstract rule for patterns which compare a method invocation to 0.
AbstractInefficientZeroCheck()
- Constructor for class net.sourceforge.pmd.rules.
AbstractInefficientZeroCheck
AbstractJavaRule
- Class in
net.sourceforge.pmd
AbstractJavaRule()
- Constructor for class net.sourceforge.pmd.
AbstractJavaRule
AbstractJspRule
- Class in
net.sourceforge.pmd.jsp.rules
AbstractJspRule()
- Constructor for class net.sourceforge.pmd.jsp.rules.
AbstractJspRule
AbstractJUnitRule
- Class in
net.sourceforge.pmd.rules.junit
AbstractJUnitRule()
- Constructor for class net.sourceforge.pmd.rules.junit.
AbstractJUnitRule
AbstractLanguage
- Class in
net.sourceforge.pmd.cpd
AbstractLanguage(Tokenizer, String...)
- Constructor for class net.sourceforge.pmd.cpd.
AbstractLanguage
AbstractNameDeclaration
- Class in
net.sourceforge.pmd.symboltable
AbstractNameDeclaration(SimpleNode)
- Constructor for class net.sourceforge.pmd.symboltable.
AbstractNameDeclaration
AbstractNcssCount
- Class in
net.sourceforge.pmd.rules.codesize
Abstract superclass for NCSS counting methods.
AbstractNcssCount(Class)
- Constructor for class net.sourceforge.pmd.rules.codesize.
AbstractNcssCount
Count the nodes of the given type using NCSS rules.
AbstractOptimizationRule
- Class in
net.sourceforge.pmd.rules.optimization
Base class with utility methods for optimization rules
AbstractOptimizationRule()
- Constructor for class net.sourceforge.pmd.rules.optimization.
AbstractOptimizationRule
AbstractPMDProperty
- Class in
net.sourceforge.pmd.properties
AbstractPMDProperty(String, String, Object, float)
- Constructor for class net.sourceforge.pmd.properties.
AbstractPMDProperty
Constructor for AbstractPMDProperty.
AbstractPoorMethodCall
- Class in
net.sourceforge.pmd.rules
Detects and flags the occurrences of specific method calls against an instance of a designated class.
AbstractPoorMethodCall()
- Constructor for class net.sourceforge.pmd.rules.
AbstractPoorMethodCall
AbstractRenderer
- Class in
net.sourceforge.pmd.renderers
AbstractRenderer()
- Constructor for class net.sourceforge.pmd.renderers.
AbstractRenderer
AbstractReportNode
- Class in
net.sourceforge.pmd.dfa.report
AbstractReportNode()
- Constructor for class net.sourceforge.pmd.dfa.report.
AbstractReportNode
AbstractRule
- Class in
net.sourceforge.pmd
Deprecated.
- Use AbstractJavaRule instead
AbstractRule()
- Constructor for class net.sourceforge.pmd.
AbstractRule
Deprecated.
AbstractRuleChainVisitor
- Class in
net.sourceforge.pmd
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.
AbstractRuleChainVisitor
AbstractScalarProperty
- Class in
net.sourceforge.pmd.properties
No, subclasses are not necessarily scalar per se, they're just easy to parse without error.
AbstractScalarProperty(String, String, Object, float)
- Constructor for class net.sourceforge.pmd.properties.
AbstractScalarProperty
Constructor for AbstractScalarProperty.
AbstractScope
- Class in
net.sourceforge.pmd.symboltable
AbstractScope()
- Constructor for class net.sourceforge.pmd.symboltable.
AbstractScope
AbstractSunSecureRule
- Class in
net.sourceforge.pmd.rules.sunsecure
Utility methods for the package
AbstractSunSecureRule()
- Constructor for class net.sourceforge.pmd.rules.sunsecure.
AbstractSunSecureRule
AbstractTokenizer
- Class in
net.sourceforge.pmd.cpd
AbstractTokenizer()
- Constructor for class net.sourceforge.pmd.cpd.
AbstractTokenizer
accept(File, String)
- Method in class net.sourceforge.pmd.cpd.
SourceFileOrDirectoryFilter
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.dfa.report.
AbstractReportNode
AccessNode
- Class in
net.sourceforge.pmd.ast
Deprecated.
Use SimpleJavaAccessNode instead.
AccessNode(int)
- Constructor for class net.sourceforge.pmd.ast.
AccessNode
Deprecated.
AccessNode(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
AccessNode
Deprecated.
AccessNodeInterface
- Interface in
net.sourceforge.pmd.ast
This interface captures Java access modifiers.
AccessorClassGeneration
- Class in
net.sourceforge.pmd.rules
1.
AccessorClassGeneration()
- Constructor for class net.sourceforge.pmd.rules.
AccessorClassGeneration
accessTypeMatches(int)
- Method in class net.sourceforge.pmd.dfa.variableaccess.
VariableAccess
ActionCommands
- Interface in
net.sourceforge.pmd.util.viewer.gui
contains action command constants
actionPerformed(ActionEvent)
- Method in class net.sourceforge.pmd.util.designer.
CodeEditorTextPane
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(Rule)
- Method in class net.sourceforge.pmd.
AbstractRuleChainVisitor
add(File)
- Method in class net.sourceforge.pmd.cpd.
CPD
add(List<File>)
- 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.dfa.report.
AbstractReportNode
Adds the child at the end.
add(RuleSet)
- Method in class net.sourceforge.pmd.
RuleChain
Add all Rules from the given RuleSet which want to participate in the RuleChain.
add(Language, Rule)
- Method in class net.sourceforge.pmd.
RuleChain
Add the given Rule if it wants to participate in the RuleChain.
add(Rule)
- Method in interface net.sourceforge.pmd.
RuleChainVisitor
Add the given rule to the visitor.
add(Class)
- Method in class net.sourceforge.pmd.util.
TypeMap
Adds a type to the receiver and stores it keyed by both its full and short names.
add(Class...)
- Method in class net.sourceforge.pmd.util.
TypeMap
Adds an array of types to the receiver at once.
add_escapes(String)
- Method in exception net.sourceforge.pmd.ast.
ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
add_escapes(String)
- Method in exception net.sourceforge.pmd.cpd.cppast.
ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
add_escapes(String)
- Method in exception net.sourceforge.pmd.jsp.ast.
ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
addAllInDirectory(String)
- Method in class net.sourceforge.pmd.cpd.
CPD
addDataPoint(DataPoint)
- Method in class net.sourceforge.pmd.stat.
StatisticalRule
addDeclaration(MethodNameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
AbstractScope
addDeclaration(ClassNameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
AbstractScope
addDeclaration(VariableNameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
ClassScope
addDeclaration(MethodNameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
ClassScope
addDeclaration(ClassNameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
ClassScope
addDeclaration(ClassNameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
DummyScope
addDeclaration(VariableNameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
DummyScope
addDeclaration(MethodNameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
DummyScope
addDeclaration(VariableNameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
LocalScope
addDeclaration(VariableNameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
MethodScope
addDeclaration(ClassNameDeclaration)
- Method in interface net.sourceforge.pmd.symboltable.
Scope
Add a class declaration to this scope
addDeclaration(VariableNameDeclaration)
- Method in interface net.sourceforge.pmd.symboltable.
Scope
Add a variable declaration to this scope
addDeclaration(MethodNameDeclaration)
- Method in interface net.sourceforge.pmd.symboltable.
Scope
Add a method declaration to this scope
addDeclaration(ClassNameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
SourceFileScope
addDeclaration(MethodNameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
SourceFileScope
addDeclaration(VariableNameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
SourceFileScope
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
addEscapes(String)
- Static method in exception net.sourceforge.pmd.ast.
TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addEscapes(String)
- Static method in error net.sourceforge.pmd.cpd.cppast.
TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addEscapes(String)
- Static method in exception net.sourceforge.pmd.jsp.ast.
TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addExample(String)
- Method in class net.sourceforge.pmd.
AbstractDelegateRule
addExample(String)
- Method in class net.sourceforge.pmd.
CommonAbstractRule
addExample(String)
- Method in interface net.sourceforge.pmd.
Rule
Add a single example for this Rule.
addExample(String)
- Method in class net.sourceforge.pmd.
RuleReference
addExclude(String)
- Method in class net.sourceforge.pmd.
RuleSetReference
addExcludePattern(String)
- Method in class net.sourceforge.pmd.
RuleSet
addExcludePatterns(List<String>)
- Method in class net.sourceforge.pmd.
RuleSet
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.dfa.report.
AbstractReportNode
Adds the child in front of any other childs.
addFormatter(Formatter)
- Method in class net.sourceforge.pmd.ant.
PMDTask
addImport(String)
- Method in class net.sourceforge.pmd.symboltable.
TypeSet
addIncludePattern(String)
- Method in class net.sourceforge.pmd.
RuleSet
addIncludePatterns(List<String>)
- Method in class net.sourceforge.pmd.
RuleSet
AdditiveExpression()
- Method in class net.sourceforge.pmd.ast.
JavaParser
addLabel(String)
- Method in class net.sourceforge.pmd.cpd.
GridBagHelper
addLast(IDataFlowNode)
- Method in class net.sourceforge.pmd.dfa.pathfinder.
CurrentPath
addListener(ReportListener)
- Method in class net.sourceforge.pmd.
Report
addMetric(Metric)
- Method in class net.sourceforge.pmd.
Report
addNumberOfViolation(int)
- Method in class net.sourceforge.pmd.dfa.report.
AbstractReportNode
addPathToChild(IDataFlowNode)
- Method in class net.sourceforge.pmd.dfa.
DataFlowNode
addPathToChild(IDataFlowNode)
- Method in interface net.sourceforge.pmd.dfa.
IDataFlowNode
addProperties(Properties)
- Method in class net.sourceforge.pmd.
AbstractDelegateRule
addProperties(Properties)
- Method in class net.sourceforge.pmd.
CommonAbstractRule
Deprecated.
addProperties(Properties)
- Method in interface net.sourceforge.pmd.
Rule
Add a set of properties to this Rule.
addProperties(Properties)
- Method in class net.sourceforge.pmd.
RuleReference
addProperty(String, String)
- Method in class net.sourceforge.pmd.
AbstractDelegateRule
addProperty(String, String)
- Method in class net.sourceforge.pmd.
CommonAbstractRule
Deprecated.
addProperty(String, String)
- Method in interface net.sourceforge.pmd.
Rule
Add a specific property to this Rule.
addProperty(String, String)
- Method in class net.sourceforge.pmd.
RuleReference
addRecursively(String)
- 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(String)
- Method in class net.sourceforge.pmd.
AbstractDelegateRule
addRuleChainVisit(String)
- Method in class net.sourceforge.pmd.
CommonAbstractRule
addRuleChainVisit(String)
- Method in interface net.sourceforge.pmd.
Rule
Adds an AST node name to be visited by the Rule on the RuleChain.
addRuleset(RuleSetWrapper)
- Method in class net.sourceforge.pmd.ant.
PMDTask
addRuleSet(RuleSet)
- Method in class net.sourceforge.pmd.
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.
addRuleViolation(IRuleViolation)
- Method in class net.sourceforge.pmd.dfa.report.
ReportTree
Adds the RuleViolation to the tree.
addRuleViolation(IRuleViolation)
- Method in class net.sourceforge.pmd.
Report
addText(String)
- Method in class net.sourceforge.pmd.ant.
RuleSetWrapper
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
addVariableNameOccurrence(NameOccurrence)
- Method in class net.sourceforge.pmd.symboltable.
ClassScope
addVariableNameOccurrence(NameOccurrence)
- Method in class net.sourceforge.pmd.symboltable.
DummyScope
addVariableNameOccurrence(NameOccurrence)
- Method in class net.sourceforge.pmd.symboltable.
LocalScope
addVariableNameOccurrence(NameOccurrence)
- Method in class net.sourceforge.pmd.symboltable.
MethodScope
addVariableNameOccurrence(NameOccurrence)
- Method in interface net.sourceforge.pmd.symboltable.
Scope
Adds a NameOccurrence to this scope - only call this after getting a true back from contains()
addVariableNameOccurrence(NameOccurrence)
- Method in class net.sourceforge.pmd.symboltable.
SourceFileScope
addViewerModelListener(ViewerModelListener)
- Method in class net.sourceforge.pmd.util.viewer.model.
ViewerModel
addViolation(Object, SimpleNode)
- Method in class net.sourceforge.pmd.
AbstractJavaRule
Adds a violation to the report.
addViolation(Object, SimpleNode, String)
- Method in class net.sourceforge.pmd.
AbstractJavaRule
Adds a violation to the report.
addViolation(Object, Node, Object[])
- Method in class net.sourceforge.pmd.
AbstractJavaRule
Adds a violation to the report.
addViolation(Object, SimpleNode)
- Method in class net.sourceforge.pmd.jsp.rules.
AbstractJspRule
Adds a violation to the report.
addViolation(Object, SimpleNode, String)
- Method in class net.sourceforge.pmd.jsp.rules.
AbstractJspRule
Adds a violation to the report.
addViolation(Object, Node, Object[])
- Method in class net.sourceforge.pmd.jsp.rules.
AbstractJspRule
Adds a violation to the report.
addViolationWithMessage(Object, SimpleNode, String)
- Method in class net.sourceforge.pmd.
AbstractJavaRule
Adds a violation to the report.
addViolationWithMessage(Object, SimpleNode, String)
- Method in class net.sourceforge.pmd.jsp.rules.
AbstractJspRule
Adds a violation to the report.
adjustBeginLineColumn(int, int)
- Method in class net.sourceforge.pmd.ast.
JavaCharStream
Method to adjust line and column numbers for the start of a token.
adjustBeginLineColumn(int, int)
- Static method in class net.sourceforge.pmd.cpd.cppast.
SimpleCharStream
Method to adjust line and column numbers for the start of a token.
AdjustBuffSize()
- Method in class net.sourceforge.pmd.ast.
JavaCharStream
AfterTagState
- Static variable in interface net.sourceforge.pmd.jsp.ast.
JspParserConstants
AllocationExpression()
- Method in class net.sourceforge.pmd.ast.
JavaParser
ALPHA_CHAR
- Static variable in interface net.sourceforge.pmd.jsp.ast.
JspParserConstants
ALPHANUM_CHAR
- Static variable in interface net.sourceforge.pmd.jsp.ast.
JspParserConstants
AMPERSAND
- Static variable in interface net.sourceforge.pmd.cpd.cppast.
CPPParserConstants
AND
- Static variable in interface net.sourceforge.pmd.cpd.cppast.
CPPParserConstants
ANDASSIGN
- Static variable in interface net.sourceforge.pmd.ast.
JavaParserConstants
RegularExpression Id.
AndExpression()
- Method in class net.sourceforge.pmd.ast.
JavaParser
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
Annotation()
- Method in class net.sourceforge.pmd.ast.
JavaParser
AnnotationTypeBody()
- Method in class net.sourceforge.pmd.ast.
JavaParser
AnnotationTypeDeclaration(int)
- Method in class net.sourceforge.pmd.ast.
JavaParser
AnnotationTypeMemberDeclaration()
- Method in class net.sourceforge.pmd.ast.
JavaParser
AntLogHandler
- Class in
net.sourceforge.pmd.util
AntLogHandler sends log messages to an Ant Task, so the regular Ant logging is used.
AntLogHandler(Task)
- Constructor for class net.sourceforge.pmd.util.
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
AppendCharacterWithChar
- Class in
net.sourceforge.pmd.rules.strings
This rule finds the following:
AppendCharacterWithChar()
- Constructor for class net.sourceforge.pmd.rules.strings.
AppendCharacterWithChar
appendElement(Node)
- Method in class net.sourceforge.pmd.ast.
SimpleNode
appendToXPathExpression(String, Object)
- Method in class net.sourceforge.pmd.util.viewer.model.
ViewerModel
appends the given fragment to the XPath expression
appendXmlEscaped(StringBuffer, String)
- Static method in class net.sourceforge.pmd.util.
StringUtil
Appends to a StringBuffer the String src where non-ASCII and XML special chars are escaped.
Applier
- Class in
net.sourceforge.pmd.util
Applier()
- Constructor for class net.sourceforge.pmd.util.
Applier
applies(File)
- Method in class net.sourceforge.pmd.
RuleSet
Check if a given source file should be checked by rules in this RuleSet.
applies(File)
- Method in class net.sourceforge.pmd.
RuleSets
Check if a given source file should be checked by rules in this RuleSets.
applies(Language, Language)
- Method in class net.sourceforge.pmd.
RuleSets
Check if a source with given language should be checked by rules for a given language.
appliesToClassName(String)
- Method in class net.sourceforge.pmd.rules.
AbstractInefficientZeroCheck
appliesToClassName(String)
- Method in class net.sourceforge.pmd.rules.design.
UseCollectionIsEmpty
appliesToClassName(String)
- Method in class net.sourceforge.pmd.rules.strings.
InefficientEmptyStringCheck
apply(List, RuleContext)
- Method in class net.sourceforge.pmd.
AbstractDelegateRule
apply(List, RuleContext)
- Method in class net.sourceforge.pmd.
AbstractJavaRule
apply(List, RuleContext)
- Method in class net.sourceforge.pmd.jsp.rules.
AbstractJspRule
apply(List, RuleContext)
- Method in class net.sourceforge.pmd.jsp.rules.
DuplicateJspImports
apply(List<?>, RuleContext)
- Method in interface net.sourceforge.pmd.
Rule
Apply this rule to the given collection of compilation units, using the given context.
apply(List<CompilationUnit>, RuleContext, Language)
- Method in class net.sourceforge.pmd.
RuleChain
Apply the RuleChain to the given ASTCompilationUnits using the given RuleContext, for those rules using the given Language.
apply(List, RuleContext)
- Method in class net.sourceforge.pmd.rules.
XPathRule
Apply the rule to all compilation units.
apply(List, RuleContext)
- Method in class net.sourceforge.pmd.
RuleSet
apply(List<CompilationUnit>, RuleContext, Language)
- Method in class net.sourceforge.pmd.
RuleSets
Apply all applicable rules to the compilation units.
apply(List, RuleContext)
- Method in class net.sourceforge.pmd.stat.
StatisticalRule
apply(UnaryFunction<E>, Iterator<? extends E>)
- Static method in class net.sourceforge.pmd.util.
Applier
applyMinimumValue(SortedSet<DataPoint>, double)
- Method in class net.sourceforge.pmd.stat.
StatisticalRule
applyTo(NameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
ImageFinderFunction
applyTo(VariableNameDeclaration)
- Method in class net.sourceforge.pmd.symboltable.
VariableUsageFinderFunction
applyTo(E)
- Method in interface net.sourceforge.pmd.util.
UnaryFunction
applyTopScore(SortedSet<DataPoint>, int)
- Method in class net.sourceforge.pmd.stat.
StatisticalRule
areEqual(Object, Object)
- Static method in class net.sourceforge.pmd.properties.
AbstractPMDProperty
Method areEqual.
areEqual(Object, Object)
- Static method in class net.sourceforge.pmd.util.
CollectionUtil
A comprehensive isEqual method that handles nulls and arrays safely.
ArgumentList()
- Method in class net.sourceforge.pmd.ast.
JavaParser
Arguments()
- Method in class net.sourceforge.pmd.ast.
JavaParser
ArrayDimsAndInits()
- Method in class net.sourceforge.pmd.ast.
JavaParser
arrayFor(int)
- Method in class net.sourceforge.pmd.properties.
AbstractScalarProperty
Method arrayFor.
arrayFor(int)
- Method in class net.sourceforge.pmd.properties.
BooleanProperty
Method arrayFor.
arrayFor(int)
- Method in class net.sourceforge.pmd.properties.
DoubleProperty
Method arrayFor.
arrayFor(int)
- Method in class net.sourceforge.pmd.properties.
FloatProperty
Method arrayFor.
arrayFor(int)
- Method in class net.sourceforge.pmd.properties.
IntegerProperty
Method arrayFor.
ArrayInitializer()
- Method in class net.sourceforge.pmd.ast.
JavaParser
ArrayIsStoredDirectly
- Class in
net.sourceforge.pmd.rules.sunsecure
ArrayIsStoredDirectly()
- Constructor for class net.sourceforge.pmd.rules.sunsecure.
ArrayIsStoredDirectly
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.
ARROWSTAR
- Static variable in interface net.sourceforge.pmd.cpd.cppast.
CPPParserConstants
asDelimitedString(Object)
- Method in class net.sourceforge.pmd.properties.
AbstractPMDProperty
Method asDelimitedString.
asDelimitedString(Object)
- Method in class net.sourceforge.pmd.properties.
EnumeratedProperty
Method asDelimitedString.
asDelimitedString(Object)
- Method in interface net.sourceforge.pmd.
PropertyDescriptor
Formats the object onto a string suitable for storage within the property map.
asFixedMap(PropertyDescriptor[])
- Static method in class net.sourceforge.pmd.
CommonAbstractRule
asFixedMap(PropertyDescriptor)
- Static method in class net.sourceforge.pmd.
CommonAbstractRule
AssertStatement()
- Method in class net.sourceforge.pmd.ast.
JavaParser
asSet(T[])
- Static method in class net.sourceforge.pmd.util.
CollectionUtil
Returns the items as a populated set.
ASSIGN
- Static variable in interface net.sourceforge.pmd.ast.
JavaParserConstants
RegularExpression Id.
assigned(List<NameOccurrence>)
- Method in class net.sourceforge.pmd.rules.optimization.
AbstractOptimizationRule
ASSIGNEQUAL
- Static variable in interface net.sourceforge.pmd.cpd.cppast.
CPPParserConstants
AssignmentInOperand
- Class in
net.sourceforge.pmd.rules
AssignmentInOperand()
- Constructor for class net.sourceforge.pmd.rules.
AssignmentInOperand
AssignmentOperator()
- Method in class net.sourceforge.pmd.ast.
JavaParser
AssignmentToNonFinalStatic
- Class in
net.sourceforge.pmd.rules.design
AssignmentToNonFinalStatic()
- Constructor for class net.sourceforge.pmd.rules.design.
AssignmentToNonFinalStatic
asString(Object)
- Method in class net.sourceforge.pmd.properties.
AbstractPMDProperty
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.properties.
TypeProperty
Method asString.
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.
ASTAdditiveExpression
- Class in
net.sourceforge.pmd.ast
ASTAdditiveExpression(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAdditiveExpression
ASTAdditiveExpression(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAdditiveExpression
ASTAllocationExpression
- Class in
net.sourceforge.pmd.ast
ASTAllocationExpression(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAllocationExpression
ASTAllocationExpression(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAllocationExpression
ASTAndExpression
- Class in
net.sourceforge.pmd.ast
ASTAndExpression(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAndExpression
ASTAndExpression(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAndExpression
ASTAnnotation
- Class in
net.sourceforge.pmd.ast
ASTAnnotation(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAnnotation
ASTAnnotation(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAnnotation
ASTAnnotationTypeBody
- Class in
net.sourceforge.pmd.ast
ASTAnnotationTypeBody(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAnnotationTypeBody
ASTAnnotationTypeBody(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAnnotationTypeBody
ASTAnnotationTypeDeclaration
- Class in
net.sourceforge.pmd.ast
ASTAnnotationTypeDeclaration(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAnnotationTypeDeclaration
ASTAnnotationTypeDeclaration(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAnnotationTypeDeclaration
ASTAnnotationTypeMemberDeclaration
- Class in
net.sourceforge.pmd.ast
ASTAnnotationTypeMemberDeclaration(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAnnotationTypeMemberDeclaration
ASTAnnotationTypeMemberDeclaration(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAnnotationTypeMemberDeclaration
ASTArgumentList
- Class in
net.sourceforge.pmd.ast
ASTArgumentList(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTArgumentList
ASTArgumentList(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTArgumentList
ASTArguments
- Class in
net.sourceforge.pmd.ast
ASTArguments(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTArguments
ASTArguments(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTArguments
ASTArrayDimsAndInits
- Class in
net.sourceforge.pmd.ast
ASTArrayDimsAndInits(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTArrayDimsAndInits
ASTArrayDimsAndInits(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTArrayDimsAndInits
ASTArrayInitializer
- Class in
net.sourceforge.pmd.ast
ASTArrayInitializer(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTArrayInitializer
ASTArrayInitializer(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTArrayInitializer
ASTAssertStatement
- Class in
net.sourceforge.pmd.ast
ASTAssertStatement(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAssertStatement
ASTAssertStatement(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAssertStatement
ASTAssignmentOperator
- Class in
net.sourceforge.pmd.ast
ASTAssignmentOperator(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAssignmentOperator
ASTAssignmentOperator(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTAssignmentOperator
ASTAttribute
- Class in
net.sourceforge.pmd.jsp.ast
ASTAttribute(int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTAttribute
ASTAttribute(JspParser, int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTAttribute
ASTAttributeValue
- Class in
net.sourceforge.pmd.jsp.ast
ASTAttributeValue(int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTAttributeValue
ASTAttributeValue(JspParser, int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTAttributeValue
ASTBlock
- Class in
net.sourceforge.pmd.ast
ASTBlock(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTBlock
ASTBlock(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTBlock
ASTBlockStatement
- Class in
net.sourceforge.pmd.ast
ASTBlockStatement(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTBlockStatement
ASTBlockStatement(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTBlockStatement
ASTBooleanLiteral
- Class in
net.sourceforge.pmd.ast
ASTBooleanLiteral(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTBooleanLiteral
ASTBooleanLiteral(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTBooleanLiteral
ASTBreakStatement
- Class in
net.sourceforge.pmd.ast
ASTBreakStatement(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTBreakStatement
ASTBreakStatement(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTBreakStatement
ASTCastExpression
- Class in
net.sourceforge.pmd.ast
ASTCastExpression(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTCastExpression
ASTCastExpression(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTCastExpression
ASTCatchStatement
- Class in
net.sourceforge.pmd.ast
ASTCatchStatement(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTCatchStatement
ASTCatchStatement(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTCatchStatement
ASTCData
- Class in
net.sourceforge.pmd.jsp.ast
ASTCData(int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTCData
ASTCData(JspParser, int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTCData
ASTClassOrInterfaceBody
- Class in
net.sourceforge.pmd.ast
ASTClassOrInterfaceBody(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTClassOrInterfaceBody
ASTClassOrInterfaceBody(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTClassOrInterfaceBody
ASTClassOrInterfaceBodyDeclaration
- Class in
net.sourceforge.pmd.ast
ASTClassOrInterfaceBodyDeclaration(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTClassOrInterfaceBodyDeclaration
ASTClassOrInterfaceBodyDeclaration(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTClassOrInterfaceBodyDeclaration
ASTClassOrInterfaceDeclaration
- Class in
net.sourceforge.pmd.ast
ASTClassOrInterfaceDeclaration(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTClassOrInterfaceDeclaration
ASTClassOrInterfaceDeclaration(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTClassOrInterfaceDeclaration
ASTClassOrInterfaceType
- Class in
net.sourceforge.pmd.ast
ASTClassOrInterfaceType(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTClassOrInterfaceType
ASTClassOrInterfaceType(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTClassOrInterfaceType
ASTCommentTag
- Class in
net.sourceforge.pmd.jsp.ast
ASTCommentTag(int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTCommentTag
ASTCommentTag(JspParser, int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTCommentTag
ASTCompilationUnit
- Class in
net.sourceforge.pmd.ast
ASTCompilationUnit(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTCompilationUnit
ASTCompilationUnit(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTCompilationUnit
ASTCompilationUnit
- Class in
net.sourceforge.pmd.jsp.ast
ASTCompilationUnit(int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTCompilationUnit
ASTCompilationUnit(JspParser, int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTCompilationUnit
ASTConditionalAndExpression
- Class in
net.sourceforge.pmd.ast
ASTConditionalAndExpression(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTConditionalAndExpression
ASTConditionalAndExpression(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTConditionalAndExpression
ASTConditionalExpression
- Class in
net.sourceforge.pmd.ast
ASTConditionalExpression(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTConditionalExpression
ASTConditionalExpression(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTConditionalExpression
ASTConditionalOrExpression
- Class in
net.sourceforge.pmd.ast
ASTConditionalOrExpression(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTConditionalOrExpression
ASTConditionalOrExpression(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTConditionalOrExpression
ASTConstructorDeclaration
- Class in
net.sourceforge.pmd.ast
ASTConstructorDeclaration(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTConstructorDeclaration
ASTConstructorDeclaration(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTConstructorDeclaration
ASTContent
- Class in
net.sourceforge.pmd.jsp.ast
ASTContent(int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTContent
ASTContent(JspParser, int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTContent
ASTContinueStatement
- Class in
net.sourceforge.pmd.ast
ASTContinueStatement(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTContinueStatement
ASTContinueStatement(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTContinueStatement
ASTDeclaration
- Class in
net.sourceforge.pmd.jsp.ast
ASTDeclaration(int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTDeclaration
ASTDeclaration(JspParser, int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTDeclaration
ASTDefaultValue
- Class in
net.sourceforge.pmd.ast
ASTDefaultValue(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTDefaultValue
ASTDefaultValue(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTDefaultValue
ASTDoctypeDeclaration
- Class in
net.sourceforge.pmd.jsp.ast
ASTDoctypeDeclaration(int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTDoctypeDeclaration
ASTDoctypeDeclaration(JspParser, int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTDoctypeDeclaration
ASTDoctypeExternalId
- Class in
net.sourceforge.pmd.jsp.ast
ASTDoctypeExternalId(int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTDoctypeExternalId
ASTDoctypeExternalId(JspParser, int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTDoctypeExternalId
ASTDoStatement
- Class in
net.sourceforge.pmd.ast
ASTDoStatement(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTDoStatement
ASTDoStatement(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTDoStatement
ASTElement
- Class in
net.sourceforge.pmd.jsp.ast
ASTElement(int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTElement
ASTElement(JspParser, int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTElement
ASTElExpression
- Class in
net.sourceforge.pmd.jsp.ast
ASTElExpression(int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTElExpression
ASTElExpression(JspParser, int)
- Constructor for class net.sourceforge.pmd.jsp.ast.
ASTElExpression
ASTEmptyStatement
- Class in
net.sourceforge.pmd.ast
ASTEmptyStatement(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTEmptyStatement
ASTEmptyStatement(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTEmptyStatement
ASTEnumBody
- Class in
net.sourceforge.pmd.ast
ASTEnumBody(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTEnumBody
ASTEnumBody(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTEnumBody
ASTEnumConstant
- Class in
net.sourceforge.pmd.ast
ASTEnumConstant(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTEnumConstant
ASTEnumConstant(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTEnumConstant
ASTEnumDeclaration
- Class in
net.sourceforge.pmd.ast
ASTEnumDeclaration(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTEnumDeclaration
ASTEnumDeclaration(JavaParser, int)
- Constructor for class net.sourceforge.pmd.ast.
ASTEnumDeclaration
ASTEqualityExpression
- Class in
net.sourceforge.pmd.ast
ASTEqualityExpression(int)
- Constructor for class net.sourceforge.pmd.ast.
ASTEqualityExpression
ASTEqualityExpression(JavaParser, int)
- Cons