private String calculateText() {
    if (myTypeElements.length == 0) return "";
    final StringJoiner buffer = new StringJoiner(",", "<", ">");
    for (PsiTypeElement type : myTypeElements) {
      buffer.add(type.getText());
    }
    return buffer.toString();
  }
private String calculateText()