@Override
  public T fromString(final @Nullable @NonNls String s, final @NotNull ConvertContext context) {
    if (s == null) return null;

    if (myAllowEmpty && s.trim().length() == 0) {
      return null;
    }

    //noinspection unchecked
    return (T)parseNumber(s, myNumberClass);
  }
@Override
  public T fromString(final @Nullable @NonNls String s, final @NotNull ConvertContext context)