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
Checks that parameters for methods, constructors, catch and for-each blocks are final.class
NewlineAtEndOfFileCheck
Checks whether files end with a line separator.class
NoCodeInFileCheck
Checks whether file contains code.class
OrderedPropertiesCheck
Detects if keys in properties files are in correct order.class
SuppressWarningsHolder
Maintains a set of check suppressions from@SuppressWarnings
annotations.class
TodoCommentCheck
Checks forTODO:
comments.class
TrailingCommentCheck
The check to ensure that requires that comments be the only thing on a line.class
UniquePropertiesCheck
Detects duplicated keys in properties files.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
Checks location of annotation on language elements.class
AnnotationOnSameLineCheck
Checks that annotations are located on the same line with their targets.class
AnnotationUseStyleCheck
Checks the style of elements in annotations.class
MissingDeprecatedCheck
Verifies that the annotation@Deprecated
and the Javadoc tag@deprecated
are both present when either of them is present.class
MissingOverrideCheck
Verifies that the@Override
annotation is present when the@inheritDoc
javadoc tag is present.class
PackageAnnotationCheck
Checks that all package annotations are in the package-info.java file.class
SuppressWarningsCheck
Allows to specify what warnings that@SuppressWarnings
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 (blocks that are used freely in the code).class
EmptyBlockCheck
Checks for empty blocks.class
EmptyCatchBlockCheck
Checks for empty catch blocks.class
LeftCurlyCheck
Checks for the placement of left curly braces ('{'
) for code blocks.class
NeedBracesCheck
Checks for braces around code blocks.class
RightCurlyCheck
Checks the placement of right curly braces ('
'}) for code blocks. -
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 that array initialization contains a trailing comma.class
AvoidDoubleBraceInitializationCheck
Detects double brace initialization.class
AvoidInlineConditionalsCheck
Detects inline conditionals.class
AvoidNoArgumentSuperConstructorCallCheck
Checks if call to superclass constructor without arguments is present.class
DefaultComesLastCheck
Check that thedefault
is after all the cases in aswitch
statement.class
EmptyStatementCheck
Detects empty statements (standalone";"
semicolon).class
ExplicitInitializationCheck
Checks if any class or object member is 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 inswitch
statements.class
IllegalCatchCheck
Checks that certain exception types do not appear in acatch
statement.class
IllegalThrowsCheck
Checks that specified types are not declared to be thrown.class
IllegalTokenCheck
Checks for illegal tokens.class
IllegalTokenTextCheck
Checks specified tokens text for matching an illegal pattern.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 ones) define a constructor and don't rely on the default one.class
MissingSwitchDefaultCheck
Checks that switch statement has adefault
clause.class
MultipleVariableDeclarationsCheck
Checks that each variable declaration is in its own statement and on its own line.class
NoArrayTrailingCommaCheck
Checks that array initialization do not contain a trailing comma.class
NoCloneCheck
Checks that the clone method is not overridden from the Object class.class
NoEnumTrailingCommaCheck
Checks that enum definition does not contain a trailing comma.class
NoFinalizerCheck
Checks that there is no methodfinalize
with zero parameters.class
OverloadMethodsDeclarationOrderCheck
Checks that overloaded methods are grouped together.class
SimplifyBooleanExpressionCheck
Checks for over-complicated boolean expressions.class
SimplifyBooleanReturnCheck
Checks for over-complicated boolean return statements.class
StringLiteralEqualityCheck
Checks that string literals are not used with==
or!=
.class
SuperCloneCheck
Checks that an overridingclone()
method invokessuper.clone()
.class
SuperFinalizeCheck
Checks that an overridingfinalize()
method invokessuper.finalize()
.class
UnnecessarySemicolonAfterOuterTypeDeclarationCheck
Checks if unnecessary semicolon is used after type declaration.class
UnnecessarySemicolonAfterTypeMemberDeclarationCheck
Checks if unnecessary semicolon is used after type member declaration.class
UnnecessarySemicolonInEnumerationCheck
Checks if unnecessary semicolon is in enum definitions.class
UnnecessarySemicolonInTryWithResourcesCheck
Checks if unnecessary semicolon is used in last resource declaration.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
Checks that classes are designed for extension (subclass creation).class
HideUtilityClassConstructorCheck
Makes sure that utility classes (classes that contain only static methods or fields in their API) do not have a public constructor.class
InterfaceIsTypeCheck
Implements Joshua Bloch, Effective Java, Item 17 - Use Interfaces only to define types.class
OneTopLevelClassCheck
Checks that each top-level class, interface, enum or annotation resides in a source file of its own.class
ThrowsCountCheck
Restricts throws statements to a specified count. -
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 that a source file begins with a specified header.class
RegexpHeaderCheck
Checks the header of a source file against a header that contains a regular 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
Checks that there are no import statements that use the*
notation.class
AvoidStaticImportCheck
Checks that there are no static import statements.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
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
InvalidJavadocPositionCheck
Checks that Javadocs are located at the correct position.class
JavadocBlockTagLocationCheck
Checks that a javadoc block tag appears only at the beginning of a line, ignoring leading asterisks and white space.class
JavadocContentLocationCheck
Checks that the Javadoc content begins from the same position for all Javadoc comments in the project.class
JavadocMissingWhitespaceAfterAsteriskCheck
Checks that there is at least one whitespace after the leading asterisk.class
JavadocParagraphCheck
Checks the Javadoc paragraph.class
JavadocStyleCheck
Validates Javadoc comments to help ensure they are well formed.class
JavadocTagContinuationIndentationCheck
Checks the indentation of the continuation lines in at-clauses.class
JavadocTypeCheck
Checks the Javadoc comments for annotation/enum/class/interface definitions.class
JavadocVariableCheck
Checks that a variable has a Javadoc comment.class
MissingJavadocPackageCheck
Checks for missing Javadoc comments in package-info.java files.class
MissingJavadocTypeCheck
Checks for missing Javadoc comments for class, enum, interface, and annotation interface definitions.class
NonEmptyAtclauseDescriptionCheck
Checks that the at-clause tag is followed by description.class
RequireEmptyLineBeforeBlockTagGroupCheck
Checks that one blank line before the block tag if it is present in Javadoc.class
SingleLineJavadocCheck
Checks that a Javadoc block can fit in 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
Requires user defined Javadoc tag to be present in Javadoc comment with defined format. -
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
ClassMemberImpliedModifierCheck
Checks for implicit modifiers on nested types in classes and records.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, § 8.1.1, 8.3.1, 8.4.3 and 9.4.class
RedundantModifierCheck
Checks for redundant modifiers. -
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
Validates 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
IllegalIdentifierNameCheck
Checks identifiers with a regular expression for a set of illegal names, such as those that are restricted or contextual keywords.class
PackageNameCheck
Checks that package names conform to a specified pattern. -
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
Checks that a specified pattern matches across multiple lines in any file type.class
RegexpOnFilenameCheck
Checks that a specified pattern matches based on file and/or folder path.class
RegexpSinglelineCheck
Checks that a specified pattern matches a single line in any file type.class
RegexpSinglelineJavaCheck
Checks that a specified pattern matches 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 and constructors.class
ParameterNumberCheck
Checks the number of parameters of a method or constructor.class
RecordComponentNumberCheck
Checks the number of record components in the header of a record definition. -
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 white space is required at an empty for initializer, or such white space is forbidden.class
EmptyForIteratorPadCheck
Checks the padding of an empty for iterator; that is whether a white space is required at an empty for iterator, or such white space is 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 that there are no tab characters ('\t'
) in the source code.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 the policy on how to wrap lines on 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.
-