@SuppressWarnings("unchecked")
  @Override
  public final @Nullable Converter<?> getConverterByClass(final Class<?> convertingClass) {
    Converter<?> converter = mySimpleConverters.get(convertingClass);
    if (converter != null) {
      return converter;
    }

    if (Enum.class.isAssignableFrom(convertingClass)) {
      return EnumConverter.createEnumConverter((Class<? extends Enum<?>>)convertingClass);
    }
    if (DomElement.class.isAssignableFrom(convertingClass)) {
      return DomResolveConverter.createConverter((Class<? extends DomElement>)convertingClass);
    }
    return null;
  }
@SuppressWarnings("unchecked")
  @Override
  public final @Nullable Converter<?> getConverterByClass(final Class<?> convertingClass)