@Override
    public void visitClass(@NotNull PsiClass aClass) {
      if (!ClassUtils.isSingleton(aClass)) {
        return;
      }
      registerClassError(aClass, aClass.isEnum());
    }
@Override
    public void visitClass(@NotNull PsiClass aClass)