com.google.inject

Annotation Type Provides



  • @Documented
     @Target(value=METHOD)
     @Retention(value=RUNTIME)
    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
    Author:
    crazybob@google.com (Bob Lee)

Copyright © 2006–2020 Google, Inc.. All rights reserved.