Package | Description |
---|---|
com.puppycrawl.tools.checkstyle |
Contains the implementation of the Checkstyle framework.
|
com.puppycrawl.tools.checkstyle.api |
Contains the core API to be used to implement checks.
|
com.puppycrawl.tools.checkstyle.checks.header |
File Header checks.
|
com.puppycrawl.tools.checkstyle.filters |
Contains the filters that are bundled with the main distribution.
|
Modifier and Type | Method and Description |
---|---|
Object |
ModuleFactory.createModule(String name)
Creates a new instance of a class from a given name.
|
void |
Checker.finishLocalSetup() |
String |
DefaultConfiguration.getAttribute(String name)
The attribute value for an attribute name.
|
static Set<String> |
PackageNamesLoader.getPackageNames(ClassLoader classLoader)
Returns the set of package names, compiled from all
checkstyle_packages.xml files found on the given classloaders
classpath.
|
static Configuration |
ConfigurationLoader.loadConfiguration(InputSource configSource,
PropertyResolver overridePropsResolver,
boolean omitIgnoredModules)
Returns the module configurations from a specified input source.
|
static Configuration |
ConfigurationLoader.loadConfiguration(InputStream configStream,
PropertyResolver overridePropsResolver,
boolean omitIgnoredModules)
Deprecated.
As this method does not provide a valid system ID,
preventing resolution of external entities, a
version using an InputSource
should be used instead |
static Configuration |
ConfigurationLoader.loadConfiguration(String config,
PropertyResolver overridePropsResolver)
Returns the module configurations in a specified file.
|
static Configuration |
ConfigurationLoader.loadConfiguration(String config,
PropertyResolver overridePropsResolver,
boolean omitIgnoredModules)
Returns the module configurations in a specified file.
|
String |
PropertyResolver.resolve(String name)
Resolves a property name to it's value.
|
void |
TreeWalker.setupChild(Configuration childConf) |
protected void |
Checker.setupChild(Configuration childConf) |
Constructor and Description |
---|
Checker()
Creates a new
Checker instance. |
Modifier and Type | Method and Description |
---|---|
void |
Configurable.configure(Configuration configuration)
Configures this component.
|
void |
AutomaticBean.configure(Configuration configuration)
Implements the Configurable interface using bean introspection.
|
void |
Contextualizable.contextualize(Context context)
Sets the context for this Component.
|
void |
AutomaticBean.contextualize(Context context)
Implements the Contextualizable interface using bean introspection.
|
protected void |
AutomaticBean.finishLocalSetup()
Provides a hook to finish the part of this component's setup that
was not handled by the bean introspection.
|
String |
Configuration.getAttribute(String name)
The attribute value for an attribute name.
|
protected void |
AutomaticBean.setupChild(Configuration childConf)
Called by configure() for every child of this component's Configuration.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractHeaderCheck.finishLocalSetup() |
Modifier and Type | Method and Description |
---|---|
static FilterSet |
SuppressionsLoader.loadSuppressions(String filename)
Returns the suppression filters in a specified file.
|
void |
SuppressionFilter.setFile(String fileName)
Loads the suppressions for a file.
|
Copyright © 2001–2015. All rights reserved.