MCPcopy Index your code
hub / github.com/google/dagger / releasableReferencesMetadata

Method releasableReferencesMetadata

java/dagger/model/Scope.java:115–118  ·  view source on GitHub ↗

Returns the set of annotations on the scope that are themselves annotated with CanReleaseReferences. These annotations are used as metadata for dagger.releasablereferences.TypedReleasableReferenceManager.

()

Source from the content-addressed store, hash-verified

113 * dagger.releasablereferences.TypedReleasableReferenceManager}.
114 */
115 public final ImmutableSet<AnnotationMirror> releasableReferencesMetadata() {
116 return ImmutableSet.copyOf(
117 getAnnotatedAnnotations(scopeAnnotationElement(), CanReleaseReferences.class));
118 }
119
120 /**
121 * Returns the {@linkplain #releasableReferencesMetadata() releasable references metadata}

Calls 4

getAnnotationTypeMethod · 0.80
ofMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected