@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface ScopeAnnotation
com.google.inject.internal.Annotations#checkForMisplacedScopeAnnotations()), so you can't use it directly.
This annotation wraps actual scope annotation which will be set to generated class.
And yes, it's named as guice marker annotation, but name is perfect and you'll never need to use both in one class.
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
value |