private void generateRecordParametersSection(StringBuilder buffer, PsiClass recordClass, PsiDocComment comment) {
    if (!recordClass.isRecord() || comment == null) return;
    PsiDocTag[] localTags = comment.findTagsByName("param");
    List<ParamInfo> collectedTags = new ArrayList<>();
    for (PsiRecordComponent component : recordClass.getRecordComponents()) {
      PsiDocTag localTag = getTagByName(localTags, component.getName());
      String presentableName = generateOneParameterPresentableName(component);
      if (localTag != null) {
        collectedTags.add(new ParamInfo(component.getName(), presentableName, localTag, ourEmptyProvider));
      }
    }
    generateParametersSection(buffer, CodeInsightBundle.message("javadoc.parameters"), collectedTags);
  }
private void generateRecordParametersSection(StringBuilder buffer, PsiClass recordClass, PsiDocComment comment)