All Classes Interface Summary Class Summary Enum Summary Exception Summary Error Summary Annotation Types Summary
| Class |
Description |
| AbstractAccumulatingRenderer |
Abstract base class for Renderer implementations which only produce
output once all source files are processed.
|
| AbstractAnalysisCache |
Deprecated.
|
| AbstractConfiguration |
Base configuration class for both PMD and CPD.
|
| AbstractDelegateRule |
Deprecated.
|
| AbstractIncrementingRenderer |
Abstract base class for Renderer implementations which can produce
output incrementally for RuleViolations as source files are
processed.
|
| AbstractJjtreeNode<B extends AbstractJjtreeNode<B,N>,N extends JjtreeNode<N>> |
Base class for node produced by JJTree.
|
| AbstractLanguageVersionHandler |
This is a generic implementation of the LanguageVersionHandler interface.
|
| AbstractNameDeclaration |
Base class for all name declarations.
|
| AbstractNode<B extends AbstractNode<B,N>,N extends Node & GenericNode<N>> |
Base class for implementations of the Node interface whose children
are stored in an array.
|
| AbstractPmdLanguageVersionHandler |
Base language version handler for languages that support PMD, i.e.
|
| AbstractPropertySource |
|
| AbstractRenderer |
Abstract base class for Renderer implementations.
|
| AbstractRule |
Basic abstract implementation of all parser-independent methods of the Rule
interface.
|
| AbstractScope |
Base class for any Scope.
|
| AbstractTokenManager |
A base class for the token managers generated by JavaCC.
|
| AbstractVisitorRule |
|
| AbstractXPathFunctionDef |
Base impl for an XPath function definition.
|
| AnalysisCache |
Deprecated.
|
| AnalysisCacheListener |
Deprecated. |
| AnalysisResult |
Deprecated.
|
| AntlrBaseParser<N extends AntlrNode<N>,R extends BaseAntlrInnerNode<N> & RootNode> |
Generic Antlr parser adapter for all Antlr parsers.
|
| AntlrGeneratedParserBase<N extends AntlrNode<N>> |
This is the base class for antlr generated parsers.
|
| AntlrNameDictionary |
Stores the XPath name of antlr terminals.
|
| AntlrNode<N extends AntlrNode<N>> |
Base interface for all Antlr-based implementation of the Node interface.
|
| AntlrToken |
Generic Antlr representation of a token.
|
| AntlrTokenFilter |
A generic filter for Antlr-based token managers that allows to use comments
to enable / disable analysis of parts of the stream
|
| AntlrTokenizer |
Generic implementation of a Tokenizer useful to any Antlr grammar.
|
| AntlrTokenManager |
Generic token manager implementation for all Antlr lexers.
|
| AnyTokenizer |
Simple tokenization into words and separators.
|
| Applier |
|
| AssertionUtil |
|
| AstInfo<T extends RootNode> |
|
| AstVisitor<P,R> |
Root interface for AST visitors.
|
| AstVisitorBase<P,R> |
Base implementation of AstVisitor, that performs a top-down
(preorder) visit and may accumulate a result.
|
| Attribute |
Represents an XPath attribute of a specific node.
|
| AttributeAxisIterator |
Explores an AST node reflectively to iterate over its XPath
attributes.
|
| BackslashEscapeTranslator |
A base class for readers that handle escapes starting with a backslash.
|
| BaseAntlrErrorNode<N extends AntlrNode<N>> |
|
| BaseAntlrInnerNode<N extends AntlrNode<N>> |
Base class for the inner nodes (corresponds to ParserRuleContext).
|
| BaseAntlrInnerNode.PmdAsAntlrInnerNode<N extends AntlrNode<N>> |
|
| BaseAntlrNode<A extends BaseAntlrNode.AntlrToPmdParseTreeAdapter<N>,N extends AntlrNode<N>> |
Base class for an antlr node.
|
| BaseAntlrNode.AntlrToPmdParseTreeAdapter<N extends AntlrNode<N>> |
|
| BaseAntlrTerminalNode<N extends AntlrNode<N>> |
Base class for terminal nodes (they wrap a TerminalNode).
|
| BaseAntlrTerminalNode.AntlrErrorPmdAdapter<N extends AntlrNode<N>> |
|
| BaseAntlrTerminalNode.AntlrTerminalPmdAdapter<N extends AntlrNode<N>> |
|
| BaseCloseable |
|
| BaseResultProducingCloseable<T> |
Base class for an autocloseable that produce a result once it has
been closed.
|
| BaseTokenFilter<T extends GenericToken<T>> |
A generic filter for PMD token managers that allows to use comments
to enable / disable analysis of parts of the stream
|
| BatchLanguageProcessor<P extends LanguagePropertyBundle> |
A base class for language processors.
|
| CachedRuleMapper |
Deprecated.
|
| CachedRuleViolation |
Deprecated.
|
| Chars |
View on a string which doesn't copy the array for subsequence operations.
|
| CharStream |
PMD flavour of character streams used by JavaCC parsers.
|
| ChecksumAware |
Deprecated.
|
| ClasspathClassLoader |
Create a ClassLoader which loads classes using a CLASSPATH like String.
|
| CodeClimateIssue |
Structure for the Code Climate Issue spec
(https://github.com/codeclimate/spec/blob/master/SPEC.md#issues)
|
| CodeClimateIssue.Content |
Content structure
|
| CodeClimateIssue.Location |
Location structure
|
| CodeClimateRenderer |
Renderer for Code Climate JSON format
|
| CollectionUtil |
Generic collection-related utility functions for java.util types.
|
| ConfigurableFileNameRenderer |
|
| ConstraintViolatedException |
Thrown when a property constraint is violated.
|
| ContextedAssertionError |
|
| ContextedStackOverflowError |
|
| CpdAnalysis |
Main programmatic API of CPD.
|
| CpdCapableLanguage |
A language that supports CPD.
|
| CPDConfiguration |
|
| CpdLanguageProperties |
|
| CPDListener |
|
| CPDNullListener |
|
| CpdOnlyLanguageModuleBase |
Base class for language modules that only support CPD and not PMD.
|
| CPDReport |
The result of a CPD analysis.
|
| CPDReportRenderer |
|
| CSVRenderer |
Renders a report to CSV.
|
| CSVRenderer |
Renderer the results to a comma-delimited text format.
|
| CSVWithLinecountPerFileRenderer |
|
| DataMap<K> |
An opaque, strongly typed heterogeneous data container.
|
| DataMap.DataKey<K extends DataMap.DataKey<K,T>,T> |
A key for type-safe access into a DataMap.
|
| DataMap.SimpleDataKey<T> |
|
| DataSource |
Deprecated.
|
| DBMSMetadata |
Wrap JDBC connection for use by PMD: DBURI parameters specify the
source code to be passed to PMD.
|
| DBType |
Encapsulate the settings needed to access database source code.
|
| DBType.Property |
The names of the properties
|
| DBURI |
Provide a single parameter to specify database objects to process.
|
| DeprecatedAttribute |
Node attribute getter methods might be annotated with DeprecatedAttribute
to mark the attribute as deprecated for XPath.
|
| DeprecatedUntil700 |
Tags a deprecated member that should not be removed before PMD 7.0.0.
|
| DesignerBindings |
Gathers some services to customise how language implementations bind
to the designer.
|
| DesignerBindings.AdditionalInfo |
An entry for the "additional info" panel.
|
| DesignerBindings.DefaultDesignerBindings |
|
| DesignerBindings.TreeIconId |
|
| EmacsRenderer |
Renderer to GNU Emacs parsable format.
|
| EmptyRenderer |
An empty renderer, for when you really don't want a report.
|
| EscapeTranslator |
An object that can translate an input document into an output document,
typically by replacing escape sequences with the character they represent.
|
| ExceptionContextDefaultImpl<T extends Throwable & org.apache.commons.lang3.exception.ExceptionContext> |
|
| Experimental |
Indicates the feature is in experimental state: its existence, signature
or behavior might change without warning from one release to the next.
|
| FileAnalysisCache |
Deprecated.
|
| FileAnalysisException |
An exception that occurs while processing a file.
|
| FileAnalysisListener |
A handler for events occuring during analysis of a single file.
|
| FileCollectionUtil |
|
| FileCollector |
Collects files to analyse before a PMD run.
|
| FileDataSource |
Deprecated. |
| FileFinder |
A utility class for finding files within a directory.
|
| FileId |
|
| FileLocation |
Represents the coordinates of a text region, used for reporting.
|
| FileNameRenderer |
Strategy to render a FileId into a display name.
|
| FileUtil |
This is a utility class for working with Files.
|
| FragmentedDocBuilder |
|
| GenericNode<N extends GenericNode<N>> |
Interface that binds the return type of some node methods to a type
parameter.
|
| GenericToken<T extends GenericToken<T>> |
Represents a token, part of a token chain in a source file.
|
| GlobalAnalysisListener |
Listens to an analysis.
|
| GlobalAnalysisListener.ViolationCounterListener |
A listener that just counts recorded violations.
|
| GraphUtil |
|
| GraphUtil.DotColor |
|
| GUI |
|
| HTMLRenderer |
Renderer to basic HTML format.
|
| IDEAJRenderer |
Renderer for IntelliJ IDEA integration.
|
| ImageFinderFunction |
|
| InternalApi |
Tags API members that are not publicly supported API.
|
| IOUtil |
|
| IOUtil.BomAwareInputStream |
Input stream that skips an optional byte order mark at the beginning
of the stream.
|
| IteratorUtil |
|
| IteratorUtil.AbstractIterator<T> |
|
| IteratorUtil.AbstractPausingIterator<T> |
|
| JavaccToken |
A generic token implementation for JavaCC parsers.
|
| JavaccTokenDocument |
Token document for Javacc implementations.
|
| JavaccTokenDocument.TokenDocumentBehavior |
Overridable configuration of a token document.
|
| JavaCCTokenFilter |
A generic filter for JavaCC-based token managers that allows to use comments
to enable / disable analysis of parts of the stream
|
| JavaCCTokenizer |
Base class for a Tokenizer for a language implemented by a JavaCC tokenizer.
|
| JavaEscapeTranslator |
|
| JjtreeBuilder<N extends AbstractJjtreeNode<N,?>> |
Shared implementation of the tree builder generated by JJTree.
|
| JjtreeNode<N extends JjtreeNode<N>> |
Base interface for nodes that are produced by a JJTree parser.
|
| JjtreeParserAdapter<R extends RootNode> |
Base implementation of the Parser interface for JavaCC language
implementations.
|
| JsonRenderer |
|
| JvmLanguagePropertyBundle |
Base properties class for JVM languages that use a classpath to resolve
references.
|
| Language |
Represents a language module, and provides access to language-specific
functionality.
|
| LanguageFilenameFilter |
This is an implementation of the FilenameFilter interface which
compares a file against a collection of Languages to see if the any are
applicable.
|
| LanguageMetricsProvider |
Language-specific provider for metrics.
|
| LanguageModuleBase |
Base class for language modules.
|
| LanguageModuleBase.LanguageMetadata |
Metadata about a language, basically a builder pattern for the
language instance.
|
| LanguageProcessor |
Stateful object managing the analysis for a given language.
|
| LanguageProcessor.AnalysisTask |
|
| LanguageProcessorRegistry |
|
| LanguageProcessorRegistry.LanguageTerminationException |
|
| LanguagePropertyBundle |
|
| LanguageRegistry |
A set of languages with convenient methods.
|
| LanguageVersion |
|
| LanguageVersionDiscoverer |
This class can discover the LanguageVersion of a source file.
|
| LanguageVersionHandler |
Interface for obtaining the classes necessary for checking source files of a
specific language.
|
| ListenerInitializer |
|
| MalformedSourceException |
A FileAnalysisException thrown when the source format is invalid,
for example if some unicode escapes cannot be translated.
|
| Mark |
A range of tokens in a source file, identified by a start and end
token (both included in the range).
|
| Match |
|
| MessageReporter |
Façade to report user-facing messages (info, warning and error).
|
| Metric<N extends Node,R extends Number> |
A named computation that can be carried out on some nodes.
|
| MetricOption |
Option to pass to a metric.
|
| MetricOptions |
Bundles a set of options to pass to a metric.
|
| MetricsUtil |
Utilities to use Metric instances.
|
| NameDeclaration |
This is a declaration of a name, e.g.
|
| NameOccurrence |
|
| NoAttribute |
Filters out some methods from the XPath attributes of a node.
|
| NoAttribute.NoAttrScope |
|
| Node |
Root interface for all AST nodes.
|
| NodeStream<T extends Node> |
A sequence of AST nodes.
|
| NodeStream.DescendantNodeStream<T extends Node> |
A specialization of NodeStream that allows configuring
tree traversal behaviour when traversing the descendants of a node.
|
| NoopAnalysisCache |
Deprecated.
|
| NumericConstraints |
Common constraints for properties dealing with numbers.
|
| OptionalBool |
Represents a boolean that may not be present.
|
| ParametricRuleViolation |
Deprecated.
|
| ParseException |
|
| Parser |
Produces an AST from a source file.
|
| Parser.ParserTask |
Parameters passed to a parsing task.
|
| PlainTextLanguage |
A dummy language implementation whose parser produces a single node.
|
| PlainTextLanguage.PlainTextFile |
|
| PmdAnalysis |
Main programmatic API of PMD.
|
| PmdCapableLanguage |
A language that supports PMD.
|
| PMDConfiguration |
This class contains the details for the runtime configuration of a
PMD run.
|
| PMDVersion |
Stores the current PMD version and provides utility methods around it.
|
| PmdXmlReporter |
|
| PmdXPathException |
Unchecked exception wrapper for XPathException.
|
| PmdXPathException.Phase |
|
| Predicate<T> |
Simple predicate of one argument.
|
| PredicateUtil |
|
| PropertyBuilder<B extends PropertyBuilder<B,T>,T> |
Base class for generic property builders.
|
| PropertyBuilder.GenericCollectionPropertyBuilder<V,C extends Iterable<V>> |
Generic builder for a collection-valued property.
|
| PropertyBuilder.GenericPropertyBuilder<T> |
Generic builder for a single-value property.
|
| PropertyBuilder.RegexPropertyBuilder |
Specialized builder for regex properties.
|
| PropertyConstraint<T> |
Validates the value of a property.
|
| PropertyDescriptor<T> |
Describes a property of a rule or a renderer.
|
| PropertyFactory |
Provides factory methods for common property types.
|
| PropertySerializer<T> |
Strategy to serialize a value to and from strings.
|
| PropertySource |
Entity that manages a list of properties.
|
| PropertyTypeId |
Enumerates the properties that can be built from the XML.
|
| PropertyTypeId.BuilderAndMapper<T> |
An factory for new properties, whose default value must be deserialized
using an PropertySerializer.
|
| ReaderDataSource |
Deprecated. |
| ReadOnlyFileException |
Thrown when an attempt to write through a TextFile
fails because the file is read-only.
|
| RelatedNodesSelector |
Provides a way for the designer to highlight related nodes upon selection,
eg those nodes referring to the same variable or method.
|
| Renderer |
This is an interface for rendering a Report.
|
| RendererFactory |
This class handles the creation of Renderers.
|
| Report |
A Report collects all informations during a PMD execution.
|
| Report.ConfigurationError |
Represents a configuration error.
|
| Report.GlobalReportBuilderListener |
|
| Report.ProcessingError |
Represents a processing error, such as a parse error.
|
| Report.ReportBuilderListener |
|
| Report.SuppressedViolation |
Represents a violation, that has been suppressed.
|
| Reportable |
Interface implemented by those objects that can be the target of
a RuleViolation.
|
| ReportStats |
Summarized info about a report.
|
| ReportStatsListener |
Collects summarized info about a PMD run.
|
| ReservedSubclassing |
Indicates that subclassing this type is not publicly
supported API.
|
| ResourceLoader |
Helper class for retrieving resources relative to the installation.
|
| ResourceLoader |
Deprecated.
|
| ResourceResolver |
|
| RootNode |
This interface identifies the root node of an AST.
|
| Rule |
This is the basic Rule interface for PMD rules.
|
| RuleContext |
The API for rules to report violations or errors during analysis.
|
| RuleFactory |
Deprecated. |
| RulePriority |
These are the possible Rule priority values.
|
| RuleReference |
This class represents a Rule which is a reference to Rule defined in another
RuleSet.
|
| RuleSet |
This class represents a collection of rules along with some optional filter
patterns that can preclude their application on specific files.
|
| RuleSetLoader |
Configurable object to load rulesets from XML resources.
|
| RuleSetLoadException |
|
| RuleSetReference |
Deprecated.
|
| RuleSetReferenceId |
Deprecated.
|
| RuleSets |
Deprecated.
|
| RuleSetWriter |
This class represents a way to serialize a RuleSet to an XML configuration
file.
|
| RuleTargetSelector |
A strategy for selecting nodes that will be targeted by a rule.
|
| RuleViolation |
A RuleViolation is created by a Rule when it identifies a violation of the
Rule constraints.
|
| SarifLog |
|
| SarifLog.ArtifactLocation |
Specifies the location of an artifact.
|
| SarifLog.ArtifactLocation.ArtifactLocationBuilder |
|
| SarifLog.AssociatedRule |
A associated rule to the toolConfigurationNotification.
|
| SarifLog.AssociatedRule.AssociatedRuleBuilder |
|
| SarifLog.Component |
A component, such as a plug-in or the driver, of the analysis tool that was run.
|
| SarifLog.Component.ComponentBuilder |
|
| SarifLog.Exception |
A exception information object, for the tool runtime errors.
|
| SarifLog.Exception.ExceptionBuilder |
|
| SarifLog.Invocation |
An invocation component to specify tool invocation details/errors.
|
| SarifLog.Invocation.InvocationBuilder |
|
| SarifLog.Location |
A location within a programming artifact.
|
| SarifLog.Location.LocationBuilder |
|
| SarifLog.Message |
Encapsulates a message intended to be read by the end user.
|
| SarifLog.Message.MessageBuilder |
|
| SarifLog.MultiformatMessage |
A message string or message format string rendered in multiple formats.
|
| SarifLog.MultiformatMessage.MultiformatMessageBuilder |
|
| SarifLog.PhysicalLocation |
A physical location relevant to a result.
|
| SarifLog.PhysicalLocation.PhysicalLocationBuilder |
|
| SarifLog.PropertyBag |
Key/value pairs that provide additional information about the object.
|
| SarifLog.PropertyBag.PropertyBagBuilder |
|
| SarifLog.Region |
A region within an artifact where a result was detected.
|
| SarifLog.Region.RegionBuilder |
|
| SarifLog.ReportingDescriptor |
Metadata that describes a specific report produced by the tool, as part of the analysis it provides or its runtime
reporting.
|
| SarifLog.ReportingDescriptor.ReportingDescriptorBuilder |
|
| SarifLog.Result |
A result produced by an analysis tool.
|
| SarifLog.Result.ResultBuilder |
|
| SarifLog.Run |
Describes a single run of an analysis tool, and contains the reported output of that run.
|
| SarifLog.Run.RunBuilder |
|
| SarifLog.SarifLogBuilder |
|
| SarifLog.Tool |
The analysis tool that was run.
|
| SarifLog.Tool.ToolBuilder |
|
| SarifLog.ToolConfigurationNotification |
An invocation property to specify tool configuration errors.
|
| SarifLog.ToolConfigurationNotification.ToolConfigurationNotificationBuilder |
|
| SarifLog.ToolExecutionNotification |
An invocation property to specify tool runtime errors.
|
| SarifLog.ToolExecutionNotification.ToolExecutionNotificationBuilder |
|
| SarifLogBuilder |
|
| SarifRenderer |
|
| SchemaConstant |
Wraps the name of eg an attribute or element, and provides convenience
methods to query the DOM.
|
| SchemaConstants |
Constants of the ruleset schema.
|
| Scope |
A scope is a region within variables and other declarations are visible.
|
| ScopedNode |
A Node which knows about the scope within it has been declared.
|
| SemanticErrorReporter |
Reports errors that occur after parsing.
|
| SemanticException |
An error that occurs after validating a file.
|
| ShortFilenameUtil |
|
| SimpleLanguageModuleBase |
|
| SimpleRenderer |
|
| SourceObject |
Instantiate the fields required to retrieve the source code.
|
| StringUtil |
String-related utility functions.
|
| StringUtil.CaseConvention |
|
| SummaryHTMLRenderer |
Renderer to a summarized HTML format.
|
| TextAvailableNode |
Refinement of Node for nodes that can provide the underlying
source text.
|
| TextColorRenderer |
A console renderer with optional color support under *nix systems.
|
| TextDocument |
Represents a textual document, providing methods to edit it incrementally
and address regions of text.
|
| TextFile |
Represents some location containing character data.
|
| TextFileBuilder |
A builder for a new text file.
|
| TextFileContent |
Contents of a text file.
|
| TextPadRenderer |
A Renderer for running PMD via a TextPad 'tool'.
|
| TextPos2d |
A place in a text document, represented as line/column information.
|
| TextRange2d |
A place in a text document, represented as line/column information.
|
| TextRegion |
|
| TextRenderer |
Renderer to simple text format.
|
| TextTimingReportRenderer |
|
| TextTreeRenderer |
A simple recursive printer.
|
| TimedOperation |
Describes a timed operation.
|
| TimedOperationCategory |
A category for a TimedOperation, rendered either as a section
if several operations are registered on the same category but with
distinct labels, or put into the "remaining categories" section.
|
| TimeTracker |
A time tracker class to measure time spent on different sections of PMD analysis.
|
| TimingReport |
A report on timing data obtained through the execution of PMD
|
| TimingReportRenderer |
|
| TokenDocument<T extends GenericToken> |
Token layer of a parsed file.
|
| TokenEntry |
|
| TokenFactory |
|
| Tokenizer |
Tokenizes a source file into tokens consumable by CPD.
|
| TokenizerBase<T extends GenericToken<T>> |
|
| TokenManager<T extends GenericToken<T>> |
Common interface for interacting with parser Token Managers.
|
| TokenMgrError |
An error thrown during lexical analysis of a file.
|
| Tokens |
Global token collector for CPD.
|
| TreeExportConfiguration |
|
| TreeExporter |
|
| TreeRenderer |
An object that can export a tree to an external text format.
|
| TreeRendererDescriptor |
Describes the configuration options of a specific TreeRenderer.
|
| TreeRenderers |
Entry point to fetch and register tree renderers.
|
| VBHTMLRenderer |
Renderer to another HTML format.
|
| ViolationDecorator |
Adds additional key/value pairs to a violation in a language-specific manner.
|
| ViolationSuppressor |
An object that suppresses rule violations.
|
| VSRenderer |
|
| XmlErrorMessages |
|
| XMLRenderer |
|
| XMLRenderer |
Renderer to XML format.
|
| XmlTreeRenderer |
Renders a tree to XML.
|
| XmlTreeRenderer.XmlRenderingConfig |
|
| XmlUtil |
|
| XPathHandler |
Interface for performing Language specific XPath handling, such as
initialization and navigation.
|
| XPathRule |
Rule that tries to match an XPath expression against a DOM view of an AST.
|
| XPathVersion |
Constants for XPath language version used in XPath queries.
|
| XSLTRenderer |
Renderer to XML format with a XSL Transformation applied.
|
| YAHTMLRenderer |
Renderer to another HTML format.
|
| ZipDataSource |
Deprecated. |