Contains the Annotation checks that are bundled with the main distribution.
Class Summary Class Description AnnotationLocationCheckChecks location of annotation on language elements. AnnotationOnSameLineCheckChecks that annotations are located on the same line with their targets. AnnotationUseStyleCheckChecks the style of elements in annotations. MissingDeprecatedCheckVerifies that the annotation
@Deprecatedand the Javadoc tag
@deprecatedare both present when either of them is present.
MissingOverrideCheckVerifies that the
@Overrideannotation is present when the
@inheritDocjavadoc tag is present.
PackageAnnotationCheckChecks that all package annotations are in the package-info.java file. SuppressWarningsCheckAllows to specify what warnings that
@SuppressWarningsis not allowed to suppress.
Enum Summary Enum Description AnnotationUseStyleCheck.ClosingParensOptionDefines the two styles for defining elements in an annotation. AnnotationUseStyleCheck.ElementStyleOptionDefines the styles for defining elements in an annotation. AnnotationUseStyleCheck.TrailingArrayCommaOptionDefines the two styles for defining elements in an annotation.