// convert java class name to javascript class name
fqcn = boot.getPropertyAs(NativeObject.class, "names").getPropertyAs(String.class, fqcn);
}
NativeObject definition = boot.getPropertyAs(NativeObject.class, fqcn);
if (definition == null) {
throw (RuntimeException) (Object) new ClassNotFoundException(fqcn);
// return (Class) (Object) new JSClass(fqcn, new NativeObject(), new NativeArray(),
// Object.class, new NativeObject());
}
JSClass clazz = (JSClass) definition.getProperty("$");
for (int i = 0; i < size; i++) {
clazz = clazz.getArrayClass();
}
return (Class) (Object) clazz;