String (List<String> elements, int remaining) { StreamEx<String> strings = StreamEx.of(elements); if (remaining > 0) { strings = strings.append(JavaDebuggerBundle.message("message.node.array.elements.more", remaining)); } return strings.joining(", ", "[", "]"); }