]> source.dussan.org Git - aspectj.git/commitdiff
298388: fix
authoraclement <aclement>
Mon, 25 Jan 2010 22:53:05 +0000 (22:53 +0000)
committeraclement <aclement>
Mon, 25 Jan 2010 22:53:05 +0000 (22:53 +0000)
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java

index 75a039a27a76b466b71c4833cfb452e2ca4332f8..1ac89a5202347fe8e40168b373bb175ea764d627 100644 (file)
@@ -981,6 +981,9 @@ public class AtAjAttributes {
                                ResolvedMember method = methods[i];
                                if (method.isAbstract()) {
                                        hasAtLeastOneMethod = true;
+                                       if (method.hasBackingGenericMember()) {
+                                               method = method.getBackingGenericMember();
+                                       }
                                        MethodDelegateTypeMunger mdtm = new MethodDelegateTypeMunger(method, struct.enclosingType, "",
                                                        targetTypePattern, struct.method.getName(), struct.method.getSignature());
                                        mdtm.setFieldType(methodReturnType);