@Documented @Target(value=METHOD) @Retention(value=RUNTIME) @Beta public @interface Produces
ListenableFuture
, then the parameter type of the future is bound to the value that the
future provides; otherwise, the return type is bound to the returned value. The production
component will pass dependencies to the method as parameters.Modifier and Type | Optional Element and Description |
---|---|
Produces.Type |
type
Deprecated.
Use the multibinding annotations in
dagger.multibindings . |
@Deprecated public abstract Produces.Type type
dagger.multibindings
.Copyright © 2016 Google, Inc.. All rights reserved.