Package com.puppycrawl.tools.checkstyle.checks
package com.puppycrawl.tools.checkstyle.checks
Contains the checks that are bundled with the main distribution.
-
ClassDescriptionChecks the style of array type definitions.Restricts using Unicode escapes (such as \u221e).Checks for restricted tokens beneath other tokens.Checks that parameters for methods, constructors, catch and for-each blocks are final.Checks that hexadecimal literals are defined using uppercase letters
(A-F)rather than lowercase(a-f).Represents the options for line separator settings.Checks whether files end with a line separator.Checks whether file contains code.Checks that all numerical literal prefixes, infixes, and suffixes are written using lowercase letters (for example prefixes :0x, 0b, infixes :e, p, suffixes :f, d).Detects if keys in properties files are in correct order.Private property implementation that keeps order of properties like in file.Checks that the outer type name and the file name match.Maintains a set of check suppressions from@SuppressWarningsannotations.Records a particular suppression for a region of a file.Checks forTODO:comments.The check to ensure that lines with code do not end with comment.Ensures the correct translation of code by checking property files for consistency regarding their keys.Class which represents a resource bundle.Detects uncommentedmainmethods.Detects duplicated keys in properties files.Properties subclass to store duplicated property keys in a separate map.Checks that long constants are defined with an upper ell.