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

Method scope

java/dagger/model/Scope.java:60–63  ·  view source on GitHub ↗

Creates a Scope object from the javax.inject.Scope-annotated annotation type.

(AnnotationMirror scopeAnnotation)

Source from the content-addressed store, hash-verified

58 * Creates a {@link Scope} object from the {@link javax.inject.Scope}-annotated annotation type.
59 */
60 public static Scope scope(AnnotationMirror scopeAnnotation) {
61 checkArgument(isScope(scopeAnnotation));
62 return new AutoValue_Scope(AnnotationMirrors.equivalence().wrap(scopeAnnotation));
63 }
64
65 /**
66 * Returns {@code true} if {@link #scopeAnnotation()} is a {@link javax.inject.Scope} annotation.

Callers 1

scopeMethod · 0.95

Calls 1

isScopeMethod · 0.95

Tested by

no test coverage detected