Annotation Type UsedInApi


  • @Retention(CLASS)
    @Target(TYPE)
    public @interface UsedInApi
    Indicates an internal class referenced in public API, which should be therefore considered part of the public API. The annotated class and/or the referencing public API element should change in the next major release. Referencing element is annotated with UnstableApi. Architectural tests consider these annotation to tolerate referenced annotated elements.