Community
Participate
Working Groups
After enabling the special compiler features, I declared something like: declare parents : hasmethod(@MyAnnotation * *(..)) implements MyInterface This works, if I explicitly annotate a method with @MyAnnotation. However it does not work if previously I do something like: declare @method: * MyClass.*(..) : @MyAnnotation; I've tested, and the methods really get annotated, but these annotations are not visible to the hasmethod pointcut.
This is an issue, but I wanted to say one reason hasmethod is not a feature that is not on by default is because it doesn't work with some of the other language features, including ITDs and the case you have here.