]> source.dussan.org Git - aspectj.git/commitdiff
getting dependency info for inter-type methods
authorjhugunin <jhugunin>
Fri, 3 Jan 2003 23:21:53 +0000 (23:21 +0000)
committerjhugunin <jhugunin>
Fri, 3 Jan 2003 23:21:53 +0000 (23:21 +0000)
org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

index e497e0b5b215ba27f1f903503e810da2ad9abb49..a277b224007521b90bcdad48c972aa5b81a450e2 100644 (file)
@@ -177,6 +177,7 @@ public abstract class Scope
                MethodBinding exactMethod = receiverType.getExactMethod(selector, argumentTypes);
                if (exactMethod != null) {
                        compilationUnitScope().recordTypeReferences(exactMethod.thrownExceptions);
+                       compilationUnitScope().recordTypeReference(exactMethod.declaringClass); // for inter-type decls
                        if (receiverType.isInterface() || exactMethod.canBeSeenBy(receiverType, invocationSite, this)) {
                                return exactMethod;
                        } else {