Color (@NotNull String name) { return new JBColor((Supplier<? extends Color>)() -> { throw new AssertionError(name); }) { @Override public boolean equals(Object obj) { return this == obj; } @Override public int hashCode() { return System.identityHashCode(this); } @Override public String toString() { return name; } }; }