@Override
    public void visitClass(@NotNull PsiClass aClass) {
      if (!PsiUtil.isLocalClass(aClass)) {
        return;
      }
      if (isVisibleHighlight(aClass)) {
        registerClassError(aClass);
      }
      else {
        PsiElement lBrace = aClass.getLBrace();
        if (lBrace != null) {
          registerErrorAtOffset(aClass, 0, lBrace.getStartOffsetInParent());
        }
      }
    }
@Override
    public void visitClass(@NotNull PsiClass aClass)