package cdi.test; import java.lang.annotation.Documented; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.enterprise.context.NormalScope; import javax.inject.Scope; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; @NormalScope @Inherited @Target({ TYPE, METHOD, FIELD }) @Retention(RUNTIME) @Documented public @interface Scope2 { }