MCPcopy Create free account
hub / github.com/google/guice / isNoScope

Method isNoScope

core/src/com/google/inject/internal/Scoping.java:233–235  ·  view source on GitHub ↗

Returns true if this is the default scope. In this case a new instance will be provided for each injection.

()

Source from the content-addressed store, hash-verified

231 * each injection.
232 */
233 public boolean isNoScope() {
234 return getScopeInstance() == Scopes.NO_SCOPE;
235 }
236
237 /** Returns true if this scope is a singleton that should be loaded eagerly in {@code stage}. */
238 public boolean isEagerSingleton(Stage stage) {

Callers 2

isEagerSingletonMethod · 0.80
scopeMethod · 0.80

Calls 1

getScopeInstanceMethod · 0.95

Tested by

no test coverage detected