DescriptorRenderer ( @NotNull DescriptorRenderer renderer, @NotNull Consumer<DescriptorRendererOptions> configure ) { return renderer.withOptions(options -> { configure.accept(options); return Unit.INSTANCE; }); }