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> ()"));
{
GeneratorAdapter gm = new GeneratorAdapter(Opcodes.ACC_PUBLIC, getMethod("java.io.Writer runCodes(java.io.Writer, Object[])"), null, null, cw);
int writerLocal = gm.newLocal(Type.getType(Writer.class));
// Put the writer in our local