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 Restricts using Unicode escapes (such as \u221e).DescendantTokenCheck Checks for restricted tokens beneath other tokens.FinalParametersCheck Checks that parameters for methods, constructors, catch and for-each blocks are final.NewlineAtEndOfFileCheck Checks whether files end with a line separator.NoCodeInFileCheck Checks whether file contains code.OrderedPropertiesCheck Detects if keys in properties files are in correct order.OuterTypeFilenameCheck Checks that the outer type name and the file name match.SuppressWarningsHolder Maintains a set of check suppressions from@SuppressWarnings
annotations.TodoCommentCheck Checks forTODO:
comments.TrailingCommentCheck The check to ensure that requires that comments be the only thing on a line.TranslationCheck Ensures the correct translation of code by checking property files for consistency regarding their keys.UncommentedMainCheck Detects uncommentedmain
methods.UniquePropertiesCheck Detects duplicated keys in properties files.UpperEllCheck Checks that long constants are defined with an upper ell. -
Enum Summary Enum Description LineSeparatorOption Represents the options for line separator settings.