In fact, the check is already there since 2.0.0.Beta1 - see also
WELD-458
. However, it does not work for use cases where invalid target types are used (i.e. if a @Target meta-annotation is not present - annotation may be written as a modifier for any declaration except for a type parameter declaration).
|