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.AbstractDeclarationCollector.BlockFrame A frame initiated on entering a statement list; holds local variable names.AbstractDeclarationCollector.ClassFrame A frame initiated at class definition; holds instance variable names.AbstractDeclarationCollector.GlobalFrame The global frame; should hold only class names.AbstractDeclarationCollector.LexicalFrame A declaration frame.AbstractDeclarationCollector.MethodFrame A frame initiated at method definition; holds parameter names.AbstractFormatCheck Deprecated. Checkstyle will not support abstract checks anymore.AbstractOptionCheck<T extends java.lang.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.ClassAlias Represents type param which is "alias" for real type.AbstractTypeAwareCheck.RegularClass Represents regular classes/enums.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.SuppressWarningsHolder.Entry Records a particular suppression for a region of a file.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.TranslationCheck.ResourceBundle Class which represents a resource bundle.UncommentedMainCheck Detects uncommented main methods.UniquePropertiesCheck Checks the uniqueness of property keys (left from equal sign) in the properties file.UniquePropertiesCheck.UniqueProperties Properties subclass to store duplicated property keys in a separate map.UpperEllCheck Checks that long constants are defined with an upper ell. -
Enum Summary Enum Description LineSeparatorOption Represents the options for line separator settings.