public static Object newProxyInstance(ClassLoader loader, Class<?>[] interfaces, InvocationHandler h) throws IllegalArgumentException { if (interfaces.length != 1) throw new RuntimeException("JTransc just supports Proxies with 1 interface"); return _newProxyInstance(JTranscCoreReflection.getClassId(interfaces[0]), h); }