void (@NotNull StringBuilder buf, @NotNull RefClass refClass, boolean capitalizeFirstLetter) { if (refClass.isInterface()) { buf.append(capitalizeFirstLetter ? AnalysisBundle.message("inspection.export.results.capitalized.interface") : AnalysisBundle.message("inspection.export.results.interface")); } else if (refClass.isAbstract()) { buf.append(capitalizeFirstLetter ? AnalysisBundle.message("inspection.export.results.capitalized.abstract.class") : AnalysisBundle.message("inspection.export.results.abstract.class")); } else { buf.append(capitalizeFirstLetter ? AnalysisBundle.message("inspection.export.results.capitalized.class") : AnalysisBundle.message("inspection.export.results.class")); } }