From: aclement Date: Thu, 29 Jan 2009 04:03:30 +0000 (+0000) Subject: 194314: copying parameter names across for local var table correctness X-Git-Tag: pre268419~178 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a98ffb76a0a85d68ae9ed55ec46251b3e8991517;p=aspectj.git 194314: copying parameter names across for local var table correctness --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/AjcMemberMaker.java b/org.aspectj.matcher/src/org/aspectj/weaver/AjcMemberMaker.java index 8d45b6369..c1cf85e7f 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/AjcMemberMaker.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/AjcMemberMaker.java @@ -475,6 +475,7 @@ public class AjcMemberMaker { ResolvedMemberImpl rmi = new ResolvedMemberImpl(Member.METHOD, meth.getDeclaringType(), modifiers, meth.getReturnType(), NameMangler.interMethod(meth.getModifiers(), aspectType, meth.getDeclaringType(), meth.getName()), meth .getParameterTypes(), meth.getExceptions()); + rmi.setParameterNames(meth.getParameterNames()); rmi.setTypeVariables(meth.getTypeVariables()); return rmi; } @@ -527,7 +528,7 @@ public class AjcMemberMaker { ResolvedMemberImpl rmi = new ResolvedMemberImpl(Member.METHOD, aspectType, PUBLIC_STATIC, meth.getReturnType(), NameMangler .interMethodDispatcher(aspectType, meth.getDeclaringType(), meth.getName()), paramTypes, meth.getExceptions()); - + rmi.setParameterNames(meth.getParameterNames()); rmi.setTypeVariables(meth.getTypeVariables()); return rmi; @@ -549,6 +550,7 @@ public class AjcMemberMaker { ResolvedMemberImpl rmi = new ResolvedMemberImpl(Member.METHOD, aspectType, modifiers, meth.getReturnType(), NameMangler .interMethodBody(aspectType, meth.getDeclaringType(), meth.getName()), paramTypes, meth.getExceptions()); + rmi.setParameterNames(meth.getParameterNames()); rmi.setTypeVariables(meth.getTypeVariables()); return rmi; }