@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Bind
BoundFieldModule
to indicate that a field should be bound to its
value using Guice.BoundFieldModule
Modifier and Type | Optional Element and Description |
---|---|
Class<?> |
to
If specified,
BoundFieldModule will bind the annotated field's value to this type,
rather than to the field's actual type. |
public abstract Class<?> to
BoundFieldModule
will bind the annotated field's value to this type,
rather than to the field's actual type.Copyright © 2006–2014 Google, Inc.. All rights reserved.