diff options
author | jhugunin <jhugunin> | 2003-01-03 19:16:44 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-01-03 19:16:44 +0000 |
commit | 779e5e30c4e0adc33b7f7f757d91b54ee5c21c12 (patch) | |
tree | 652e2751bb75c80ae9f7b7079cc2e6ae2138bb5f /org.eclipse.jdt.core | |
parent | 3fb52353cc63299ef545acd6540b90da084e35fa (diff) | |
download | aspectj-779e5e30c4e0adc33b7f7f757d91b54ee5c21c12.tar.gz aspectj-779e5e30c4e0adc33b7f7f757d91b54ee5c21c12.zip |
work-around for hack that makes BinaryTypeBinding extend SourceTypeBinding
Diffstat (limited to 'org.eclipse.jdt.core')
-rw-r--r-- | org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java index 34f38282c..c8e5d9979 100644 --- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java +++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java @@ -387,6 +387,7 @@ public final int sourceEnd() { } public AbstractMethodDeclaration sourceMethod() { SourceTypeBinding sourceType; + if (declaringClass instanceof BinaryTypeBinding) return null; try { sourceType = (SourceTypeBinding) declaringClass; } catch (ClassCastException e) { |