Community
Participate
Working Groups
I want to add an annotation on a declare parents declaration, but can't. This class has a compilation error: package p1; import org.aspectj.lang.annotation.SuppressAjWarnings; public aspect AddsSerializable { @SuppressAjWarnings declare parents : p2.ToBeSerializable implements java.io.Serializable; }
needs grammar change to allow it, should check status on other constructs too.
no grammar changes in 1.6.3
I have a related issue: When adding an annotation to an advice, then this annotation is not present on the ajc$... advice method: @after("foo") @AdviceName("bar") after(Object o): execution(* bar()) && target(o) { System.err.println("bar"); } Here "after" has runtime retention. When I inspect the advice method for this advice, then I only see these annotations: @org.aspectj.lang.annotation.AdviceName(value=foo) @org.aspectj.lang.annotation.After(argNames=o, value=(execution(* foo()) && target(o)))
unsetting the target field which is currently set for something already released