private static @Nullable @NlsSafe String toShortName(@Nullable String fqName) {
    if (fqName == null || fqName.contains(" ")) {
      return null;
    }
    String shortName = StringUtil.substringAfterLast(fqName, ".");
    if (shortName != null) {
      return shortName;
    }
    return fqName;
  }
private static @Nullable @NlsSafe String toShortName(@Nullable String fqName)