diff options
author | aclement <aclement> | 2009-01-29 04:03:30 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-01-29 04:03:30 +0000 |
commit | a98ffb76a0a85d68ae9ed55ec46251b3e8991517 (patch) | |
tree | d953e85c76d51ee4720db0279c0c32c68e8ee60d /org.aspectj.matcher | |
parent | d3bd4c36d032932b3ffaab274d9fb880a555ff1f (diff) | |
download | aspectj-a98ffb76a0a85d68ae9ed55ec46251b3e8991517.tar.gz aspectj-a98ffb76a0a85d68ae9ed55ec46251b3e8991517.zip |
194314: copying parameter names across for local var table correctness
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r-- | org.aspectj.matcher/src/org/aspectj/weaver/AjcMemberMaker.java | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |