]> source.dussan.org Git - aspectj.git/commitdiff
231396: refactoring AspectJ: tidying up
authoraclement <aclement>
Wed, 4 Jun 2008 19:06:16 +0000 (19:06 +0000)
committeraclement <aclement>
Wed, 4 Jun 2008 19:06:16 +0000 (19:06 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java

index 5bb89b4782589a5f81a6de2c7e94708e9fd2978c..59cc0b10cc9ea611aa1dbf749bb978e8c1802a5f 100644 (file)
@@ -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()),