@Target(value={TYPE,ANNOTATION_TYPE})
@Retention(value=RUNTIME)
@Documented
public @interface Plugin
Multibinder
.
To use MapBinder
create your own annotation with single
attribute value
and annotate it with @Plugin
. New annotation value will be used as key.
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<?> |
value |