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 the implementation of a deprecated API that has to keep sending JavaScript as a string. The signatures are in the forbidden-apis directory of the Flow repository.

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.