new js api
[org.ibex.core.git] / src / org / ibex / js / JSReflection.java
index 69fb9b3..d2a9d14 100644 (file)
@@ -6,10 +6,11 @@ import java.io.*;
 import java.util.*;
 import java.lang.reflect.*;
 
+// FIXME: Update for new API
 /** Automatic JS-ification via Reflection (not for use in the core) */
 public class JSReflection extends JS {
 
-    public static Object wrap(Object o) throws JSExn {
+    /*public static Object wrap(Object o) throws JSExn {
         if (o == null) return null;
         if (o instanceof String) return o;
         if (o instanceof Boolean) return o;
@@ -76,5 +77,5 @@ public class JSReflection extends JS {
             throw new JSExn("unhandled reflected exception: " + ite.toString());
         } catch (SecurityException nfe) { }
         throw new JSExn("called a reflection method with the wrong number of arguments");
-    }    
+    }*/
 }