org.apache.lucene.util

## Annotation Type SuppressForbidden

-     @Retention(value=CLASS)
       @Target(value={CONSTRUCTOR,FIELD,METHOD,TYPE})
      public @interface SuppressForbidden

  Annotation to suppress forbidden-apis errors inside a whole class, a method, or a field.
  NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `reason` A reason for suppressing should always be given.

- - ### Element Detail

    - #### reason

          public abstract String reason

      A reason for suppressing should always be given.

Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.