[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[ews.eclipse.technology.aspectj] Warning when matching annotated annotations
|
Hi,
when I declare a warning in an aspect as follows:
declare warning: execution(@(@Constraint *) void (*.*(..)): "You cannot
use constraint annotations on void methods";
The AspectJ compiler reports the following warning: TestAspect.aj does
not match because annotation @Constraint has
@Target{ElementType.ANNOTATION_TYPE} [Xlint:unmatchedTargetKind]
My declared warning seems to work as I can see it where expected.
How can I get rid of this compiler warning? I'm using AspectJ 1.51
Regards,
Sebastian