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 classArrayTypeStyleCheckChecks the style of array type definitions.classFinalParametersCheckCheck that parameters for methods, constructors, catch and for-each blocks are final.classNewlineAtEndOfFileCheckChecks whether files end with a line separator.classOrderedPropertiesCheckDetects if keys in properties files are in correct order.classSuppressWarningsHolderMaintains a set of check suppressions from@SuppressWarningsannotations.classTodoCommentCheckA check forTODO:comments.classTrailingCommentCheckThe check to ensure that requires that comments be the only thing on a line.classUniquePropertiesCheckChecks properties files for duplicate property keys.classUpperEllCheckChecks 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 classAnnotationLocationCheckCheck location of annotation on language elements.classAnnotationOnSameLineCheckThe check does verifying that annotations are located on the same line with their targets.classAnnotationUseStyleCheckThis check controls the style with the usage of annotations.classMissingDeprecatedCheckVerifies that both the @Deprecated annotation is present and the @deprecated javadoc tag are present when either one is present.classMissingOverrideCheckVerifies that the @Override annotation is present when the @inheritDoc javadoc tag is present.classPackageAnnotationCheckThis check makes sure that all package annotations are in the package-info.java file.classSuppressWarningsCheckThis check allows you 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 classAvoidNestedBlocksCheckFinds nested blocks, i.e.classEmptyBlockCheckChecks for empty blocks.classEmptyCatchBlockCheckChecks for empty catch blocks.classLeftCurlyCheckChecks for the placement of left curly braces ('{') for code blocks.classNeedBracesCheckChecks for braces around code blocks.classRightCurlyCheckChecks the placement of right curly braces ('}') for if-else, try-catch-finally blocks, while-loops, for-loops, method definitions, class definitions, constructor definitions, instance and static initialization 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 classArrayTrailingCommaCheckChecks that array initialization contains a trailing comma.classAvoidInlineConditionalsCheckDetects inline conditionals.classDefaultComesLastCheckCheck that thedefaultis after all the cases in aswitchstatement.classEmptyStatementCheckDetects empty statements (standalone";"semicolon).classExplicitInitializationCheckChecks if any class or object member is explicitly initialized to default for its type value (nullfor object references, zero for numeric types andcharandfalseforboolean.classFallThroughCheckChecks for fall-through inswitchstatements.classIllegalCatchCheckChecks that certain exception types do not appear in acatchstatement.classIllegalThrowsCheckThis check can be used to ensure that types are not declared to be thrown.classIllegalTokenCheckChecks for illegal tokens.classIllegalTokenTextCheckChecks specified tokens text for matching an illegal pattern fromformatproperty.classInnerAssignmentCheckChecks for assignments in subexpressions, such as inString s = Integer.toString(i = 2);.classMagicNumberCheckChecks that there are no "magic numbers" where a magic number is a numeric literal that is not defined as a constant.classMissingCtorCheckChecks that classes (except abstract ones) define a constructor and don't rely on the default one.classMissingSwitchDefaultCheckChecks that switch statement has a "default" clause.classMultipleVariableDeclarationsCheckChecks that each variable declaration is in its own statement and on its own line.classNoCloneCheckChecks that the clone method is not overridden from the Object class.classNoFinalizerCheckVerifies there are nofinalize()methods defined in a class.classOverloadMethodsDeclarationOrderCheckChecks that overload methods are grouped together.classSimplifyBooleanExpressionCheckChecks for over-complicated boolean expressions.classSimplifyBooleanReturnCheckChecks for over-complicated boolean return statements.classStringLiteralEqualityCheckChecks that string literals are not used with==or!=.classSuperCloneCheckChecks that an overridingclone()method invokessuper.clone().classSuperFinalizeCheckChecks that an overridingfinalize()method invokessuper.finalize().classUnnecessarySemicolonAfterTypeMemberDeclarationCheckChecks if unnecessary semicolon is used after type member declaration.classUnnecessarySemicolonInEnumerationCheckChecks if unnecessary semicolon is in enum definitions.classUnnecessarySemicolonInTryWithResourcesCheckChecks if unnecessary semicolon is used in last resource declaration.classVariableDeclarationUsageDistanceCheckChecks 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 classDesignForExtensionCheckThe check finds classes that are designed for extension (subclass creation).classHideUtilityClassConstructorCheckMakes sure that utility classes (classes that contain only static methods or fields in their API) do not have a public constructor.classInterfaceIsTypeCheckImplements Joshua Bloch, Effective Java, Item 17 - Use Interfaces only to define types.classThrowsCountCheckRestricts throws statements to a specified count (4 by default). -
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 classHeaderCheckChecks that a source file begins with a specified header.classRegexpHeaderCheckChecks 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 classAvoidStarImportCheckChecks that there are no import statements that use the*notation.classAvoidStaticImportCheckChecks that there are no static import statements.classIllegalImportCheckChecks 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 classCommentsIndentationCheckControls 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 classAtclauseOrderCheckChecks the order of javadoc block-tags or javadoc tags.classInvalidJavadocPositionCheckChecks that Javadocs are located at the correct position.classJavadocBlockTagLocationCheckChecks that a javadoc block tag appears only at the beginning of a line, ignoring leading asterisks and white space.classJavadocParagraphCheckChecks 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.classJavadocStyleCheckCustom Checkstyle Check to validate Javadoc.classJavadocTagContinuationIndentationCheckChecks the indentation of the continuation lines in at-clauses.classJavadocTypeCheckChecks the Javadoc of a type.classJavadocVariableCheckChecks that a variable has Javadoc comment.classMissingJavadocPackageCheckChecks for missing Javadoc comments in package-info.java files.classMissingJavadocTypeCheckChecks for missing Javadoc comments for class, enum, interface, and annotation interface definitions.classNonEmptyAtclauseDescriptionCheckChecks that the at-clause tag is followed by description .classSingleLineJavadocCheckChecks that a JavaDoc block can fit on a single line and doesn't contain at-clauses.classSummaryJavadocCheckChecks that Javadoc summary sentence does not contain phrases that are not recommended to use.classWriteTagCheckOutputs 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 classClassMemberImpliedModifierCheckChecks for implicit modifiers on nested types in classes.classInterfaceMemberImpliedModifierCheckChecks for implicit modifiers on interface members and nested types.classModifierOrderCheckChecks 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.classRedundantModifierCheckChecks 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 classAbbreviationAsWordInNameCheckThe Check validate abbreviations(consecutive capital letters) length in identifier name, it also allows to enforce camel case naming.classAbstractClassNameCheckEnsures that the names of abstract classes conforming to some regular expression and check thatabstractmodifier exists.classAbstractNameCheckAbstract class for checking that names conform to a specified format.classPackageNameCheckChecks 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 classRegexpMultilineCheckA check for detecting that matches across multiple lines.classRegexpOnFilenameCheckImplementation of a check that looks for a file name and/or path match (or mis-match) against specified patterns.classRegexpSinglelineCheckA check for detecting single lines that match a supplied regular expression.classRegexpSinglelineJavaCheckA check for detecting single lines that match a supplied regular expression 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 classAnonInnerLengthCheckChecks for long anonymous inner classes.classFileLengthCheckChecks for long source files.classLineLengthCheckChecks for long lines.classMethodLengthCheckChecks for long methods and constructors.classParameterNumberCheckChecks the number of parameters of a method or constructor. -
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 classAbstractParenPadCheckAbstract class for checking the padding of parentheses.classEmptyForInitializerPadCheckChecks the padding of an empty for initializer; that is whether white space is required at an empty for initializer, or such white space is forbidden.classEmptyForIteratorPadCheckChecks the padding of an empty for iterator; that is whether a white space is required at an empty for iterator, or such white spaces are forbidden.classEmptyLineSeparatorCheckChecks for empty line separators after header, package, all import declarations, fields, constructors, methods, nested classes, static initializers and instance initializers.classFileTabCharacterCheckChecks that there are no tab characters ('\t') in the source code.classMethodParamPadCheckChecks the padding between the identifier of a method definition, constructor definition, method call, or constructor invocation; and the left parenthesis of the parameter list.classNoLineWrapCheckChecks that chosen statements are not line-wrapped.classNoWhitespaceAfterCheckChecks that there is no whitespace after a token.classNoWhitespaceBeforeCheckChecks that there is no whitespace before a token.classOperatorWrapCheckChecks the policy on how to wrap lines on operators.classSeparatorWrapCheckChecks line wrapping with separators.classSingleSpaceSeparatorCheckChecks that non-whitespace characters are separated by no more than one whitespace.classWhitespaceAfterCheckChecks 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.classWhitespaceAroundCheckChecks that a token is surrounded by whitespace.
-