@Override
  protected @NotNull String toExternal(@NotNull Enum<?> value) {
    List<String> names = myEnumMap.getKeysByValue(value);
    assert names != null && names.size() > 0 : "Unexpected value " + value;
    return names.get(0);
  }
@Override
  protected @NotNull String toExternal(@NotNull Enum<?> value)