void (@NotNull PsiContinueStatement statement) { PsiStatement continuedStatement = statement.findContinuedStatement(); if(continuedStatement == null || !PsiTreeUtil.isAncestor(myRoot, continuedStatement, false)) { myCanBeLambdaBody = false; } super.visitContinueStatement(statement); }