import org.deuce.transform.asm.storage.MethodDetails;
public class ProxyImplementation implements Opcodes{
public static byte[] getCode(ArrayList<Object> remoteDetails, String className) {
ClassDetails cD = new ClassDetails();
cD.update(className);
ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES);
String[] iF = {"java/rmi/Remote","java/io/Serializable"};
cw.visit(V1_6, ACC_PUBLIC,className, null, "java/rmi/server/UnicastRemoteObject",iF);
ProxyImpl.addCode(remoteDetails, cw, cD);
cw.visitEnd();