String lineDelimiter = System.getProperty("line.separator", "\n"); //$NON-NLS-1$ //$NON-NLS-2$
CodeTemplateContext context= new CodeTemplateContext(template.getContextTypeId(), null, lineDelimiter);
// context.setCompilationUnitVariables(cu);
-
-
return new ByteArrayInputStream(StubUtility.evaluateTemplate(context, template).getBytes());
} catch (CoreException e) {
e.printStackTrace();