-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
None
The DefinitionException is throw if the following Action qualifier class is used as a param:
@Qualifier
@Target({ TYPE, METHOD })
@Retention( RetentionPolicy.RUNTIME)
@Preferred
public @interface Action {
}
@Qualifier
@Target({TYPE, METHOD, PARAMETER, FIELD, ANNOTATION_TYPE})
@Retention( RetentionPolicy.RUNTIME)
public @interface Preferred {
}
Note that the Action definition itself is weird but legal (Preffered would be just ignored).