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

Method get

core/src/com/google/inject/spi/ProviderLookup.java:107–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 public Provider<T> getProvider() {
106 return new ProviderWithDependencies<T>() {
107 @Override
108 public T get() {
109 Provider<T> local = delegate;
110 if (local == null) {
111 throw new IllegalStateException(
112 "This Provider cannot be used until the Injector has been created.");
113 }
114 return local.get();
115 }
116
117 @Override
118 public Set<Dependency<?>> getDependencies() {

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected