Package com.google.inject.assistedinject
Interface AssistedMethod
- All Known Implementing Classes:
FactoryProvider2.AssistData
public interface AssistedMethod
Details about how a method in an assisted inject factory will be assisted.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionSet<Dependency<?>>
Returns all non-assisted dependencies required to construct and inject the implementation.Returns the factory method that is being assisted.Constructor<?>
Returns the constructor that will be used to construct instances of the implementation.TypeLiteral<?>
Returns the implementation type that will be created when the method is used.
-
Method Details
-
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.
-