Annotation Type ApiStatus.Internal


  • @Documented
    @Retention(CLASS)
    @Target({TYPE,ANNOTATION_TYPE,METHOD,CONSTRUCTOR,FIELD,PACKAGE})
    public static @interface ApiStatus.Internal
    Indicates that the annotated element (class, method, field, etc) must not be considered as a public API. It's made visible to allow usages in other packages of the declaring library, but it must not be used outside of that library. Such elements may be renamed, changed or removed in future versions.

    If a package is marked with this annotation, all its containing classes are considered internal. Subpackages of this package are not affected and should be marked independently.

    If a type is marked with this annotation, all its members are considered internal, but its inheritors are not.

    If a method is marked with this annotation, overriding methods are not considered internal.