I just committed the fixes for this ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=357012 ), should be in a dev build later on today.
Andy On 6 September 2011 02:13, Zoran Regvart <[email protected]> wrote: > Hi Andy, > thanks for the quick reply, my case is a bit more elaborate and I > thought that aspectj does not support matching on annotation > parameters; this is my case: the value property of the Sample > annotation is not String type but Class: > > @Retention(RetentionPolicy.RUNTIME) > @interface Sample { > Class<?> type(); > } > > so my aspect > > aspect SampleAspect { > declare @field : @Sample(type = Long.class) * * : @Added; > } > > yields compile error: > > [error] Syntax error on token "class", invalid allowable token in > pointcut or type pattern > > is there any way to get around that? > > thank you! > > zoran > -- > Human by day user by night > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
