void (@NotNull PsiBreakStatement statement) { PsiStatement exitedStatement = statement.findExitedStatement(); if(exitedStatement == null || !PsiTreeUtil.isAncestor(myRoot, exitedStatement, false)) { myCanBeLambdaBody = false; } super.visitBreakStatement(statement); }