private static boolean hasCompilationResults(@NotNull ProjectTaskManager.Result result) {
      return result.anyTaskMatches(
        (task, state) -> task instanceof ModuleBuildTask && !state.isFailed() && !state.isSkipped()
      );
    }
private static boolean hasCompilationResults(@NotNull ProjectTaskManager.Result result)