Annotation Interface Produces


@Documented @Target(METHOD) @Retention(RUNTIME) @Beta public @interface Produces
Annotates methods of a producer module to create a production binding. If the method returns a ListenableFuture or FluentFuture, then the parameter type of the future is bound to the value that the future produces; otherwise, the return type is bound to the returned value. The production component will pass dependencies to the method as parameters.
Since:
2.0