private static @NotNull EditorColorsScheme getSchemeToUpdate(@NotNull EditorColorsScheme scheme) {
    if (scheme instanceof AbstractColorsScheme) {
      EditorColorsScheme original = ((AbstractColorsScheme)scheme).getOriginal();
      if (original != null) return original;
    }
    return scheme;
  }
private static @NotNull EditorColorsScheme getSchemeToUpdate(@NotNull EditorColorsScheme scheme)