Annotation Interface Sealed


@Retention(CLASS) @Target(TYPE) @Documented @Sealed public @interface Sealed
Signifies that the annotated class or interface should be treated as sealed: it must not be extended or implemented.

Using such classes and interfaces is no different from using ordinary unannotated classes and interfaces.

This annotation does not imply that the API is experimental or Beta, or that the quality or performance of the API is inferior.