DualModeLineNumberMap lineNumberMap = new DualModeLineNumberMap(source.getNameForReporting(), genFileName);
styleModule.setLineNumberMap(lineNumberMap);
try
{
VelocityUtil velocityUtil = new VelocityUtil(TEMPLATE_PATH, configuration.debug(),
sourceCodeBuffer, lineNumberMap);
VelocityContext velocityContext = VelocityManager.getCodeGenContext(velocityUtil);
velocityContext.put(STYLE_MODULE_KEY, styleModule);
template.merge(velocityContext, sourceCodeBuffer);
}