Annotation Type Toolable


  • @Target(METHOD)
    @Retention(RUNTIME)
    @Documented
    public @interface Toolable
    Instructs an Injector running in Stage.TOOL that a method should be injected. This is typically useful for for extensions to Guice that perform additional validation in an injected method or field. This only applies to objects that are already constructed when bindings are created (ie., something bound using toProvider, toInstance, or requestInjection.
    Since:
    3.0
    Author:
    sberlin@gmail.com (Sam Berlin)