void generateLink(StringBuilder buffer, PsiElement element, String label, boolean plainLink) {
    String refText = JavaDocUtil.getReferenceText(element.getProject(), element);
    if (refText != null) {
      DocumentationManagerUtil.createHyperlink(buffer, refText, label, plainLink);
    }
  }
void generateLink(StringBuilder buffer, PsiElement element, String label, boolean plainLink)