checkers.source
Annotation Type SuppressWarningsKey


@Inherited
@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
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
Modifier and Type Required Element and Description
 String value
           
 

Element Detail

value

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