this.generatedClassManager = new GeneratedClassManager(outputDirectory, packageName);
this.promptForComplexValueTypes = promptForComplexValueTypes;
File regexFile = new File(regexFilename);
if (regexFile.exists()) {
System.out.println(String.format("Using regex file '%s'", regexFilename));
RegexFilter regexFilter = objectMapper.readValue(regexFile, new TypeReference<RegexFilter>() {
});
this.regexFilter = Optional.of(regexFilter);
} else {
System.out.println(String.format("Regex file not supplied or not found '%s'.", regexFilename));
this.regexFilter = Optional.absent();