<BUG>final PsiCodeBlock codeBlock =((PsiBlockStatement)statement).getCodeBlock();final PsiStatement[] statements = codeBlock.getStatements();for (PsiStatement statement1 : statements) {if (!statementIsEmpty(statement1)) {</BUG><CONTEXT>}if (statement instanceof PsiEmptyStatement) {return true;}if (statement instanceof PsiBlockStatement) {<extra_id_0>return false;</CONTEXT>
registerStatementError(statement);