Selaa lähdekoodia

work-around for hack that makes BinaryTypeBinding extend SourceTypeBinding

tags/V_1_1_b5
jhugunin 21 vuotta sitten
vanhempi
commit
779e5e30c4

+ 1
- 0
org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java Näytä tiedosto

@@ -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) {

Loading…
Peruuta
Tallenna