Package | Description |
---|---|
com.google.inject.internal |
Guice (sounds like like "juice")
|
Modifier and Type | Class and Description |
---|---|
private static class |
ProviderMethod.FastClassProviderMethod<T>
A
ProviderMethod implementation that uses FastClass.invoke(java.lang.String, java.lang.Class[], java.lang.Object, java.lang.Object[])
to invoke the provider method. |
private static class |
ProviderMethod.ReflectionProviderMethod<T>
A
ProviderMethod implementation that invokes the method using normal java reflection. |
Modifier and Type | Field and Description |
---|---|
private ProviderMethod<T> |
ProviderMethod.Factory.providerMethod |
Modifier and Type | Method and Description |
---|---|
(package private) static <T> ProviderMethod<T> |
ProviderMethod.create(Key<T> key,
java.lang.reflect.Method method,
java.lang.Object instance,
com.google.common.collect.ImmutableSet<Dependency<?>> dependencies,
java.util.List<Provider<?>> parameterProviders,
java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation,
boolean skipFastClassGeneration,
java.lang.annotation.Annotation annotation)
Creates a
ProviderMethod . |
private <T> ProviderMethod<T> |
ProviderMethodsModule.createProviderMethod(Binder binder,
java.lang.reflect.Method method,
java.lang.annotation.Annotation annotation) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ProviderMethod<?>> |
ProviderMethodsModule.getProviderMethods(Binder binder) |
Modifier and Type | Method and Description |
---|---|
(package private) static <T> BindingImpl<T> |
ProviderMethod.createBinding(InjectorImpl injector,
Key<T> key,
ProviderMethod<T> providerMethod,
java.lang.Object source,
Scoping scoping) |
Constructor and Description |
---|
Factory(java.lang.Object source,
ProviderMethod<T> providerMethod) |
ProviderMethodProviderInstanceBindingImpl(InjectorImpl injector,
Key<T> key,
java.lang.Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
ProviderMethod<T> providerInstance,
ProviderMethod.Factory<T> factory) |