Annotation Type SuppressWarningsKey

public @interface SuppressWarningsKey

Specifies the argument that this checker recognizes for suppressing warnings via the SuppressWarnings annotation. In order for this annotation to have an effect, it must be placed on the declaration of a class that extends SourceChecker.

For example, warnings issued by the Nullness checker can be suppressed using \@SuppressWarnings("nullness") because NullnessChecker is annotated with \@SuppressWarningsKey("nullness").

Required Element Summary
 String value

Element Detail


public abstract String value
the string that causes this checker to suppress a warning when passed as the argument of SuppressWarnings