package com.example.client.shared; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.PARAMETER; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.inject.Qualifier; /** * Like the built-in CDI {@code @New} annotation, but <i>newer</i>. * * @author Jonathan Fuerth <jfuerth@redhat.com> * @author Christian Sadilek <csadilek@redhat.com> */ @Target( { FIELD, PARAMETER, METHOD, TYPE }) @Retention(RUNTIME) @Documented @Qualifier public @interface New { }