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

Method scope

java/dagger/internal/codegen/Scopes.java:39–41  ·  view source on GitHub ↗

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

(TypeElement scopeType)

Source from the content-addressed store, hash-verified

37 * Creates a {@link Scope} object from the {@link javax.inject.Scope}-annotated annotation type.
38 */
39 static Scope scope(TypeElement scopeType) {
40 return Scope.scope(SimpleAnnotationMirror.of(scopeType));
41 }
42
43 /** Returns a representation for {@link ProductionScope @ProductionScope} scope. */
44 static Scope productionScope(Elements elements) {

Calls 3

scopeMethod · 0.95
ofMethod · 0.95
getTypeElementMethod · 0.45

Tested by

no test coverage detected