From: aclement Date: Wed, 4 Jun 2008 19:06:16 +0000 (+0000) Subject: 231396: refactoring AspectJ: tidying up X-Git-Tag: V1_6_1rc1~144 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dd101527d7963a26052180d9ac31c0d6317cc579;p=aspectj.git 231396: refactoring AspectJ: tidying up --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java index 5bb89b478..59cc0b10c 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java @@ -15,6 +15,7 @@ package org.aspectj.ajdt.internal.compiler.lookup; +import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; @@ -977,7 +978,7 @@ public class EclipseFactory { } public MethodBinding makeMethodBindingForCall(Member member) { - return new MethodBinding(member.getCallsiteModifiers(), + return new MethodBinding(member.getModifiers() & ~ Modifier.INTERFACE, member.getName().toCharArray(), makeTypeBinding(member.getReturnType()), makeTypeBindings(member.getParameterTypes()),