Package dagger.assisted
Annotation Type AssistedFactory
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface AssistedFactory
Annotates an abstract class or interface used to create an instance of a type via anAssistedInject
constructor.An
AssistedFactory
-annotated type must obey the following constraints:- The type must be an abstract class or interface,
- The type must contain exactly one abstract, non-default method whose
- return type must exactly match the type of an assisted injection type, and
- parameters must match the exact list of
Assisted
parameters in the assisted injection type's constructor (and in the same order).
AssistedInject