void ( @NotNull PsiContinueStatement continueStatement) { if (found) { return; } super.visitContinueStatement(continueStatement); final PsiIdentifier labelIdentifier = continueStatement.getLabelIdentifier(); if (labelIdentifier == null) { return; } final PsiStatement continuedStatement = continueStatement.findContinuedStatement(); if (continuedStatement == null) { return; } if (PsiTreeUtil.isAncestor(continuedStatement, statement, true)) { found = true; } }