cc.setModifiers(cc.getModifiers() | Modifier.FINAL);
// add c'tor plus methods (order matters)
cc.addConstructor(CtNewConstructor.make(codeCtor, cc));
cc.addMethod(CtNewMethod.make(codeExecInt, cc));
cc.addMethod(CtNewMethod.make(codeExec, cc));
Constructor ctor =
cc.toClass().getDeclaredConstructor(
FunctionName.class, List.class, List.class,
AbstractType.class, String.class, boolean.class);