new ICompilationUnit[classNames.length];
for (int i = 0; i < compilationUnits.length; i++) {
String className = classNames[i];
compilationUnits[i] = new CompilationUnit(fileNames[i], className,ctx.getEncoding());
}
Compiler compiler = new Compiler(env, policy, settings, requestor, problemFactory, true);
compiler.compile(compilationUnits);
return compileResult;