Package | Description |
---|---|
com.google.inject.internal |
Guice (sounds 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 | 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.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) |