|
ArrayTypeStyle
|
Checks the style of array type definitions.
|
|
AvoidEscapedUnicodeCharacters
|
Restricts using
Unicode escapes (such as \u221e).
|
|
CommentsIndentation
|
Controls the indentation between comments and surrounding code.
|
|
DescendantToken
|
Checks for restricted tokens beneath other tokens.
|
|
FinalParameters
|
Checks that parameters for methods, constructors, catch and for-each blocks are final.
|
|
HexLiteralCase
|
Checks that hexadecimal literals are defined using uppercase letters
(A-F) rather than lowercase (a-f).
|
|
Indentation
|
Checks correct indentation of Java code.
|
|
LineEnding
|
Checks whether file uses a specific line-ending sequence (LF,
CRLF, or CR).
|
|
NewlineAtEndOfFile
|
Checks whether files end with a line separator.
|
|
NoCodeInFile
|
Checks whether file contains code.
|
|
NumericalPrefixesInfixesSuffixesCharacterCase
|
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).
|
|
OrderedProperties
|
Detects if keys in properties files are in correct order.
|
|
OuterTypeFilename
|
Checks that the outer type name and the file name match.
|
|
TodoComment
|
Checks for TODO: comments.
|
|
TrailingComment
|
The check to ensure that lines with code do not end with comment.
|
|
Translation
|
Ensures the correct translation of code by checking property files for consistency
regarding their keys.
|
|
UncommentedMain
|
Detects uncommented main methods.
|
|
UniqueProperties
|
Detects duplicated keys in properties files.
|
|
UpperEll
|
Checks that long constants are defined with an upper ell.
|