void (@NotNull PsiElement element) { for (int i = 0; i < 100; i++) { assertSame(myProject, element.getProject()); } if (c++ % 100 == 0) { assertNotNull(ProjectCoreUtil.theOnlyOpenProject()); } super.visitElement(element); }