@Documented @Target(value=METHOD) @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 |
public abstract Produces.Type type
Copyright © 2015 Google, Inc.. All rights reserved.