Uses of Class
com.puppycrawl.tools.checkstyle.FileStatefulCheck
-
Packages that use FileStatefulCheck Package Description com.puppycrawl.tools.checkstyle Contains the implementation of the Checkstyle framework.com.puppycrawl.tools.checkstyle.checks Contains the checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.coding Contains the Coding checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.design Contains the Class Design checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.imports Contains the Imports checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.indentation Contains all classes required for the indentation check.com.puppycrawl.tools.checkstyle.checks.javadoc Contains the Javadoc checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.metrics Contains the Metrics checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.regexp Contains the regular expression checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.sizes Contains the Size Violations checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.whitespace Contains the Whitespace checks that are bundled with the main distribution. -
-
Uses of FileStatefulCheck in com.puppycrawl.tools.checkstyle
Classes in com.puppycrawl.tools.checkstyle with annotations of type FileStatefulCheck Modifier and Type Class Description class
TreeWalker
Responsible for walking an abstract syntax tree and notifying interested checks at each each node. -
Uses of FileStatefulCheck in com.puppycrawl.tools.checkstyle.checks
Classes in com.puppycrawl.tools.checkstyle.checks with annotations of type FileStatefulCheck Modifier and Type Class Description class
AvoidEscapedUnicodeCharactersCheck
Restrict using Unicode escapes (such as\u221e
).class
DescendantTokenCheck
Checks for restricted tokens beneath other tokens.class
OuterTypeFilenameCheck
Checks that the outer type name and the file name match.class
UncommentedMainCheck
Detects uncommented main methods. -
Uses of FileStatefulCheck in com.puppycrawl.tools.checkstyle.checks.coding
Classes in com.puppycrawl.tools.checkstyle.checks.coding with annotations of type FileStatefulCheck Modifier and Type Class Description class
AbstractSuperCheck
Abstract class for checking that an overriding method with no parameters invokes the super method.class
CovariantEqualsCheck
Checks that if a class defines a covariant method equals, then it defines method equals(java.lang.Object).class
DeclarationOrderCheck
Checks that the parts of a class or interface declaration appear in the order suggested by the Code Conventions for the Java Programming Language.class
EqualsAvoidNullCheck
Checks that any combination of String literals is on the left side of an equals() comparison.class
EqualsHashCodeCheck
Checks that classes that either overrideequals()
orhashCode()
also overrides the other.class
FinalLocalVariableCheck
Ensures that local variables that never get their values changed, must be declared final.class
HiddenFieldCheck
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.class
IllegalInstantiationCheck
Checks for illegal instantiations where a factory method is preferred.class
IllegalTypeCheck
Checks that particular classes or interfaces are never used.class
ModifiedControlVariableCheck
Check for ensuring that for loop control variables are not modified inside the for block.class
MultipleStringLiteralsCheck
Checks for multiple occurrences of the same string literal within a single file.class
NestedForDepthCheck
Check the number of nestedfor
-statements.class
NestedIfDepthCheck
Restricts nested if-else blocks to a specified depth (default = 1).class
NestedTryDepthCheck
Restricts nested try-catch-finally blocks to a specified depth (default = 1).class
OneStatementPerLineCheck
Restricts the number of statements per line to one.class
PackageDeclarationCheck
Ensures there is a package declaration.class
ParameterAssignmentCheck
Disallow assignment of parameters.class
RequireThisCheck
Checks that code doesn't rely on the "this" default.class
ReturnCountCheck
Restricts the number of return statements in methods, constructors and lambda expressions (2 by default).class
UnnecessaryParenthesesCheck
Checks if unnecessary parentheses are used in a statement or expression. -
Uses of FileStatefulCheck in com.puppycrawl.tools.checkstyle.checks.design
Classes in com.puppycrawl.tools.checkstyle.checks.design with annotations of type FileStatefulCheck Modifier and Type Class Description class
FinalClassCheck
Checks that class which has only private ctors is declared as final.class
InnerTypeLastCheck
Check nested (internal) classes/interfaces are declared at the bottom of the class after all method and field declarations.class
MutableExceptionCheck
Ensures that exceptions (classes with names conforming to some regular expression and explicitly extending classes with names conforming to other regular expression) are immutable.class
OneTopLevelClassCheck
Checks that each top-level class, interface or enum resides in a source file of its own.class
VisibilityModifierCheck
Checks visibility of class members. -
Uses of FileStatefulCheck in com.puppycrawl.tools.checkstyle.checks.imports
Classes in com.puppycrawl.tools.checkstyle.checks.imports with annotations of type FileStatefulCheck Modifier and Type Class Description class
CustomImportOrderCheck
Checks that the groups of import declarations appear in the order specified by the user.class
ImportControlCheck
Check that controls what can be imported in each package and file.class
ImportOrderCheck
Checks the ordering/grouping of imports.class
RedundantImportCheck
Checks for imports that are redundant.class
UnusedImportsCheck
Checks for unused import statements. -
Uses of FileStatefulCheck in com.puppycrawl.tools.checkstyle.checks.indentation
Classes in com.puppycrawl.tools.checkstyle.checks.indentation with annotations of type FileStatefulCheck Modifier and Type Class Description class
IndentationCheck
Checks correct indentation of Java Code. -
Uses of FileStatefulCheck in com.puppycrawl.tools.checkstyle.checks.javadoc
Classes in com.puppycrawl.tools.checkstyle.checks.javadoc with annotations of type FileStatefulCheck Modifier and Type Class Description class
AbstractTypeAwareCheck
Deprecated.Checkstyle is not type aware tool and all Checks derived from this class are potentially unstable. -
Uses of FileStatefulCheck in com.puppycrawl.tools.checkstyle.checks.metrics
Classes in com.puppycrawl.tools.checkstyle.checks.metrics with annotations of type FileStatefulCheck Modifier and Type Class Description class
AbstractClassCouplingCheck
Base class for coupling calculation.class
BooleanExpressionComplexityCheck
Restricts nested boolean operators (&&, ||, &, | and ^) to a specified depth (default = 3).class
CyclomaticComplexityCheck
Checks cyclomatic complexity against a specified limit.class
JavaNCSSCheck
This check calculates the Non Commenting Source Statements (NCSS) metric for java source files and methods.class
NPathComplexityCheck
Checks the npath complexity against a specified limit (default = 200). -
Uses of FileStatefulCheck in com.puppycrawl.tools.checkstyle.checks.regexp
Classes in com.puppycrawl.tools.checkstyle.checks.regexp with annotations of type FileStatefulCheck Modifier and Type Class Description class
RegexpCheck
A check that makes sure that a specified pattern exists (or not) in the file. -
Uses of FileStatefulCheck in com.puppycrawl.tools.checkstyle.checks.sizes
Classes in com.puppycrawl.tools.checkstyle.checks.sizes with annotations of type FileStatefulCheck Modifier and Type Class Description class
ExecutableStatementCountCheck
Restricts the number of executable statements to a specified limit (default = 30).class
MethodCountCheck
Checks the number of methods declared in each type declaration by access modifier or total count.class
OuterTypeNumberCheck
Checks for the number of defined types at the "outer" level. -
Uses of FileStatefulCheck in com.puppycrawl.tools.checkstyle.checks.whitespace
Classes in com.puppycrawl.tools.checkstyle.checks.whitespace with annotations of type FileStatefulCheck Modifier and Type Class Description class
GenericWhitespaceCheck
Checks that the whitespace around the Generic tokens (angle brackets) "<" and ">" are correct to the typical convention.
-