Package dagger

Annotation Type Reusable


  • @Documented
    @Beta
    @Retention(RUNTIME)
    @Scope
    public @interface Reusable
    A scope that indicates that the object returned by a binding may be (but might not be) reused.

    @Reusable is useful when you want to limit the number of provisions of a type, but there is no specific lifetime over which there must be only one instance.

    See Also:
    Reusable Scope