Description
An Alternative is enabled if @Alternative @Stereotype has a @Priority annotation. This is defined in https://jakarta.ee/specifications/cdi/4.0/jakarta-cdi-spec-4.0.html#priority_stereotype
Declaring stereotype with @Priority
A stereotype may declare a @Priority annotation which functions as a means of enabling and ordering affected beans.