Package com.puppycrawl.tools.checkstyle.checks
Contains the checks that are bundled with the main distribution.
-
Class Summary Class Description AbstractDeclarationCollector Deprecated. Checkstyle will not support abstract checks anymore.AbstractFormatCheck Deprecated. Checkstyle will not support abstract checks anymore.AbstractOptionCheck<T extends Enum<T>> Deprecated. Checkstyle will not support abstract checks anymore.AbstractTypeAwareCheck Deprecated. Checkstyle is not type aware tool and all Checks derived from this class are potentially unstable.AbstractTypeAwareCheck.AbstractClassInfo Contains class'sToken
.AbstractTypeAwareCheck.Token Represents text element with location in the text.ArrayTypeStyleCheck Checks the style of array type definitions.AvoidEscapedUnicodeCharactersCheck Restrict using Unicode escapes (such as\u221e
).ClassResolver Utility class to resolve a class name to an actual class.DescendantTokenCheck Checks for restricted tokens beneath other tokens.FileContentsHolder Holds the current file contents for global access when configured as a TreeWalker sub-module.FinalParametersCheck Check that method/constructor/catch/foreach parameters are final.NewlineAtEndOfFileCheck Checks that there is a newline at the end of each file.OuterTypeFilenameCheck Checks that the outer type name and the file name match.SuppressWarningsHolder Maintains a set of check suppressions fromSuppressWarnings
annotations.TodoCommentCheck A check for 'TODO:' comments.TrailingCommentCheck The check to ensure that comments are the only thing on a line.TranslationCheck The TranslationCheck class helps to ensure the correct translation of code by checking locale-specific resource files for consistency regarding their keys.UncommentedMainCheck Detects uncommented main methods.UniquePropertiesCheck Checks the uniqueness of property keys (left from equal sign) in the properties file.UpperEllCheck Checks that long constants are defined with an upper ell. -
Enum Summary Enum Description LineSeparatorOption Represents the options for line separator settings.