summaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authoraclement <aclement>2008-12-15 21:28:31 +0000
committeraclement <aclement>2008-12-15 21:28:31 +0000
commit5750d4a63d1d21a07ff9440580f8ebd7c7db7779 (patch)
treefcfdf868c7b89bf23a99497973c902e14b028309 /org.aspectj.matcher
parentc3817b36375049666d386da3ed4c75db0a54896c (diff)
downloadaspectj-5750d4a63d1d21a07ff9440580f8ebd7c7db7779.tar.gz
aspectj-5750d4a63d1d21a07ff9440580f8ebd7c7db7779.zip
252722: test and fix: generated super dispatch methods
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/AjcMemberMaker.java6
1 files changed, 5 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 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) {