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