Annotation Type Provides


  • @Documented
    @Target(METHOD)
    @Retention(RUNTIME)
    @Keep
    public @interface Provides
    Annotates methods of a Module to create a provider method binding. The method's return type is bound to its returned value. Guice will pass dependencies to the method as parameters.
    Since:
    2.0