From: jhugunin Date: Fri, 3 Jan 2003 23:21:53 +0000 (+0000) Subject: getting dependency info for inter-type methods X-Git-Tag: V_1_1_b5~167 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=23a1b71057a3153ada5aeae61f59c35421b51c23;p=aspectj.git getting dependency info for inter-type methods --- diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java index e497e0b5b..a277b2240 100644 --- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java +++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java @@ -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 {