void (@NotNull PsiIfStatement statement) { super.visitIfStatement(statement); final PsiStatement elseStatement = statement.getElseBranch(); if (elseStatement instanceof PsiBlockStatement || elseStatement instanceof PsiIfStatement) { return; } checkWhitespaceSuspiciousness(statement, (elseStatement == null) ? statement.getThenBranch() : elseStatement); }