public static @NlsSafe String shortenType(@NlsSafe String typeText) {
    if (typeText == null) return "";
    final int i = typeText.lastIndexOf(".");
    if (i != -1) {
      return typeText.substring(i + 1);
    }
    return typeText;
  }
public static @NlsSafe String shortenType(@NlsSafe String typeText)