CompletableFuture<String> (Value value) { if (value instanceof StringReference) { return DebuggerUtilsAsync.getStringValue((StringReference)value).thenApply(e -> "\"" + StringUtil.first(e, 15, true) + "\""); } return CompletableFuture.completedFuture(value != null ? value.toString() : "null"); }