@Override
              public void visitClass(@NotNull PsiClass aClass) {
                if (aClass == upper) {
                  super.visitClass(aClass);
                }
              }
@Override
              public void visitClass(@NotNull PsiClass aClass)