String name = "constant$" + index;
ArrayList<Modifier> fmods = new ArrayList<Modifier>();
fmods.add(Modifier.ACC_PRIVATE);
fmods.add(Modifier.ACC_STATIC);
fmods.add(Modifier.ACC_FINAL);
JvmType type = convertType(constant.type());
ClassFile.Field field = new ClassFile.Field(name, type, fmods);
cf.fields().add(field);
// Now, create code to intialise this field
translate(constant,0,lambdas,bytecodes);