@Beta @Documented @Target(value=ANNOTATION_TYPE) public @interface CanReleaseReferences
A scope can release references if it is annotated with CanReleaseReferences or if it
is annotated with an annotation that itself is annotated with CanReleaseReferences.
For example:
@Documented
@Retention(RUNTIME)
@CanReleaseReferences
@Scope
public @interface MyScope {}
or:
@CanReleaseReferences
public @interface SomeAnnotation {}
@Documented
@Retention(RUNTIME)
@SomeAnnotation
@Scope
public @interface MyScope {}
Note:Releasable references uses Java's WeakReference, and so is
not compatible with GWT.
Copyright © 2012���2017 The Dagger Authors. All rights reserved.