Annotation Type ThrowingInject
-
@Target(CONSTRUCTOR) @Retention(RUNTIME) @Documented public @interface ThrowingInject
A version of @Inject
designed for ThrowingProviders. Use by:
where CustomerImpl has a constructor annotated with ThrowingInject.ThrowingProviderBinder.create(binder()) .bind(RemoteProvider.class, Customer.class) .providing(CustomerImpl.class);
- Since:
- 4.0
- Author:
- sameb@google.com (Sam Berlin)