]> source.dussan.org Git - aspectj.git/commitdiff
generics: dont assume its a bcelmethod. When working with generic methods they are...
authoraclement <aclement>
Mon, 11 Jul 2005 10:48:54 +0000 (10:48 +0000)
committeraclement <aclement>
Mon, 11 Jul 2005 10:48:54 +0000 (10:48 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelAccessForInlineMunger.java

index e426711e53e1a667a228decc25b639540844628c..b029501210d817a24ca5fef5793d7ccb19ce1121 100644 (file)
@@ -153,7 +153,7 @@ public class BcelAccessForInlineMunger extends BcelTypeMunger {
                 // look in the whole method list and not just declared for super calls and alike
                 List methods = callee.getMethodsWithoutIterator();
                 for (Iterator iter = methods.iterator(); iter.hasNext();) {
-                    BcelMethod resolvedMember = (BcelMethod) iter.next();
+                    ResolvedMember resolvedMember = (ResolvedMember) iter.next();
                     if (invoke.getName(cpg).equals(resolvedMember.getName())
                             && invoke.getSignature(cpg).equals(resolvedMember.getSignature())
                             && !resolvedMember.isPublic()) {