com.google.inject.assistedinject
Annotation Type AssistedInject


@Target(value=CONSTRUCTOR)
@Retention(value=RUNTIME)
public @interface AssistedInject

Constructors annotated with @AssistedInject indicate that will can be instantiated by the FactoryProvider. Each constructor must exactly one corresponding factory method within the Factory Interface.

Constructor parameters must be either supplied by the Factory Interface and marked with @Assisted, or they must be injectable.