public @Nls String render(Document doc, CauseItem parent) {
      String title = null;
      Segment range = getTargetSegment();
      if (range != null) {
        String cause = getProblemName();
        if (cause.contains(PLACE_POINTER)) {
          int offset = range.getStartOffset();
          int number = doc.getLineNumber(offset);
          title = cause.replaceFirst(PLACE_POINTER, JavaAnalysisBundle.message("dfa.find.cause.place.line.number", number + 1));
        }
      }
      if (title == null) {
        title = toString();
      }
      int childIndex = parent == null ? 0 : parent.myChildren.indexOf(this);
      if (childIndex > 0) {
        title = (parent.myProblem instanceof PossibleExecutionDfaProblemType
                 ? JavaAnalysisBundle.message("dfa.find.cause.or.another", title)
                 : JavaAnalysisBundle.message("dfa.find.cause.and.another", title));
      } else {
        title = StringUtil.capitalize(title);
      }
      return title;
    }
public @Nls String render(Document doc, CauseItem parent)