Package io.spring.javaformat.checkstyle.check
package io.spring.javaformat.checkstyle.check
-
ClassDescriptionSpring-specific check of the concision of an annotation's attribute values.Spring variant of
AnnotationLocationCheck.Spring variant ofAvoidStarImportCheck.Checks that catch blocks follow Spring conventions.Checks that@Deprecatedannotations follow Spring conventions.Checks that the source headers follow Spring conventions.Extension toHideUtilityClassConstructorCheckthat doesn't fail certain common Spring patterns.Checks that the order of imports follow Spring conventions.Checks that the javadoc comments follow Spring conventions.Checks that JUnit 5 conventions are followed and that JUnit 4 is not accidentally used.Checks that lambda definitions follow Spring conventions.Checks that leading whitespace matches the expected indentation style.Checks that methods are defined in the correct order.Check for compliance with Spring-style method visibility.Checks that certain fields are never referenced using'this.'.Spring-specific customization ofNoWhitespaceBeforeCheckthat permits whitespace before...when it is a separator after an annotation, for exampleint @Nullable ....Checks compliance with Spring team's nullability conventions.ParenPadCheckvariant that allows whitespace after(if before//.Checks that ternary operations follow Spring conventions.Type of equals operators allowed in the test condition.Checks that test class filenames end Tests.java and not Test.java.