FIXME triage and formatting cleanups
[org.ibex.js.git] / src / org / ibex / js / JSReflection.java
index 4712d08..2f163e7 100644 (file)
@@ -17,7 +17,7 @@ public class JSReflection extends JS.Immutable {
         if (o instanceof Number) return JSU.N((Number)o);
         if (o instanceof JS) return (JS)o;
         if (o instanceof Object[]) {
-            // FIXME: get element type here
+            throw new JSExn("Reflection onto Object[] not supported yet");
         }
         throw new JSExn("Reflection object tried to return a " + o.getClass().getName());
     }
@@ -36,8 +36,7 @@ public class JSReflection extends JS.Immutable {
         public JS get(JS key) throws JSExn { return wrap(arr[JSU.toInt(key)]); }
     }
 
-    // FIXME public static class Hash { }
-    // FIXME public Enumeration keys() throws JSExn {  }
+    public Enumeration keys() throws JSExn { throw new JSExn("JSReflection.keys() not supported yet"); }
 
     public JS get(JS key) throws JSExn {
         String k = JSU.toString(key);