cw.visit(RubyInstanceConfig.JAVA_VERSION, ACC_PUBLIC + ACC_SUPER, namePath, null, p(Object.class), new String[] {p(CompiledBlockCallback19.class)});
cw.visitField(ACC_PRIVATE | ACC_FINAL, "$scriptObject", ci(fieldClass), null, null);
SkinnyMethodAdapter mv = new SkinnyMethodAdapter(cw, ACC_PUBLIC, "<init>", sig(Void.TYPE, params(Object.class)), null, null);
mv.start();
mv.aload(0);
mv.invokespecial(p(Object.class), "<init>", sig(void.class));
mv.aload(0);
mv.aload(1);
mv.checkcast(p(fieldClass));
mv.putfield(namePath, "$scriptObject", ci(fieldClass));
mv.voidreturn();