try {
if (rawJaxbModelGenCode instanceof S2JJAXBModel) {
S2JJAXBModel schem2JavaJaxbModel = (S2JJAXBModel)rawJaxbModelGenCode;
JCodeModel jcodeModel = schem2JavaJaxbModel.generateCode(null, null);
String dir = (String)env.get(ToolConstants.CFG_OUTPUTDIR);
FileCodeWriter fileCodeWriter = new FileCodeWriter(new File(dir));
jcodeModel.build(fileCodeWriter);
} else {
return;
}
} catch (IOException e) {