boolean (@NotNull GrSwitchStatement switchStatement) { if (statementIsBreakTarget(switchStatement)) { return true; } final GrCaseSection[] caseClauses = switchStatement.getCaseSections(); if (ContainerUtil.find(caseClauses, section -> section.isDefault()) == null) { return true; } final GrCaseSection lastClause = caseClauses[caseClauses.length - 1]; final GrStatement[] statements = lastClause.getStatements(); if (statements.length == 0) { return true; } return statementMayCompleteNormally(statements[statements.length - 1]); }