Hi,
I'm using AspectJ 1.6.9 and got compilation error when I did the following:
public abstract aspect TestAsp<Ann extends Annotation, X> {
declare @field: * X.* : @(Ann);
}
The following works fine though:
public abstract aspect TestAsp<Ann extends Annotation, X> {
declare @field: @(Ann) * X.* : @Picked;
pointcut x() : execution( @(Ann) * *.*(..));
}
Is it a bug, or I miss something in the declare @field ?
Best regards,
Anwar.
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users