Package com.google.inject.assistedinject
Interface AssistedMethod
-
public interface AssistedMethod
Details about how a method in an assisted inject factory will be assisted.- Since:
- 3.0
- Author:
- ramakrishna@google.com (Ramakrishna Rajanna)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<com.google.inject.spi.Dependency<?>>
getDependencies()
Returns all non-assisted dependencies required to construct and inject the implementation.Method
getFactoryMethod()
Returns the factory method that is being assisted.Constructor<?>
getImplementationConstructor()
Returns the constructor that will be used to construct instances of the implementation.com.google.inject.TypeLiteral<?>
getImplementationType()
Returns the implementation type that will be created when the method is used.
-
-
-
Method Detail
-
getFactoryMethod
Method getFactoryMethod()
Returns the factory method that is being assisted.
-
getImplementationType
com.google.inject.TypeLiteral<?> getImplementationType()
Returns the implementation type that will be created when the method is used.
-
getImplementationConstructor
Constructor<?> getImplementationConstructor()
Returns the constructor that will be used to construct instances of the implementation.
-
getDependencies
Set<com.google.inject.spi.Dependency<?>> getDependencies()
Returns all non-assisted dependencies required to construct and inject the implementation.
-
-