if(!("client".equals(runAt) || "system".equals(runAt) || "local".equals(runAt))){
return ((HttpJsonSource)((Persistable)thisObj).getId().source).executeRPC(((Persistable)thisObj).getId(), methodName, args);
}
}
else if ("client".equals(runAt)){
Client.getCurrentObjectResponse().sendMessage(new RPCall((Persistable)thisObj,methodName,args));
return RPCall.SUSPENDED;
}
Object returnValue = innerFunction.call(cx, scope, thisObj, args);
Object returns = methodDefinition.get("returns");