void (@NotNull PsiClass aClass) { if (!jvmCompatible) { super.visitClass(aClass); if (aClass.getQualifiedName() == null) { myCurrentIdx++; if (myCurrentIdx == idx && Comparing.strEqual(name, aClass.getName())) { result[0] = aClass; } } return; } if (aClass == containingClass) { super.visitClass(aClass); return; } if (Comparing.strEqual(name, aClass.getName())) { myCurrentIdx++; if (myCurrentIdx == idx || idx == -1) { result[0] = aClass; } } }