下面代码会报一个编译错误

这段代码是我写的,在我的eclipse中没有报错,但是在别人的ide中却报错.
解决方法:
baseresponsedto result = null;
object responsetextobj = response.get("responsetext");
if (responsetextobj instanceof baseresponsedto) {
result = (baseresponsedto) responsetextobj;
} else {
result = (baseresponsedto) jsonextension.parseobject((string) responsetextobj, clazz);
}