@NotNull
  private List<BackendCompiler> collectCompilers() {
    final List<BackendCompiler> compilers = new ArrayList<>();
    compilers.add(JAVAC_EXTERNAL_BACKEND);
    if (EclipseCompiler.isInitialized() || ApplicationManager.getApplication().isUnitTestMode()) {
      compilers.add(new EclipseCompiler(myProject));
    }
    compilers.addAll(BackendCompiler.EP_NAME.getExtensions(myProject));

    myDefaultJavaCompiler = JAVAC_EXTERNAL_BACKEND;
    for (BackendCompiler compiler : compilers) {
      if (compiler.getId().equals(myState.DEFAULT_COMPILER)) {
        myDefaultJavaCompiler = compiler;
        break;
      }
    }
    myState.DEFAULT_COMPILER = myDefaultJavaCompiler.getId();
    return compilers;
  }
@NotNull
  private List<BackendCompiler> collectCompilers()