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@Deprecated
and the Javadoc tag@deprecated
are both present when either of them is present.MissingOverrideCheck Verifies that the@Override
annotation is present when the@inheritDoc
javadoc tag is present.PackageAnnotationCheck Checks that all package annotations are in the package-info.java file.SuppressWarningsCheck Allows to specify what warnings that@SuppressWarnings
is 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.