if (compilationErrorReporter == null) {
compilationErrorReporter = compilerEnv.getErrorReporter();
}
Parser p = new Parser(compilerEnv, compilationErrorReporter);
AstRoot ast = p.parse(in, file.toString(), 1);
IRFactory irf = new IRFactory(compilerEnv, compilationErrorReporter);
ScriptNode tree = irf.transformTree(ast);
Object[] nameBytesPair = (Object[]) (Object[]) compiler.compile(
compilerEnv, tree, tree.getEncodedSource(), false);
String className = (String) nameBytesPair[0];
byte[] classBytes = (byte[]) (byte[]) nameBytesPair[1];
File outFile = new File(className.replace('.', File.separatorChar)