static boolean isEnumClass(@NotNull ExpectedTypeInfo info) {
    PsiClass expectedClass = PsiUtil.resolveClassInType(info.getType());
    return expectedClass != null && expectedClass.isEnum();
  }
static boolean isEnumClass(@NotNull ExpectedTypeInfo info)