Take into account that annotation member type may be imported in different ways:
If the annotation member type is imported as
import static org.jboss.jsr299.tck.tests.jbt.resolution.PayBy.PaymentMethod.CHEQUE;
but the same qualifier declared in the bean as
import org.jboss.jsr299.tck.tests.jbt.resolution.PayBy.PaymentMethod;
@PayBy(PaymentMethod.CHEQUE)
...
then both
@Inject @PayBy(CHEQUE) AsynchronousPaymentProcessor chequePaymentProcessor;
and
@Inject @PayBy(PaymentMethod.CHEQUE) AsynchronousPaymentProcessor chequePaymentProcessor2;
should be resolved.
All the tests in org.jboss.tools.cdi.core.test.tck.QualifierWithMembersTest should pass.
- relates to
-
JBIDE-6517 Resolve member values of annotations to qualified names, instead of reducing them to simple names
- Closed