Annotation Interface AllowForbiddenApis


@Retention(CLASS) @Target({CONSTRUCTOR,FIELD,METHOD,TYPE}) public @interface AllowForbiddenApis
Annotation to allow usage of forbidden APIs inside a whole class, a method, or a field.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The reason for allowing forbidden APIs
  • Element Details

    • value

      String value
      The reason for allowing forbidden APIs