@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface Toolable
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
.Copyright © 2006-2015 Google, Inc.. All Rights Reserved.