private @BuildEventsNls.Hint String calculateCurrentHint(@NotNull ExecutionNode node) {
      assert node.myIsCorrectThread.get();
      if (myWarnings > 0 || myErrors > 0) {
        String errorHint = myErrors > 0 ? LangBundle.message("build.event.message.errors", myErrors) : "";
        String warningHint = myWarnings > 0 ? LangBundle.message("build.event.message.warnings", myWarnings) : "";
        String issuesHint = !errorHint.isEmpty() && !warningHint.isEmpty() ? errorHint + ", " + warningHint : errorHint + warningHint;
        ExecutionNode parent = node.getParent();
        if (parent == null || parent.getParent() == null) {
          if (node.isRunning()) {
            return StringUtil.notNullize(myHint) + "  " + issuesHint;
          }
          else {
            return LangBundle.message("build.event.message.with", StringUtil.notNullize(myHint), issuesHint);
          }
        }
        else {
          return StringUtil.notNullize(myHint) + " " + issuesHint;
        }
      }
      else {
        return myHint;
      }
    }
private @BuildEventsNls.Hint String calculateCurrentHint(@NotNull ExecutionNode node)