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

Method isProductionScope

java/dagger/model/Scope.java:90–92  ·  view source on GitHub ↗

Returns true if this scope is the ProductionScope @ProductionScope scope.

()

Source from the content-addressed store, hash-verified

88
89 /** Returns {@code true} if this scope is the {@link ProductionScope @ProductionScope} scope. */
90 public final boolean isProductionScope() {
91 return isScope(ProductionScope.class);
92 }
93
94 private boolean isScope(Class<? extends Annotation> annotation) {
95 return scopeAnnotationElement().getQualifiedName().contentEquals(annotation.getCanonicalName());

Callers

nothing calls this directly

Calls 1

isScopeMethod · 0.95

Tested by

no test coverage detected