public String format(Object value, FormatInstructions instructions) {
FixedFormatter formatter = actualFormatter(context.getDataType());
FixedFormatUtil.assertIsPatternRequired(instructions, context, formatter);
FixedFormatUtil.assertIsBooleanRequired(instructions, context, formatter);
FixedFormatUtil.assertIsDecimalRequired(instructions, context, formatter);
return formatter.format(value, instructions);
}
/**
* In general the by type formatter doesn't require a pattern annotation, but will ask the actual formatter
* if it requires a pattern or not.