| Package | Description |
|---|---|
| com.google.inject.internal |
Guice (sounds like like "juice")
|
| com.google.inject.spi |
Guice service provider interface
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Errors.formatInjectionPoint(Formatter
|
| Modifier and Type | Method and Description |
|---|---|
static <T> InjectionPoint |
InjectionPoint.forConstructor(Constructor
Returns a new injection point for the specified constructor.
|
static <T> InjectionPoint |
InjectionPoint.forConstructor(Constructor
Returns a new injection point for the specified constructor of
type.
|
static InjectionPoint |
InjectionPoint.forConstructorOf(Class
Returns a new injection point for the injectable constructor of
type.
|
static InjectionPoint |
InjectionPoint.forConstructorOf(TypeLiteral
Returns a new injection point for the injectable constructor of
type.
|
static <T> InjectionPoint |
InjectionPoint.forMethod(Method
Returns a new injection point for the specified method of
type.
|
InjectionPoint |
ConstructorBinding.getConstructor()
Gets the constructor this binding injects.
|
InjectionPoint |
Dependency.getInjectionPoint()
Returns the injection point to which this dependency belongs, or null if this dependency isn't attached to a particular injection point.
|
| Modifier and Type | Method and Description |
|---|---|
static Set |
InjectionPoint.forInstanceMethodsAndFields(Class
Returns all instance method and field injection points on
type.
|
static Set |
InjectionPoint.forInstanceMethodsAndFields(TypeLiteral
Returns all instance method and field injection points on
type.
|
static Set |
InjectionPoint.forStaticMethodsAndFields(Class
Returns all static method and field injection points on
type.
|
static Set |
InjectionPoint.forStaticMethodsAndFields(TypeLiteral
Returns all static method and field injection points on
type.
|
Set |
ConstructorBinding.getInjectableMembers()
Returns all instance method and field injection points on
type.
|
Set |
StaticInjectionRequest.getInjectionPoints()
Returns the static methods and fields of
type that will be injected to fulfill this request.
|
Set |
InjectionRequest.getInjectionPoints()
Returns the instance methods and fields of
instance that will be injected to fulfill this request.
|
Set |
InstanceBinding.getInjectionPoints()
Returns the field and method injection points of the instance, injected at injector-creation time only.
|
Set |
ProviderInstanceBinding.getInjectionPoints()
Returns the field and method injection points of the provider, injected at injector-creation time only.
|
| Modifier and Type | Method and Description |
|---|---|
abstract <T> Key |
ModuleAnnotatedMethodScanner.prepareMethod(Binder
Prepares a method for binding.
|
| Modifier and Type | Method and Description |
|---|---|
static Set |
Dependency.forInjectionPoints(Set
Returns the dependencies from the given injection points.
|