Source:
<code>public static void main(String[] args) { MessageCodeGenerator codeGenerator = new MessageCodeGenerator(); try { if (args.length != 3) { String classname = MessageCodeGenerator.class.getName(); System.err.println("usage: " + classname + " specDir xformDir outputBaseDir"); return; } boolean overwrite = getOption(OVERWRITE_OPTION, true); boolean orderedFields = getOption(ORDERED_FIELDS_OPTION, false); boolean useDecimal = getOption(BIGDECIMAL_TYPE_OPTION, false); long start = System.currentTimeMillis(); final String[] versions = { "FIXT 1.1", "FIX 5.0", "FIX 4.4", "FIX 4.3", "FIX 4.2", "FIX 4.1", "FIX 4.0" }; for (String ver : versions) { Task task = new Task(); task.setName(ver); final String version = ver.replaceAll("[ .]", ""); task.setSpecification(new File(args[0] + "/" + version + ".xml")); task.setTransformDirectory(new File(args[1])); task.setMessagePackage("quickfix." + version.toLowerCase()); task.setOutputBaseDirectory(new File(args[2])); task.setFieldPackage("quickfix.field"); <START> task.setUtcTimestampPrecision(task.utcTimestampPrecision); <END> task.setOverwrite(overwrite); task.setOrderedFields(orderedFields); task.setDecimalGenerated(useDecimal); codeGenerator.generate(task); } double duration = System.currentTimeMillis() - start; DecimalFormat durationFormat = new DecimalFormat("#.###"); codeGenerator.logInfo("Time for generation: " + durationFormat.format(duration / 1000L) + " seconds"); } catch (Exception e) { codeGenerator.logError("error during code generation", e); System.exit(1); } }</code><technical_language>this method is used, this correct</technical_language>

Target:
public static void main(String[] args) { MessageCodeGenerator codeGenerator = new MessageCodeGenerator(); try { if (args.length != 3) { String classname = MessageCodeGenerator.class.getName(); System.err.println("usage: " + classname + " specDir xformDir outputBaseDir"); return; } String utcTimestampPrecision = getOption(UTC_TIMESTAMP_PRECISION_OPTION, null); boolean overwrite = getOption(OVERWRITE_OPTION, true); boolean orderedFields = getOption(ORDERED_FIELDS_OPTION, false); boolean useDecimal = getOption(BIGDECIMAL_TYPE_OPTION, false); long start = System.currentTimeMillis(); final String[] versions = { "FIXT 1.1", "FIX 5.0", "FIX 4.4", "FIX 4.3", "FIX 4.2", "FIX 4.1", "FIX 4.0" }; for (String ver : versions) { Task task = new Task(); task.setName(ver); final String version = ver.replaceAll("[ .]", ""); task.setSpecification(new File(args[0] + "/" + version + ".xml")); task.setTransformDirectory(new File(args[1])); task.setMessagePackage("quickfix." + version.toLowerCase()); task.setOutputBaseDirectory(new File(args[2])); task.setFieldPackage("quickfix.field"); task.setUtcTimestampPrecision(utcTimestampPrecision); task.setOverwrite(overwrite); task.setOrderedFields(orderedFields); task.setDecimalGenerated(useDecimal); codeGenerator.generate(task); } double duration = System.currentTimeMillis() - start; DecimalFormat durationFormat = new DecimalFormat("#.###"); codeGenerator.logInfo("Time for generation: " + durationFormat.format(duration / 1000L) + " seconds"); } catch (Exception e) { codeGenerator.logError("error during code generation", e); System.exit(1); } }