void (@NotNull String text, @NotNull Key outputType, @NotNull StringBuilder lastLine) { // text is not more than one line - either one line or part of the line if (StringUtil.endsWith(text, "\n")) { // we have full line - notify listeners super.notifyTextAvailable(text, resolveOutputType(text, outputType)); } else { // save line part to lastLine lastLine.append(text); } }