From 5750d4a63d1d21a07ff9440580f8ebd7c7db7779 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 15 Dec 2008 21:28:31 +0000 Subject: [PATCH] 252722: test and fix: generated super dispatch methods --- .../src/org/aspectj/weaver/AjcMemberMaker.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/AjcMemberMaker.java b/org.aspectj.matcher/src/org/aspectj/weaver/AjcMemberMaker.java index e76141577..8d45b6369 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/AjcMemberMaker.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/AjcMemberMaker.java @@ -262,8 +262,12 @@ public class AjcMemberMaker { // --- inline accessors // ??? can eclipse handle a transform this weird without putting synthetics into the mix public static ResolvedMember superAccessMethod(UnresolvedType baseType, ResolvedMember method) { + UnresolvedType[] paramTypes = method.getParameterTypes(); + // if (!method.isStatic()) { + // paramTypes = UnresolvedType.insert(method.getDeclaringType(), paramTypes); + // } return new ResolvedMemberImpl(Member.METHOD, baseType, Modifier.PUBLIC, method.getReturnType(), NameMangler - .superDispatchMethod(baseType, method.getName()), method.getParameterTypes(), method.getExceptions()); + .superDispatchMethod(baseType, method.getName()), paramTypes, method.getExceptions()); } public static ResolvedMember inlineAccessMethodForMethod(UnresolvedType aspectType, ResolvedMember method) { -- 2.39.5