void (@NotNull PsiStatement targetStatement) { Set<PsiBreakStatement> breaks = getBreaks(targetStatement); for (PsiBreakStatement breakStatement : breaks) { PsiStatement prevNonEmptyStatement = getPrevNonEmptyStatement(breakStatement, removeCompletely); if (prevNonEmptyStatement == null || !moveTo(prevNonEmptyStatement, false)) { replaceInline.add(breakStatement); } else { removeCompletely.add(breakStatement); } } }