@Override
    public boolean equals(Object o) {
      if (this == o) return true;
      if (!(o instanceof FlyweightKey)) return false;

      FlyweightKey key = (FlyweightKey)o;

      if (fontType != key.fontType) return false;
      if (!Objects.equals(background, key.background)) return false;
      if (!Objects.equals(effectColor, key.effectColor)) return false;
      if (effectType != key.effectType) return false;
      if (!Objects.equals(errorStripeColor, key.errorStripeColor)) return false;
      if (!Objects.equals(foreground, key.foreground)) return false;
      if (!myAdditionalEffects.equals(key.myAdditionalEffects)) return false;

      return true;
    }
@Override
    public boolean equals(Object o)