String (String code, int times) { StringBuilder result = new StringBuilder(); for (String line : StringUtil.tokenize(code, "\n")) { result.append(" ".repeat(times)); result.append(line).append('\n'); } return result.toString(); }