Color (@NotNull Supplier<? extends Component> supplier, @NotNull ColorKey transparent, @NotNull ColorKey opaque) { return JBColor.lazy(() -> { Component component = supplier.get(); return getColor(component, component != null && DefaultScrollBarUI.isOpaque(component) ? opaque : transparent); }); }