Annotation Interface SuppressForbidden


@Retention(CLASS) @Target({TYPE,METHOD,CONSTRUCTOR}) public @interface SuppressForbidden
Allows the annotated method or class to call APIs that the forbiddenapis Maven plugin reports, such as a deprecated public API that has to keep sending JavaScript as a string.

The annotation does not cover the anonymous and nested classes of the annotated element, nor its serializable lambdas, such as listeners. Move such a call into a small annotated method instead.

For internal use only. May be renamed or removed in a future release.