void (@NotNull PsiBlockStatement statement) { final PsiElement other = myMatchingVisitor.getElement(); if (other instanceof PsiCodeBlock) { myMatchingVisitor.setResult(!(other.getParent() instanceof PsiBlockStatement) && myMatchingVisitor.matchSons(statement.getCodeBlock(), other)); } else { myMatchingVisitor.setResult(myMatchingVisitor.matchSons(statement, other)); } }