private static @NotNull String getIcon(@NotNull PsiClass psiClass) {
    return psiClass.isEnum() ? "AllIcons.Nodes.Enum" :
           psiClass.isRecord() ? "AllIcons.Nodes.Record" :
           psiClass.isAnnotationType() ? "AllIcons.Nodes.Annotationtype" :
           psiClass.isInterface() ? "AllIcons.Nodes.Interface" :
           psiClass.hasModifierProperty(PsiModifier.ABSTRACT) ? "AllIcons.Nodes.AbstractClass" :
           "AllIcons.Nodes.Class";
  }
private static @NotNull String getIcon(@NotNull PsiClass psiClass)