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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<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.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
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<Dependency<?>> getDependencies()
Returns all non-assisted dependencies required to construct and inject the implementation.
-
-