@Target(value=CONSTRUCTOR) @Retention(value=RUNTIME) @Documented public @interface ThrowingInject
Inject
designed for ThrowingProviders. Use by:
ThrowingProviderBinder.create(binder())
.bind(RemoteProvider.class, Customer.class)
.providing(CustomerImpl.class);
where CustomerImpl has a constructor annotated with ThrowingInject.Copyright © 2006–2018 Google, Inc.. All rights reserved.