Browse Source

252722: test and fix: generated super dispatch methods

tags/V1_6_3rc1
aclement 15 years ago
parent
commit
5750d4a63d
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      org.aspectj.matcher/src/org/aspectj/weaver/AjcMemberMaker.java

+ 5
- 1
org.aspectj.matcher/src/org/aspectj/weaver/AjcMemberMaker.java View File

@@ -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) {

Loading…
Cancel
Save