String (@NotNull String singularName, @NotNull BuilderInfo info) { final String codeBlockTemplate = "if (this.{0} == null) this.{0} = {2}.{3}; \n" + "this.{0}.put(" + LOMBOK_KEY + ", " + LOMBOK_VALUE + ");\n" + "return {4};"; return MessageFormat.format(codeBlockTemplate, info.getFieldName(), singularName, collectionQualifiedName, sortedCollection ? "naturalOrder()" : "builder()", info.getBuilderChainResult()); }