Package com.puppycrawl.tools.checkstyle.checks
Contains the checks that are bundled with the main distribution.
-
Class Summary Class Description ArrayTypeStyleCheck Checks the style of array type definitions.AvoidEscapedUnicodeCharactersCheck Restrict using Unicode escapes (such as\u221e
).DescendantTokenCheck Checks for restricted tokens beneath other tokens.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.