T. Ignores the
presence or absence of an injectable constructor.
| Modifier and Type | Method and Description |
|---|---|
| public void | injectMembers(T
to inject members on. May be instance)null.Injects dependencies into the fields and methods of |
| injectMembers | back to summary |
|---|---|
| public void injectMembers(T instance) Injects dependencies into the fields and methods of Whenever Guice creates an instance, it performs this injection automatically (after first performing constructor injection), so if you're able to let Guice create all your objects for you, you'll never need to use this method.
| |