Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Method & constructor validation pointcuts

> However, I'm still wondering if there is a general meta-annotation syntax,
> that is, one that will allow me to ask recursively if an annotation or any
> if its annotations recursively are annotated with a given annotation.  Seems
> like something having to do with a "+" pointcut operator, but I'm not sure.

There isn't a syntax for this (there is an old bugzilla on it:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=325092 ).

The initial syntax I was toying with was something around multiple @s

@@Foo - matches an annotation whose type is annotated with Foo.

cheers,
Andy


Back to the top