private static boolean presentNamedParameters(@NotNull StringBuilder buffer, @NotNull GrParameter parameter, boolean doHighlighting) {
    List<NamedParamData> pairs = NamedParamsUtil.collectNamedParams(parameter);
    for (int i = 0; i < pairs.size(); i++) {
      NamedParamData namedParam = pairs.get(i);
      appendStyledSpan(doHighlighting, buffer, GroovySyntaxHighlighter.PARAMETER, namedParam.getName());
      appendStyledSpan(doHighlighting, buffer, JavaHighlightingColors.OPERATION_SIGN, ": ");
      appendStyledSpan(doHighlighting, buffer, GroovySyntaxHighlighter.CLASS_REFERENCE, namedParam.getType().getPresentableText());
      if (i != pairs.size() - 1) {
        appendStyledSpan(doHighlighting, buffer, JavaHighlightingColors.COMMA, ", ");
      }
    }
    return !pairs.isEmpty();
  }
private static boolean presentNamedParameters(@NotNull StringBuilder buffer, @NotNull GrParameter parameter, boolean doHighlighting)