void (@NotNull PsiResourceList resourceList) { if (shouldVisit(resourceList)) { myIndexStack.push(myCurrentSlotIndex); try { super.visitResourceList(resourceList); } finally { myCurrentSlotIndex = myIndexStack.pop(); } } }