A B C D E F G H I L M N P R S T U V 
All Classes All Packages

A

AbstractAddonsCheck - Class in com.thomasjensen.checkstyle.addons.checks
Base class of all Checkstyle Addons checks.
AbstractAddonsCheck() - Constructor for class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
 
AbstractAddonsCheck(String) - Constructor for class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
 
AbstractMethodCallCheck - Class in com.thomasjensen.checkstyle.addons.checks
Checks deriving from this type are aware of method calls occurring anywhere in the source, and get explicitly notified when such calls are encountered.
AbstractMethodCallCheck() - Constructor for class com.thomasjensen.checkstyle.addons.checks.AbstractMethodCallCheck
 
AbstractRuleBase - Class in com.thomasjensen.checkstyle.addons.sonarqube
Common superclass of all our SonarQube rules.
AbstractRuleBase(RulesDefinition.NewRepository, String, boolean) - Constructor for class com.thomasjensen.checkstyle.addons.sonarqube.AbstractRuleBase
 

B

beginProcessing(String) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.ModuleDirectoryLayoutCheck
 
beginTree(DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
 
beginTree(DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractMethodCallCheck
 
beginTree(DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
BinaryName - Class in com.thomasjensen.checkstyle.addons.checks
Represents a Java binary class name for reference types, in the form of its fragments.
BinaryName(String, String, String...) - Constructor for class com.thomasjensen.checkstyle.addons.checks.BinaryName
Constructor.
BinaryName(String, Collection<String>) - Constructor for class com.thomasjensen.checkstyle.addons.checks.BinaryName
Constructor.

C

call() - Method in interface com.thomasjensen.checkstyle.addons.util.CallableNoEx
 
CallableNoEx<R> - Interface in com.thomasjensen.checkstyle.addons.util
The same as Callable, but throws no checked exceptions.
canonize(File) - Static method in class com.thomasjensen.checkstyle.addons.util.Util
Calls getCanonicalFile() on the given File; if that doesn't work, call getAbsoluteFile() on it.
CheckstyleApiFixer - Class in com.thomasjensen.checkstyle.addons.util
The public API of the Checkstyle tool changes frequently, and many releases of Checkstyle are incompatible with their predecessors.
CheckstyleApiFixer(AbstractCheck) - Constructor for class com.thomasjensen.checkstyle.addons.util.CheckstyleApiFixer
Constructor.
CheckstyleApiFixer(AbstractCheck, String) - Constructor for class com.thomasjensen.checkstyle.addons.util.CheckstyleApiFixer
Constructor.
CheckstyleExtensionPlugin - Class in com.thomasjensen.checkstyle.addons.sonarqube
The Checkstyle Addons SonarQube plugin main class.
CheckstyleExtensionPlugin() - Constructor for class com.thomasjensen.checkstyle.addons.sonarqube.CheckstyleExtensionPlugin
 
ClassObject - com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceOption
the current type, as a static Class object (e.g.
closeQuietly(Closeable) - Static method in class com.thomasjensen.checkstyle.addons.util.Util
Quietly close the given resource, ignoring any exceptions.
com.thomasjensen.checkstyle.addons.checks - package com.thomasjensen.checkstyle.addons.checks
Common classes for all checks.
com.thomasjensen.checkstyle.addons.checks.coding - package com.thomasjensen.checkstyle.addons.checks.coding
Checks that find coding problems.
com.thomasjensen.checkstyle.addons.checks.misc - package com.thomasjensen.checkstyle.addons.checks.misc
Checks that find miscellaneous problems.
com.thomasjensen.checkstyle.addons.checks.regexp - package com.thomasjensen.checkstyle.addons.checks.regexp
Checks that primarily apply regular expressions to stuff.
com.thomasjensen.checkstyle.addons.sonarqube - package com.thomasjensen.checkstyle.addons.sonarqube
The SonarQube plugin.
com.thomasjensen.checkstyle.addons.util - package com.thomasjensen.checkstyle.addons.util
Generic helper classes for all checks.
ConfigValidationException - Exception in com.thomasjensen.checkstyle.addons.checks.misc
The ModuleDirectoryLayout check's JSON configuration was faulty.
ConfigValidationException(String) - Constructor for exception com.thomasjensen.checkstyle.addons.checks.misc.ConfigValidationException
Constructor.
ConfigValidationException(String, Throwable) - Constructor for exception com.thomasjensen.checkstyle.addons.checks.misc.ConfigValidationException
Constructor.
containsString(Iterable<String>, String, boolean) - Static method in class com.thomasjensen.checkstyle.addons.util.Util
Search for a String in a collection.

D

DecomposedPath - Class in com.thomasjensen.checkstyle.addons.checks.misc
Encapsulates the components of a checked file path.
DecomposedPath(String, String, String, String, Set<String>, List<String>) - Constructor for class com.thomasjensen.checkstyle.addons.checks.misc.DecomposedPath
Constructor.
define(Plugin.Context) - Method in class com.thomasjensen.checkstyle.addons.sonarqube.CheckstyleExtensionPlugin
 
define(RulesDefinition.Context) - Method in class com.thomasjensen.checkstyle.addons.sonarqube.AbstractRuleBase
 
define(RulesDefinition.Context) - Method in class com.thomasjensen.checkstyle.addons.sonarqube.RulesExtension
 
defineRule(RulesDefinition.NewRule, String) - Method in class com.thomasjensen.checkstyle.addons.sonarqube.AbstractRuleBase
 
defineRule(RulesDefinition.NewRule, String) - Method in class com.thomasjensen.checkstyle.addons.sonarqube.IllegalMethodCallRule
 
defineRule(RulesDefinition.NewRule, String) - Method in class com.thomasjensen.checkstyle.addons.sonarqube.LocationReferenceRule
 
defineRule(RulesDefinition.NewRule, String) - Method in class com.thomasjensen.checkstyle.addons.sonarqube.LostInstanceRule
 
defineRule(RulesDefinition.NewRule, String) - Method in class com.thomasjensen.checkstyle.addons.sonarqube.ModuleDirectoryLayoutRule
 
defineRule(RulesDefinition.NewRule, String) - Method in class com.thomasjensen.checkstyle.addons.sonarqube.PropertyCatalogRule
 
defineRule(RulesDefinition.NewRule, String) - Method in class com.thomasjensen.checkstyle.addons.sonarqube.RegexpOnFilenameOrgRule
 
defineRule(RulesDefinition.NewRule, String) - Method in class com.thomasjensen.checkstyle.addons.sonarqube.RegexpOnStringRule
 

E

equals(Object) - Method in class com.thomasjensen.checkstyle.addons.checks.BinaryName
 

F

FileExtensions - com.thomasjensen.checkstyle.addons.checks.misc.MdlContentSpecType
A comma-separated list of file extensions, excluding leading dots.
findLeftMostTokenInLine(DetailAST) - Static method in class com.thomasjensen.checkstyle.addons.util.Util
Find the left-most token in the given AST.
finishTree(DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
 
finishTree(BinaryName, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
Called after a tree is fully processed.
FromPath - com.thomasjensen.checkstyle.addons.checks.misc.MdlContentSpecType
one of the MDL paths listed in directories.json.
FullClass - com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceOption
the fully qualified name of the current type, as a String literal

G

getAcceptableTokens() - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
 
getAllow() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.MdlSpec
 
getApiFixer() - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
 
getClassDeclarationPosition(BinaryName) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
 
getComment() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig
 
getComment() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.MdlSpec
 
getCurrentBinaryName() - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
Gets the binary name of the class currently being traversed on the AST.
getCurrentFileName() - Method in class com.thomasjensen.checkstyle.addons.util.CheckstyleApiFixer
Wrapper for FileContents.getFileName() (Checkstyle issue #1205).
getCurrentMethodName() - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractMethodCallCheck
The current method name.
getCurrentSimpleName() - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
Gets the simple name of the current class, interface, annotation, or enum.
getDefaultTokens() - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
 
getDeny() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.MdlSpec
 
getExcludeRegex() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlConfig
 
getExcludeRegex() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.Settings
 
getFileExtensions() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.DecomposedPath
 
getFirstIdent(DetailAST) - Static method in class com.thomasjensen.checkstyle.addons.util.Util
Determine the text of the first direct IDENT child node.
getFormatVersion() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.Settings
 
getFullIdent(DetailAST) - Static method in class com.thomasjensen.checkstyle.addons.util.Util
Determine the full identifier of the current element on the AST.
getInnerSimpleName() - Method in class com.thomasjensen.checkstyle.addons.checks.BinaryName
Getter.
getJson() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlConfig
Getter.
getMdlPath() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.DecomposedPath
 
getModulePath() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.DecomposedPath
 
getModuleRegex() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlConfig
 
getModuleRegex() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.Settings
 
getModules() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.MdlSpec
 
getMyPackage() - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
 
getOuterFqcn() - Method in class com.thomasjensen.checkstyle.addons.checks.BinaryName
The fully qualified name of the outer class.
getOuterSimpleName() - Method in class com.thomasjensen.checkstyle.addons.checks.BinaryName
Getter.
getPackage() - Method in class com.thomasjensen.checkstyle.addons.checks.BinaryName
 
getRelevantTokens() - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
The tokens which this check is interested in.
getRelevantTokens() - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractMethodCallCheck
 
getRelevantTokens() - Method in class com.thomasjensen.checkstyle.addons.checks.coding.LostInstanceCheck
 
getRelevantTokens() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceCheck
 
getRelevantTokens() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
getRelevantTokens() - Method in class com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnStringCheck
 
getRequiredTokens() - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
 
getRuleId() - Method in class com.thomasjensen.checkstyle.addons.sonarqube.AbstractRuleBase
 
getRuleId() - Method in class com.thomasjensen.checkstyle.addons.sonarqube.IllegalMethodCallRule
 
getRuleId() - Method in class com.thomasjensen.checkstyle.addons.sonarqube.LocationReferenceRule
 
getRuleId() - Method in class com.thomasjensen.checkstyle.addons.sonarqube.LostInstanceRule
 
getRuleId() - Method in class com.thomasjensen.checkstyle.addons.sonarqube.ModuleDirectoryLayoutRule
 
getRuleId() - Method in class com.thomasjensen.checkstyle.addons.sonarqube.PropertyCatalogRule
 
getRuleId() - Method in class com.thomasjensen.checkstyle.addons.sonarqube.RegexpOnFilenameOrgRule
 
getRuleId() - Method in class com.thomasjensen.checkstyle.addons.sonarqube.RegexpOnStringRule
 
getRuleKey() - Method in class com.thomasjensen.checkstyle.addons.sonarqube.AbstractRuleBase
 
getSettings() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig
 
getSimpleFilename() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.DecomposedPath
 
getSpec() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.SpecElement
 
getSpecificFolders() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.DecomposedPath
 
getSpecificPath() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.DecomposedPath
 
getStructure() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig
 
getTokenName(int) - Method in class com.thomasjensen.checkstyle.addons.util.CheckstyleApiFixer
Returns the name of a token for a given ID.
getType() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.SpecElement
 

H

hashCode() - Method in class com.thomasjensen.checkstyle.addons.checks.BinaryName
 

I

ILLEGAL - com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnFilenameOrgOption
In ILLEGAL mode, the regular expression must not match the filename, and a violation is logged if the regexp matched anyway.
IllegalMethodCallCheck - Class in com.thomasjensen.checkstyle.addons.checks.coding
Flags calls to methods with certain names.
IllegalMethodCallCheck() - Constructor for class com.thomasjensen.checkstyle.addons.checks.coding.IllegalMethodCallCheck
 
IllegalMethodCallRule - Class in com.thomasjensen.checkstyle.addons.sonarqube
SonarQube rule for our IllegalMethodCall check.
IllegalMethodCallRule(RulesDefinition.NewRepository, String) - Constructor for class com.thomasjensen.checkstyle.addons.sonarqube.IllegalMethodCallRule
 
init() - Method in class com.thomasjensen.checkstyle.addons.checks.coding.LostInstanceCheck
 
isAllowNestedSrcFolder() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.Settings
 
isCheckActive() - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractMethodCallCheck
Determines if the check is configured to do anything at all.
isCheckActive() - Method in class com.thomasjensen.checkstyle.addons.checks.coding.IllegalMethodCallCheck
 
isCheckActive() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceCheck
 
isRelevantCall(String, String) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractMethodCallCheck
Filter method which determines if the given method call is considered relevant.
isRelevantCall(String, String) - Method in class com.thomasjensen.checkstyle.addons.checks.coding.IllegalMethodCallCheck
 
isRelevantCall(String, String) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceCheck
 
isRootToken(int) - Method in class com.thomasjensen.checkstyle.addons.util.CheckstyleApiFixer
Determine if the given token is the root token of Checkstyle's AST.
isWhitelist() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.MdlSpec
 

L

leaveKnownType(BinaryName, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
Called after leaving a CLASS_DEF, INTERFACE_DEF, ANNOTATION_DEF, or ENUM_DEF token and the type's binary class name is known.
leaveKnownType(BinaryName, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
leaveToken(DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
 
leaveToken(BinaryName, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
Called after all the child nodes have been processed.
leaveToken(BinaryName, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractMethodCallCheck
 
LocationReferenceCheck - Class in com.thomasjensen.checkstyle.addons.checks.misc
This check compares specified method arguments to the names of the current method or class.
LocationReferenceCheck() - Constructor for class com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceCheck
 
LocationReferenceOption - Enum in com.thomasjensen.checkstyle.addons.checks.misc
Represents the possible locations that an instance of the LocationReferenceCheck may refer to.
LocationReferenceRule - Class in com.thomasjensen.checkstyle.addons.sonarqube
SonarQube rule for our LocationReference check.
LocationReferenceRule(RulesDefinition.NewRepository, String) - Constructor for class com.thomasjensen.checkstyle.addons.sonarqube.LocationReferenceRule
 
LostInstanceCheck - Class in com.thomasjensen.checkstyle.addons.checks.coding
Checks that object instances created explicitly with new are actually used for something.
LostInstanceCheck() - Constructor for class com.thomasjensen.checkstyle.addons.checks.coding.LostInstanceCheck
 
LostInstanceRule - Class in com.thomasjensen.checkstyle.addons.sonarqube
SonarQube rule for our LostInstance check.
LostInstanceRule(RulesDefinition.NewRepository, String) - Constructor for class com.thomasjensen.checkstyle.addons.sonarqube.LostInstanceRule
 

M

main(String[]) - Static method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfigValidator
Main.
MdlConfig - Class in com.thomasjensen.checkstyle.addons.checks.misc
Encapsulates the data gained from reading the JSON configuration file.
MdlConfig(MdlJsonConfig, Pattern, Pattern) - Constructor for class com.thomasjensen.checkstyle.addons.checks.misc.MdlConfig
 
MdlContentSpecType - Enum in com.thomasjensen.checkstyle.addons.checks.misc
The type values which are possible in the allow and deny lists of the directories.json configuration file used by the ModuleDirectoryLayoutCheck.
MdlJsonConfig - Class in com.thomasjensen.checkstyle.addons.checks.misc
Deserialized version of the directories.json.
MdlJsonConfig() - Constructor for class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig
 
MdlJsonConfig.MdlSpec - Class in com.thomasjensen.checkstyle.addons.checks.misc
An MDL Spec specifies the characteristics of one directory in the module directory layout, for example src/main/java.
MdlJsonConfig.Settings - Class in com.thomasjensen.checkstyle.addons.checks.misc
Encapsulates the general settings which are supported in a directories.json.
MdlJsonConfig.SpecElement - Class in com.thomasjensen.checkstyle.addons.checks.misc
The allow and deny lists in each MDL path specification are composed of elements of SpecElements.
MdlJsonConfigValidator - Class in com.thomasjensen.checkstyle.addons.checks.misc
Small utility which allows people to validate the syntactical correctness of their ModuleDirectoryLayout JSON config.
MdlSpec() - Constructor for class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.MdlSpec
 
Method - com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceOption
the name of the current method, as a String literal
ModuleDirectoryLayoutCheck - Class in com.thomasjensen.checkstyle.addons.checks.misc
This check helps ensure that the source folder structure in a module follows a configurable convention.
ModuleDirectoryLayoutCheck() - Constructor for class com.thomasjensen.checkstyle.addons.checks.misc.ModuleDirectoryLayoutCheck
Constructor.
ModuleDirectoryLayoutRule - Class in com.thomasjensen.checkstyle.addons.sonarqube
SonarQube rule for our ModuleDirectoryLayout check.
ModuleDirectoryLayoutRule(RulesDefinition.NewRepository, String) - Constructor for class com.thomasjensen.checkstyle.addons.sonarqube.ModuleDirectoryLayoutRule
 

N

NEVER_MATCH - Static variable in class com.thomasjensen.checkstyle.addons.util.Util
A pattern that never matches (and does so efficiently)

P

processFiltered(File, FileText) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.ModuleDirectoryLayoutCheck
 
processFiltered(File, FileText) - Method in class com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnFilenameOrgCheck
 
processFiltered(File, List<String>) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.ModuleDirectoryLayoutCheck
 
processFiltered(File, List<String>) - Method in class com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnFilenameOrgCheck
 
PropertyCatalogCheck - Class in com.thomasjensen.checkstyle.addons.checks.misc
This check helps keeping a property file in sync with a piece of code that contains the property keys.
PropertyCatalogCheck() - Constructor for class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
Constructor.
PropertyCatalogRule - Class in com.thomasjensen.checkstyle.addons.sonarqube
SonarQube rule for our PropertyCatalog check.
PropertyCatalogRule(RulesDefinition.NewRepository, String) - Constructor for class com.thomasjensen.checkstyle.addons.sonarqube.PropertyCatalogRule
 

R

readBytes(InputStream) - Static method in class com.thomasjensen.checkstyle.addons.util.Util
Read all bytes from an InputStream into a byte array.
RegexpOnFilenameOrgCheck - Class in com.thomasjensen.checkstyle.addons.checks.regexp
This check applies a given regular expression to the names of files.
RegexpOnFilenameOrgCheck() - Constructor for class com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnFilenameOrgCheck
 
RegexpOnFilenameOrgOption - Enum in com.thomasjensen.checkstyle.addons.checks.regexp
Represents the possible modes of operation for the RegexpOnFilenameOrgCheck.
RegexpOnFilenameOrgRule - Class in com.thomasjensen.checkstyle.addons.sonarqube
SonarQube rule for our RegexpOnFilenameOrg check.
RegexpOnFilenameOrgRule(RulesDefinition.NewRepository, String) - Constructor for class com.thomasjensen.checkstyle.addons.sonarqube.RegexpOnFilenameOrgRule
 
RegexpOnStringCheck - Class in com.thomasjensen.checkstyle.addons.checks.regexp
This check applies a regular expression to String literals found in the source.
RegexpOnStringCheck() - Constructor for class com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnStringCheck
 
RegexpOnStringRule - Class in com.thomasjensen.checkstyle.addons.sonarqube
SonarQube rule for our RegexpOnString check.
RegexpOnStringRule(RulesDefinition.NewRepository, String) - Constructor for class com.thomasjensen.checkstyle.addons.sonarqube.RegexpOnStringRule
 
REQUIRED - com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnFilenameOrgOption
In REQUIRED mode, the regular expression must match the filename, and a violation is logged if the regexp does not match.
RulesExtension - Class in com.thomasjensen.checkstyle.addons.sonarqube
"Meta-rule" which defines all the concrete rules.
RulesExtension() - Constructor for class com.thomasjensen.checkstyle.addons.sonarqube.RulesExtension
 

S

SelfValidating - Interface in com.thomasjensen.checkstyle.addons.checks.misc
Defines a method that can be called for self-validation of an object.
setArgumentPosition(int) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceCheck
 
setBaseDir(String) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.ModuleDirectoryLayoutCheck
 
setBaseDir(String) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
setCaseSensitive(boolean) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
setConfigFile(String) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.ModuleDirectoryLayoutCheck
Setter.
setEnumArgument(boolean) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
setExcludedFields(String) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
setExcludedQualifiers(String...) - Method in class com.thomasjensen.checkstyle.addons.checks.coding.IllegalMethodCallCheck
Setter.
setFailQuietly(boolean) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.ModuleDirectoryLayoutCheck
 
setFileExludes(String) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
setIllegalMethodNames(String...) - Method in class com.thomasjensen.checkstyle.addons.checks.coding.IllegalMethodCallCheck
Setter.
setLocation(String) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceCheck
 
setMethodCalls(String...) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceCheck
Setter.
setMode(String) - Method in class com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnFilenameOrgCheck
 
setPropertyFile(String) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
setPropertyFileEncoding(String) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
setRegexp(String) - Method in class com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnFilenameOrgCheck
Setter.
setRegexp(String) - Method in class com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnStringCheck
Setter.
setReportDuplicates(boolean) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
setReportOrphans(boolean) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
setSelection(String) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
setSelection(String) - Method in class com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnFilenameOrgCheck
Setter.
setSimple(boolean) - Method in class com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnFilenameOrgCheck
 
Settings() - Constructor for class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.Settings
 
setVariableNames(String...) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceCheck
Setter.
SimpleClass - com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceOption
the simple name of the current type, as a String literal
SimpleFolder - com.thomasjensen.checkstyle.addons.checks.misc.MdlContentSpecType
the simple name of a folder which, if present anywhere on the specific path, constitutes a match.
SimpleName - com.thomasjensen.checkstyle.addons.checks.misc.MdlContentSpecType
the simple name of a file, for example file.txt
SpecElement() - Constructor for class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.SpecElement
No-args constructor.
SpecificPathRegex - com.thomasjensen.checkstyle.addons.checks.misc.MdlContentSpecType
a regular expression which is applied to the specific path.
standardizeSlashes(String) - Static method in class com.thomasjensen.checkstyle.addons.util.Util
Standardizes all slashes and backslashes in the given String to File.separatorChar.
stringEquals(String, String, boolean) - Static method in class com.thomasjensen.checkstyle.addons.util.Util
Determine the equality of two Strings, optionally ignoring case.

T

TopLevelFolder - com.thomasjensen.checkstyle.addons.checks.misc.MdlContentSpecType
the simple name of a folder which, if present at the top of the specific path, constitutes a match.
toString() - Method in class com.thomasjensen.checkstyle.addons.checks.BinaryName
 
toString() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.SpecElement
 

U

union(Set<E>, Set<E>) - Static method in class com.thomasjensen.checkstyle.addons.util.Util
Creates a new immutable HashSet which contains a union of the two given sets.
Util - Class in com.thomasjensen.checkstyle.addons.util
Utility class.

V

validate() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.MdlSpec
 
validate() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.Settings
 
validate() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig.SpecElement
 
validate() - Method in class com.thomasjensen.checkstyle.addons.checks.misc.MdlJsonConfig
 
validate() - Method in interface com.thomasjensen.checkstyle.addons.checks.misc.SelfValidating
Perform self-validation.
valueOf(String) - Static method in enum com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.thomasjensen.checkstyle.addons.checks.misc.MdlContentSpecType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnFilenameOrgOption
Returns the enum constant of this type with the specified name.
valueOfIgnoreCase(String) - Static method in enum com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceOption
Variant of Enum.valueOf(java.lang.Class<T>, java.lang.String) that ignores value case.
valueOfIgnoreCase(String) - Static method in enum com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnFilenameOrgOption
Variant of Enum.valueOf(java.lang.Class<T>, java.lang.String) that ignores value case.
valueOfIgnoreCase(String, Class<E>) - Static method in class com.thomasjensen.checkstyle.addons.util.Util
Variant of Enum.valueOf(java.lang.Class<T>, java.lang.String) that ignores value case.
values() - Static method in enum com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.thomasjensen.checkstyle.addons.checks.misc.MdlContentSpecType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnFilenameOrgOption
Returns an array containing the constants of this enum type, in the order they are declared.
visitKnownType(BinaryName, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
Called after visiting a CLASS_DEF, INTERFACE_DEF, ANNOTATION_DEF, or ENUM_DEF token and successfully determining the type's binary class name.
visitKnownType(BinaryName, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
visitMethodCall(String, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractMethodCallCheck
Visitor method called when a relevant method call is encountered.
visitMethodCall(String, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.coding.IllegalMethodCallCheck
 
visitMethodCall(String, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceCheck
 
visitToken(DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
 
visitToken(BinaryName, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractAddonsCheck
Called to process a token.
visitToken(BinaryName, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.AbstractMethodCallCheck
 
visitToken(BinaryName, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.coding.LostInstanceCheck
 
visitToken(BinaryName, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.LocationReferenceCheck
 
visitToken(BinaryName, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.misc.PropertyCatalogCheck
 
visitToken(BinaryName, DetailAST) - Method in class com.thomasjensen.checkstyle.addons.checks.regexp.RegexpOnStringCheck
 
A B C D E F G H I L M N P R S T U V 
All Classes All Packages