int (int i, @NotNull String text, int nSlashes, @NotNull StringBuilder result) { int next = parseEscapedSpace(i, text, nSlashes, result); if (next != -1) return next; next = parseEscapedLineBreak(i, text, nSlashes, result); if (next != -1) return next; result.append(StringUtil.repeatSymbol('\\', nSlashes)).append(text.charAt(i)); return i + 1; }