This method was in-lined for performance reasons (the OptionsResolver is used intensively, and possible called a 1000 times per request) so this should not be changed.

Keeping the createPrintableType() and createPrintableValue() in there own method should be OK as they are only used for exceptions.