Package com.puppycrawl.tools.checkstyle
Contains the implementation of the Checkstyle framework. Developers of
plug-ins for Checkstyle should refer to this package to configure and run
it.
You should not be referring to this package if you are implementing your own check.
-
Interface Summary Interface Description AuditEventFormatter Represents the formatter interface for log message.ModuleFactory A module factory creates Objects from a given name.PropertyResolver Resolves properties in module configurations.TreeWalkerFilter An interface for filteringTreeWalkerAuditEvent
. -
Class Summary Class Description AstTreeStringPrinter Class for printing AST to String.AuditEventDefaultFormatter Represents the default formatter for log message.Checker This class provides the functionality to check a set of files.ConfigurationLoader Loads a configuration from a standard configuration XML file.DefaultConfiguration Default implementation of the Configuration interface.DefaultContext A default implementation of the Context interface.DefaultLogger Simple plain logger for text output.Definitions Contains constant definitions common to the package.DetailAstImpl The implementation ofDetailAST
.DetailNodeTreeStringPrinter Parses file as javadoc DetailNode tree and prints to system output stream.JavadocDetailNodeParser Used for parsing Javadoc comment as DetailNode tree.JavadocDetailNodeParser.ParseErrorMessage Contains information about parse error message.JavadocDetailNodeParser.ParseStatus Contains result of parsing javadoc comment: DetailNode tree and parse error message.JavadocPropertiesGenerator This class is used internally in the build process to write a property file with short descriptions (the first sentences) of TokenTypes constants.JavaParser Helper methods to parse java source files.Main Wrapper command line program for the Checker.PackageNamesLoader Loads a list of package names from a package name XML file.PackageObjectFactory A factory for creating objects from package names and names.PropertiesExpander Resolves external properties from an underlyingProperties
object.PropertyCacheFile This class maintains a persistent(on file-system) store of the files that have checked ok(no validation events) and their associated timestamp.SuppressionsStringPrinter Class for constructing xpath queries to suppress nodes with specified line and column number.ThreadModeSettings Thread mode settings for the checkstyle modules.TreeWalker Responsible for walking an abstract syntax tree and notifying interested checks at each each node.TreeWalkerAuditEvent RawTreeWalker
event for audit.XmlLoader Contains the common implementation of a loader, for loading a configuration from an XML file.XmlLoader.LoadExternalDtdFeatureProvider Used for setting specific for secure java installations features to SAXParserFactory.XMLLogger Simple XML logger.XpathFileGeneratorAstFilter CatchesTreeWalkerAuditEvent
and generates corresponding xpath query.XpathFileGeneratorAuditListener Generates suppressions.xml file, based on violations occurred. -
Enum Summary Enum Description ConfigurationLoader.IgnoredModulesOptions Enum to specify behaviour regarding ignored modules.JavaParser.Options Enum to be used for test if comments should be used.PackageObjectFactory.ModuleLoadOption Enum class to define loading options. -
Annotation Types Summary Annotation Type Description FileStatefulCheck This annotation means that the check contains file-related context and therefore cannot be used from the others threads at the same time.GlobalStatefulCheck This annotation means that the check contains global context, which will be updated while Checkstyle processes files.StatelessCheck This annotation means that the check does not contain mutable state and may be safely used from others threads at the same time.