diff options
author | jhugunin <jhugunin> | 2003-01-03 23:21:53 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-01-03 23:21:53 +0000 |
commit | 23a1b71057a3153ada5aeae61f59c35421b51c23 (patch) | |
tree | 6c19fefcb9ccc186e8d4f1c109ae98e769e53f73 /org.eclipse.jdt.core | |
parent | d23254eaca847caaddc4c95eb7d038fd03637db2 (diff) | |
download | aspectj-23a1b71057a3153ada5aeae61f59c35421b51c23.tar.gz aspectj-23a1b71057a3153ada5aeae61f59c35421b51c23.zip |
getting dependency info for inter-type methods
Diffstat (limited to 'org.eclipse.jdt.core')
-rw-r--r-- | org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |