boolean (@NotNull PsiForStatement statement) { final PsiStatement initialization = statement.getInitialization(); if (initialization != null && !(initialization instanceof PsiEmptyStatement)) { return false; } final PsiStatement update = statement.getUpdate(); if (update != null && !(update instanceof PsiEmptyStatement)) { return false; } if (m_ignoreLoopsWithoutConditions) { final PsiExpression condition = statement.getCondition(); return condition != null && !BoolUtils.isTrue(condition); } return true; }