Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Possible bug in declare @field/declare @method for generic aspect

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.





Back to the top