void () { Project project = myTree.getProject(); if (processed && !values.contains(null) && !project.isDisposed()) { int minIndent = Integer.MAX_VALUE; for (int indent : indents.values()) { minIndent = Math.min(minIndent, indent); } StringBuilder sb = new StringBuilder(); for (int i = 0; i < values.size(); i++) { if (i > 0) { sb.append("\n"); } int indent = indents.get(i); if (indent > 0) { StringUtil.repeatSymbol(sb, ' ', indent - minIndent); } sb.append(values.get(i)); } handleInCollector(project, sb.toString(), myTree); } }