diff options
author | aclement <aclement> | 2005-12-01 12:03:33 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-12-01 12:03:33 +0000 |
commit | 8098a25607df730cad497c286c9674609b1d3144 (patch) | |
tree | 152c4a2d78da87635b496aa7088b9f56980579e1 /org.aspectj.ajdt.core | |
parent | 020dc6e3132b505fa928f9ce3c11cc6f824cbec7 (diff) | |
download | aspectj-8098a25607df730cad497c286c9674609b1d3144.tar.gz aspectj-8098a25607df730cad497c286c9674609b1d3144.zip |
fix for 118599
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeMemberFinder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeMemberFinder.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeMemberFinder.java index e69e40978..23a3a9418 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeMemberFinder.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeMemberFinder.java @@ -42,7 +42,7 @@ public class InterTypeMemberFinder implements IMemberFinder { private List interTypeMethods = new ArrayList(); public SourceTypeBinding sourceTypeBinding; - + public FieldBinding getField(SourceTypeBinding sourceTypeBinding,char[] fieldName,InvocationSite site,Scope scope) { FieldBinding retField = sourceTypeBinding.getFieldBase(fieldName, true); // XXX may need to get the correct value for second parameter in the future (see #55341) if (interTypeFields.isEmpty()) return retField; @@ -435,6 +435,7 @@ public class InterTypeMemberFinder implements IMemberFinder { MethodBinding[] baseMethods = sourceTypeBinding.methods; for (int i=0, len=baseMethods.length; i < len; i++) { MethodBinding b = baseMethods[i]; + sourceTypeBinding.resolveTypesFor(b); // this will return fast if its already been done. if (matches(binding, b)) { // this always means we should remove the existing method if (b.sourceMethod() != null) { |