ArrayList<LineNumberTable.Entry> lineNumbers = new ArrayList<LineNumberTable.Entry>();
ArrayList<Bytecode> codes;
codes = translate(mcase,constants,lambdas,handlers,lineNumbers);
jasm.attributes.Code code = new jasm.attributes.Code(codes,handlers,cm);
if(!lineNumbers.isEmpty()) {
code.attributes().add(new LineNumberTable(lineNumbers));
}
cm.attributes().add(code);
return cm;
}