Uses of Class
com.puppycrawl.tools.checkstyle.StatelessCheck
-
Packages that use StatelessCheck Package Description com.puppycrawl.tools.checkstyle.checks Contains the checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.annotation Contains the Annotation checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.blocks Contains the Block 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.header File Header checks.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.modifier Contains the modifier checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.naming Contains the Naming conventions 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 StatelessCheck in com.puppycrawl.tools.checkstyle.checks
Classes in com.puppycrawl.tools.checkstyle.checks with annotations of type StatelessCheck Modifier and Type Class Description class
ArrayTypeStyleCheck
Checks the style of array type definitions.class
FinalParametersCheck
Check that method/constructor/catch/foreach parameters are final.class
NewlineAtEndOfFileCheck
Checks that there is a newline at the end of each file.class
SuppressWarningsHolder
Maintains a set of check suppressions fromSuppressWarnings
annotations.class
TodoCommentCheck
A check for 'TODO:' comments.class
TrailingCommentCheck
The check to ensure that comments are the only thing on a line.class
UniquePropertiesCheck
Checks the uniqueness of property keys (left from equal sign) in the properties file.class
UpperEllCheck
Checks that long constants are defined with an upper ell. -
Uses of StatelessCheck in com.puppycrawl.tools.checkstyle.checks.annotation
Classes in com.puppycrawl.tools.checkstyle.checks.annotation with annotations of type StatelessCheck Modifier and Type Class Description class
AnnotationLocationCheck
Check location of annotation on language elements.class
AnnotationOnSameLineCheck
The check does verifying that annotations are located on the same line with their targets.class
AnnotationUseStyleCheck
This check controls the style with the usage of annotations.class
MissingDeprecatedCheck
This class is used to verify that both theDeprecated
annotation and the deprecated javadoc tag are present when either one is present.class
MissingOverrideCheck
This class is used to verify that theOverride
annotation is present when the inheritDoc javadoc tag is present.class
PackageAnnotationCheck
This check makes sure that all package annotations are in the package-info.java file.class
SuppressWarningsCheck
This check allows you to specify what warnings thatSuppressWarnings
is not allowed to suppress. -
Uses of StatelessCheck in com.puppycrawl.tools.checkstyle.checks.blocks
Classes in com.puppycrawl.tools.checkstyle.checks.blocks with annotations of type StatelessCheck Modifier and Type Class Description class
AvoidNestedBlocksCheck
Finds nested blocks.class
EmptyBlockCheck
Checks for empty blocks.class
EmptyCatchBlockCheck
Checks for empty catch blocks.class
LeftCurlyCheck
Checks the placement of left curly braces.class
NeedBracesCheck
Checks for braces around code blocks.class
RightCurlyCheck
Checks the placement of right curly braces. -
Uses of StatelessCheck in com.puppycrawl.tools.checkstyle.checks.coding
Classes in com.puppycrawl.tools.checkstyle.checks.coding with annotations of type StatelessCheck Modifier and Type Class Description class
ArrayTrailingCommaCheck
Checks if array initialization contains optional trailing comma.class
AvoidInlineConditionalsCheck
Detects inline conditionals.class
DefaultComesLastCheck
Check that thedefault
is after all thecase
s in aswitch
statement.class
EmptyStatementCheck
Detects empty statements (standalone ';').class
ExplicitInitializationCheck
Checks if any class or object member explicitly initialized to default for its type value (null
for object references, zero for numeric types andchar
andfalse
forboolean
.class
FallThroughCheck
Checks for fall through in switch statements Finds locations where a case contains Java code - but lacks a break, return, throw or continue statement.class
IllegalCatchCheck
Catching java.lang.Exception, java.lang.Error or java.lang.RuntimeException is almost never acceptable.class
IllegalThrowsCheck
Throwing java.lang.Error or java.lang.RuntimeException is almost never acceptable.class
IllegalTokenCheck
Checks for illegal tokens.class
IllegalTokenTextCheck
Checks for illegal token text.class
InnerAssignmentCheck
Checks for assignments in subexpressions, such as inString s = Integer.toString(i = 2);
.class
MagicNumberCheck
Checks that there are no "magic numbers" where a magic number is a numeric literal that is not defined as a constant.class
MissingCtorCheck
Checks that classes (except abstract one) define a ctor and don't rely on the default one.class
MissingSwitchDefaultCheck
Checks that switch statement has "default" clause.class
MultipleVariableDeclarationsCheck
Checks that each variable declaration is in its own statement and on its own line.class
NoCloneCheck
Checks that the clone method is not overridden from the Object class.class
NoFinalizerCheck
Checks that no method having zero parameters is defined using the name finalize.class
OverloadMethodsDeclarationOrderCheck
Checks that overload methods are grouped together.class
SimplifyBooleanExpressionCheck
Checks for overly complicated boolean expressions.class
SimplifyBooleanReturnCheck
Checks for overly complicated boolean return statements.class
StringLiteralEqualityCheck
Checks that string literals are not used with==
or!=
.class
SuperCloneCheck
Checks that an overriding clone() method invokes super.clone().class
SuperFinalizeCheck
Checks that an overriding finalize() method invokes super.finalize().class
VariableDeclarationUsageDistanceCheck
Checks the distance between declaration of variable and its first usage. -
Uses of StatelessCheck in com.puppycrawl.tools.checkstyle.checks.design
Classes in com.puppycrawl.tools.checkstyle.checks.design with annotations of type StatelessCheck Modifier and Type Class Description class
DesignForExtensionCheck
The check finds classes that are designed for extension (subclass creation).class
HideUtilityClassConstructorCheck
Make sure that utility classes (classes that contain only static methods) do not have a public constructor.class
InterfaceIsTypeCheck
Implements Bloch, Effective Java, Item 17 - Use Interfaces only to define types.class
ThrowsCountCheck
Restricts throws statements to a specified count (default = 4). -
Uses of StatelessCheck in com.puppycrawl.tools.checkstyle.checks.header
Classes in com.puppycrawl.tools.checkstyle.checks.header with annotations of type StatelessCheck Modifier and Type Class Description class
HeaderCheck
Checks the header of the source against a fixed header file.class
RegexpHeaderCheck
Checks the header of the source against a header file that contains aregular expression
for each line of the source header. -
Uses of StatelessCheck in com.puppycrawl.tools.checkstyle.checks.imports
Classes in com.puppycrawl.tools.checkstyle.checks.imports with annotations of type StatelessCheck Modifier and Type Class Description class
AvoidStarImportCheck
Check that finds import statements that use the * notation.class
AvoidStaticImportCheck
Check that finds static imports.class
IllegalImportCheck
Checks for imports from a set of illegal packages. -
Uses of StatelessCheck in com.puppycrawl.tools.checkstyle.checks.indentation
Classes in com.puppycrawl.tools.checkstyle.checks.indentation with annotations of type StatelessCheck Modifier and Type Class Description class
CommentsIndentationCheck
This Check controls the indentation between comments and surrounding code. -
Uses of StatelessCheck in com.puppycrawl.tools.checkstyle.checks.javadoc
Classes in com.puppycrawl.tools.checkstyle.checks.javadoc with annotations of type StatelessCheck Modifier and Type Class Description class
AtclauseOrderCheck
Checks the order of javadoc block-tags or javadoc tags.class
JavadocParagraphCheck
Checks that: There is one blank line between each of two paragraphs and one blank line before the at-clauses block if it is present. Each paragraph but the first has <p> immediately before the first word, with no space after.class
JavadocStyleCheck
Custom Checkstyle Check to validate Javadoc.class
JavadocTagContinuationIndentationCheck
Checks the indentation of the continuation lines in at-clauses.class
JavadocTypeCheck
Checks the Javadoc of a type.class
JavadocVariableCheck
Checks that a variable has Javadoc comment.class
NonEmptyAtclauseDescriptionCheck
Checks that the at-clause tag is followed by description .class
SingleLineJavadocCheck
Checks that a JavaDoc block can fit on a single line and doesn't contain at-clauses.class
SummaryJavadocCheck
Checks that Javadoc summary sentence does not contain phrases that are not recommended to use.class
WriteTagCheck
Outputs a JavaDoc tag as information. -
Uses of StatelessCheck in com.puppycrawl.tools.checkstyle.checks.modifier
Classes in com.puppycrawl.tools.checkstyle.checks.modifier with annotations of type StatelessCheck Modifier and Type Class Description class
InterfaceMemberImpliedModifierCheck
Checks for implicit modifiers on interface members and nested types.class
ModifierOrderCheck
Checks that the order of modifiers conforms to the suggestions in the Java Language specification, sections 8.1.1, 8.3.1 and 8.4.3.class
RedundantModifierCheck
Checks for redundant modifiers in interface and annotation definitions, final modifier on methods of final classes, innerinterface
declarations that are declared asstatic
, non public class constructors and enum constructors, nested enum definitions that are declared asstatic
. -
Uses of StatelessCheck in com.puppycrawl.tools.checkstyle.checks.naming
Classes in com.puppycrawl.tools.checkstyle.checks.naming with annotations of type StatelessCheck Modifier and Type Class Description class
AbbreviationAsWordInNameCheck
The Check validate abbreviations(consecutive capital letters) length in identifier name, it also allows to enforce camel case naming.class
AbstractClassNameCheck
Ensures that the names of abstract classes conforming to some regular expression and check thatabstract
modifier exists.class
AbstractNameCheck
Abstract class for checking that names conform to a specified format.class
PackageNameCheck
Checks that package names conform to a format specified by the format property. -
Uses of StatelessCheck in com.puppycrawl.tools.checkstyle.checks.regexp
Classes in com.puppycrawl.tools.checkstyle.checks.regexp with annotations of type StatelessCheck Modifier and Type Class Description class
RegexpMultilineCheck
Implementation of a check that looks that matches across multiple lines in any file type.class
RegexpOnFilenameCheck
Implementation of a check that looks for a file name and/or path match (or mis-match) against specified patterns.class
RegexpSinglelineCheck
Implementation of a check that looks for a single line in any file type.class
RegexpSinglelineJavaCheck
Implementation of a check that looks for a single line in Java files. -
Uses of StatelessCheck in com.puppycrawl.tools.checkstyle.checks.sizes
Classes in com.puppycrawl.tools.checkstyle.checks.sizes with annotations of type StatelessCheck Modifier and Type Class Description class
AnonInnerLengthCheck
Checks for long anonymous inner classes.class
FileLengthCheck
Checks for long source files.class
LineLengthCheck
Checks for long lines.class
MethodLengthCheck
Checks for long methods.class
ParameterNumberCheck
Checks the number of parameters that a method or constructor has. -
Uses of StatelessCheck in com.puppycrawl.tools.checkstyle.checks.whitespace
Classes in com.puppycrawl.tools.checkstyle.checks.whitespace with annotations of type StatelessCheck Modifier and Type Class Description class
AbstractParenPadCheck
Abstract class for checking the padding of parentheses.class
EmptyForInitializerPadCheck
Checks the padding of an empty for initializer; that is whether a space is required at an empty for initializer, or such spaces are forbidden.class
EmptyForIteratorPadCheck
Checks the padding of an empty for iterator; that is whether a space is required at an empty for iterator, or such spaces are forbidden.class
EmptyLineSeparatorCheck
Checks for empty line separators after header, package, all import declarations, fields, constructors, methods, nested classes, static initializers and instance initializers.class
FileTabCharacterCheck
Checks to see if a file contains a tab character.class
MethodParamPadCheck
Checks the padding between the identifier of a method definition, constructor definition, method call, or constructor invocation; and the left parenthesis of the parameter list.class
NoLineWrapCheck
Checks that chosen statements are not line-wrapped.class
NoWhitespaceAfterCheck
Checks that there is no whitespace after a token.class
NoWhitespaceBeforeCheck
Checks that there is no whitespace before a token.class
OperatorWrapCheck
Checks line wrapping for operators.class
SeparatorWrapCheck
Checks line wrapping with separators.class
SingleSpaceSeparatorCheck
Checks that non-whitespace characters are separated by no more than one whitespace.class
WhitespaceAfterCheck
Checks that a token is followed by whitespace, with the exception that it does not check for whitespace after the semicolon of an empty for iterator.class
WhitespaceAroundCheck
Checks that a token is surrounded by whitespace.
-