Checks that default value provided by @DefaultValue can be converted to the specified type.