com.google.inject.spi
Annotation Type Toolable


@Target(value=METHOD)
@Retention(value=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)



Copyright © 2006-2011 Google, Inc.. All Rights Reserved.