Package com.puppycrawl.tools.checkstyle.checks.annotation
Contains the Annotation checks that are
bundled with the main distribution.
-
Class Summary Class Description AnnotationLocationCheck Checks location of annotation on language elements.AnnotationOnSameLineCheck Checks that annotations are located on the same line with their targets.AnnotationUseStyleCheck Checks the style of elements in annotations.MissingDeprecatedCheck Verifies that the annotation@Deprecatedand the Javadoc tag@deprecatedare both present when either of them is present.MissingOverrideCheck Verifies that the@Overrideannotation is present when the@inheritDocjavadoc tag is present.PackageAnnotationCheck Checks that all package annotations are in the package-info.java file.SuppressWarningsCheck Allows to specify what warnings that@SuppressWarningsis not allowed to suppress. -
Enum Summary Enum Description AnnotationUseStyleCheck.ClosingParensOption Defines the two styles for defining elements in an annotation.AnnotationUseStyleCheck.ElementStyleOption Defines the styles for defining elements in an annotation.AnnotationUseStyleCheck.TrailingArrayCommaOption Defines the two styles for defining elements in an annotation.