下面代碼會報一個編譯錯誤

這段代碼是我寫的,在我的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);
}