((ScriptableObject)scope).defineProperty(scope, "Remote", ctor, ScriptableObject.DONTENUM);
ScriptableObject.defineProperty(scope, "Remote", ctor, ScriptableObject.DONTENUM);
    public static void init(Scriptable scope) {        Method[] methods = XmlRpcObject.class.getDeclaredMethods();        Member ctorMember = null;        for (int i=0; i<methods.length; i++) {            if ("xmlrpcObjectConstructor".equals(methods[i].getName())) {                ctorMember = methods[i];                break;            }        }        FunctionObject ctor = new FunctionObject("Remote", ctorMember, scope);        ((ScriptableObject)scope).defineProperty(scope, "Remote", ctor, ScriptableObject.DONTENUM);        // ctor.addAsConstructor(scope, proto);    }