public static byte[] getCode(ArrayList<Object> remoteDetails, String className) {
ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES);
String[] iF = {"java/rmi/Remote","java/io/Serializable"};
cw.visit(V1_6, ACC_PUBLIC + ACC_ABSTRACT + ACC_INTERFACE, className, null, "java/lang/Object",iF);
cw.visitSource("$HY$_IBankAccount.java", null);
ProxyInterface.addCode(remoteDetails, cw);
cw.visitEnd();
//Test Generated Class
ClassReader cr3 = new ClassReader(cw.toByteArray());
ClassWriter cw1 = new ClassWriter(ClassWriter.COMPUTE_MAXS);