You could change it to `createBuilder(JsonSerializer... adapters)` and use `Arrays.asList(adapters)` on the line below.