int (PsiClass aClass) { if (aClass instanceof PsiAnonymousClass) return 3; if (aClass.isAnnotationType()) return 4; if (aClass.isInterface()) return 2; if (aClass.isEnum()) return 5; if (aClass.isRecord()) return 6; return 1; }