void (@NotNull PsiForStatement statement) { super.visitForStatement(statement); final boolean hasCondition = hasCondition(statement); final boolean hasInitializer = hasInitializer(statement); final boolean hasUpdate = hasUpdate(statement); if (hasCondition && hasInitializer && hasUpdate) { return; } if (ignoreCollectionLoops && isCollectionLoopStatement(statement)) { return; } registerStatementError(statement, Boolean.valueOf(hasInitializer), Boolean.valueOf(hasCondition), Boolean.valueOf(hasUpdate)); }