protected boolean hasTask(@Nullable MavenTasksManager manager, MavenCompilerTask task) {
    if(manager == null) return false;
    return manager.isCompileTaskOfPhase(task, myPhase);
  }
protected boolean hasTask(@Nullable MavenTasksManager manager, MavenCompilerTask task)