| Modifier and Type | Field and Description |
|---|---|
| private final FailableCache | |
| private final InjectorImpl | |
| private final ImmutableList |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private <T> MembersInjectorImpl | createWithListeners(TypeLiteral<T> type, Errors errors)
Creates a new members injector and attaches both injection listeners and method aspects. |
| public <T> MembersInjectorImpl | get(TypeLiteral<T> key, Errors errors)
Returns a new complete members injector with injection listeners registered. |
| pack-priv ImmutableListMultimap | |
| pack-priv ImmutableList | getInjectors(Set<InjectionPoint> injectionPoints, Errors errors)
Returns the injectors for the specified injection points. |
| public boolean | |
| pack-priv boolean |
| cache | back to summary |
|---|---|
| private final FailableCache<TypeLiteral<?>, MembersInjectorImpl<?>> cache | |
| injector | back to summary |
|---|---|
| private final InjectorImpl injector | |
| typeListenerBindings | back to summary |
|---|---|
| private final ImmutableList<TypeListenerBinding> typeListenerBindings | |
| MembersInjectorStore | back to summary |
|---|---|
| pack-priv MembersInjectorStore(InjectorImpl injector, List<TypeListenerBinding> typeListenerBindings) | |
| createWithListeners | back to summary |
|---|---|
| private <T> MembersInjectorImpl Creates a new members injector and attaches both injection listeners and method aspects. | |
| get | back to summary |
|---|---|
| public <T> MembersInjectorImpl Returns a new complete members injector with injection listeners registered.
| |
| getAllInjectionPoints | back to summary |
|---|---|
| pack-priv ImmutableListMultimap | |
| getInjectors | back to summary |
|---|---|
| pack-priv ImmutableList Returns the injectors for the specified injection points. | |
| hasTypeListeners | back to summary |
|---|---|
| public boolean hasTypeListeners() Returns true if any type listeners are installed. Other code may take shortcuts when there aren't any type listeners. | |
| remove | back to summary |
|---|---|
| pack-priv boolean remove(TypeLiteral<?> type) Purges a type literal from the cache. Use this only if the type is not actually valid for binding and needs to be purged. (See issue 319 and ImplicitBindingTest#testCircularJitBindingsLeaveNoResidue and #testInstancesRequestingProvidersForThemselvesWithChildInjectors for examples of when this is necessary.) Returns true if the type was stored in the cache, false otherwise. | |