@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface NotExtensible
This annotation type is used to indicate that a non-final class or interface
is NOT intended to be extended or implemented by third-party code. In order
to be completely safe, third-party code should only extend or implement code
marked with the @Extensible
annotation type, but the
@NotExtensible
annotation type can serve as a reminder for classes
or interfaces that are not intended to be extended or implemented by
third-party code.
This annotation type will appear in the generated Javadoc documentation for
classes and interfaces that include it.
- See Also:
Extensible