void (@NotNull PsiForStatement forStatement) { super.visitForStatement(forStatement); if (isArrayLoopStatement(forStatement) || isCollectionLoopStatement(forStatement, ignoreUntypedCollections)) { registerStatementError(forStatement, false); } else if (REPORT_INDEXED_LOOP && isIndexedListLoopStatement(forStatement, ignoreUntypedCollections)) { registerStatementError(forStatement, true); } }