Ver código fonte

work-around for hack that makes BinaryTypeBinding extend SourceTypeBinding

tags/V_1_1_b5
jhugunin 21 anos atrás
pai
commit
779e5e30c4

+ 1
- 0
org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java Ver arquivo

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

Carregando…
Cancelar
Salvar