void (@NotNull GrIfStatement statement) { super.visitIfStatement(statement); final GrStatement thenBranch = statement.getThenBranch(); if (thenBranch != null) { if (isEmpty(thenBranch)) { registerStatementError(statement, statement); return; } } final GrStatement elseBranch = statement.getElseBranch(); if (elseBranch != null) { if (isEmpty(elseBranch)) { registerStatementError(statement, statement); } } }