void (@NotNull PsiIfStatement statement) { super.visitIfStatement(statement); final PsiExpression condition = statement.getCondition(); if (condition != null) { final TypeView view = new TypeView(condition); if (view.isChanged()) { //means that boolean condition becomes non-boolean findConversionOrFail(condition, condition, view.getTypePair()); } } }