In StereotypeWithPriorityTest it is assumed that @Priority on a Stereotype does enable the Alternative. But this is imo not defined in the spec.
The specification only defines 2 cases as per section 2.4.1.1:
An alternative may be given a priority for the application:
• by placing the @Priority annotation on the bean class of a managed bean, or
• by placing the @Priority annotation on the bean class that declares the producer method, field or resource.
Can you please point me to the paragraph which defines that Priority on Stereotypes do also count? Txs!