public JavaAwareCompilationUnit(CompilerConfiguration configuration) {
this(configuration,null);
}
public JavaAwareCompilationUnit(CompilerConfiguration configuration, GroovyClassLoader groovyClassLoader) {
super(configuration,null,groovyClassLoader);
<BUG>javaSources = new LinkedList();
</BUG>
Map options = configuration.getJointCompilationOptions();
generationGoal = (File) options.get("stubDir");
boolean useJava5 = configuration.getTargetBytecode().equals(CompilerConfiguration.POST_JDK5);

public JavaAwareCompilationUnit(CompilerConfiguration configuration) {
this(configuration,null);
}
public JavaAwareCompilationUnit(CompilerConfiguration configuration, GroovyClassLoader groovyClassLoader) {
super(configuration,null,groovyClassLoader);
javaSources = new LinkedList<String>();
Map options = configuration.getJointCompilationOptions();
generationGoal = (File) options.get("stubDir");
boolean useJava5 = configuration.getTargetBytecode().equals(CompilerConfiguration.POST_JDK5);
