Annotation Type SuppressLint


  • @Target({TYPE,FIELD,METHOD,PARAMETER,CONSTRUCTOR,LOCAL_VARIABLE})
    @Retention(CLASS)
    public @interface SuppressLint
    Indicates that Lint should ignore the specified warnings for the annotated element.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String[] value
      The set of warnings (identified by the lint issue id) that should be ignored by lint.
    • Element Detail

      • value

        java.lang.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.