Community
Participate
Working Groups
This kind of thing doesn't seem to work: public <R extends A> R SomeTarget.foo(Class<R> rs) { return new SomeIterator<R>() { public void xxx() { } } } instead you have to promote the anonymous class to a static class in the aspect and new it from there.