void (@NotNull PsiLoopStatement loop) { PsiStatement loopBody = loop.getBody(); if (loopBody == null) return; FileAttributeCallsVisitor visitor = new FileAttributeCallsVisitor(myScope, myReporter); loopBody.accept(visitor); myReporter.accept(visitor.myCalls); }