I just tried to remove the generic parameter from interface A and it works so it actually a generic parameter problem.
It's a shame as my code seems less clean without it. Cheers, Charles. 2014-10-24 16:10 GMT+02:00 Charlouze <m...@charlouze.com>: > Hey everyone, > > I'm facing an issue with @CommitAfter annotation being placed on > implementation. > > I have 2 interfaces A and B : > > public interface A<T> { > void methodA(T t); > } > > public interface B extends A<C> { > void methodB(); > } > > and one implementation BImpl : > > public class Bimpl implements B { > @Annotated > void methodA(C t){...} > > void methodB(){...} > } > > The annotation @Annotated is not present in MethodInvocation at runtime. I > suspect it to be because of the generic parameter of interface A. > > Is there or bug or am I using this the wrong way ? > > Charles >