ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_MAXS | ClassWriter.COMPUTE_FRAMES);
int classId = id.incrementAndGet();
String className = "com.github.mustachejava.codegen.RunCodes" + classId;
String internalClassName = className.replace(".", "/");
cw.visit(Opcodes.V1_6, Opcodes.ACC_PUBLIC + Opcodes.ACC_SUPER, internalClassName, null, "java/lang/Object", new String[]{CompiledCodes.class.getName().replace(".", "/")});
cw.visitSource("runCodes", null);
GeneratorAdapter cm = new GeneratorAdapter(Opcodes.ACC_PUBLIC, getMethod("void <init> (com.github.mustachejava.Code[])"), null, null, cw);
cm.loadThis();
cm.invokeConstructor(Type.getType(Object.class), getMethod("void <init> ()"));
{