public void addCompileTasks(List<MavenCompilerTask> tasks, @NotNull Phase phase) {
    synchronized (myStateLock) {
      myState.getTasks(phase).addAll(tasks);
    }
    fireTasksChanged();
  }
public void addCompileTasks(List<MavenCompilerTask> tasks, @NotNull Phase phase)