boolean (@NotNull PsiWhileStatement loopStatement) { final PsiExpression condition = loopStatement.getCondition(); final Object value = ExpressionUtils.computeConstantExpression(condition); return value != Boolean.TRUE || statementContainsBreakToStatementOrAncestor(loopStatement) || statementContainsContinueToAncestor(loopStatement); }