void (@NotNull SchemeMetaInfo dst, @NotNull SchemeMetaInfo src) { Properties dstProps = dst.getMetaProperties(); dstProps.entrySet().removeIf(entry -> isRainbowKey(entry.getKey())); src.getMetaProperties().forEach((Object key, Object value) -> { if (isRainbowKey(key) && value instanceof String) { dstProps.setProperty((String)key, (String)value); } }); }