Added in API level 16

SuppressLint


public abstract @interface SuppressLint
implements Annotation

android.annotation.SuppressLint


Indicates that Lint should ignore the specified warnings for the annotated element.

Summary

Public methods

String[] value()

The set of warnings (identified by the lint issue id) that should be ignored by lint.

Inherited methods

abstract Class<? extends Annotation> annotationType()

Returns the annotation interface of this annotation.

abstract boolean equals(Object obj)

Returns true if the specified object represents an annotation that is logically equivalent to this one.

abstract int hashCode()

Returns the hash code of this annotation.

abstract String toString()

Returns a string representation of this annotation.

Public methods

value

Added in API level 16
public String[] value ()

The set of warnings (identified by the lint issue id) that should be ignored by lint. It is not an error to specify an unrecognized name.

Returns
String[]