public static String getClassOrInterface(@NotNull RefClass refClass, boolean capitalizeFirstLetter) {
    String message;
    if (refClass.isAnnotationType()) {
      message = AnalysisBundle.message("inspection.export.results.annotation.type");
    }
    else if (refClass.isInterface()) {
      message = AnalysisBundle.message("inspection.export.results.interface");
    }
    else if (refClass.isAbstract()) {
      message = AnalysisBundle.message("inspection.export.results.abstract.class");
    }
    else if (refClass.isEnum()) {
      message = AnalysisBundle.message("inspection.export.results.enum.class");
    }
    else if (refClass.isRecord()) {
      message = AnalysisBundle.message("inspection.export.results.record.class");
    }
    else {
      message = AnalysisBundle.message("inspection.export.results.class");
    }
    return capitalizeFirstLetter ? Strings.capitalize(message) : message;
  }
public static String getClassOrInterface(@NotNull RefClass refClass, boolean capitalizeFirstLetter)