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

Method isSingleton

java/dagger/model/Scope.java:80–82  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

78
79 /** Returns {@code true} if this scope is the {@link Singleton @Singleton} scope. */
80 public final boolean isSingleton() {
81 return isScope(Singleton.class);
82 }
83
84 /** Returns {@code true} if this scope is the {@link Reusable @Reusable} scope. */
85 public final boolean isReusable() {

Callers

nothing calls this directly

Calls 1

isScopeMethod · 0.95

Tested by

no test coverage detected