JvmClassKind (@NotNull PsiClass psiClass) { if (psiClass.isAnnotationType()) return JvmClassKind.ANNOTATION; if (psiClass.isInterface()) return JvmClassKind.INTERFACE; if (psiClass.isEnum()) return JvmClassKind.ENUM; return JvmClassKind.CLASS; }