LTDA: Initialize project components with resolve session after injector construction is finished

This commit is contained in:
Nikolay Krasko
2014-08-22 22:13:33 +04:00
parent 53b699d745
commit 571f3c8524
21 changed files with 263 additions and 162 deletions
@@ -416,11 +416,6 @@ public class JetTestUtils {
return configuration;
}
public static void newTrace(@NotNull JetCoreEnvironment environment) {
// let the next analysis use another trace
CliLightClassGenerationSupport.getInstanceForCli(environment.getProject()).newBindingTrace();
}
public static void resolveAllKotlinFiles(JetCoreEnvironment environment) throws IOException {
List<String> paths = environment.getConfiguration().get(CommonConfigurationKeys.SOURCE_ROOTS_KEY);
if (paths == null) return;