It looks like getExtension could only be used on Message instance but not Descriptors as findCustomScalarOption used to do.
What if I want to get the options without creating a new instance but only with the Descriptors, such as get options from an enum?
It would be better if these extension related interfaces could be used with Types, aka Descriptors, instead of instances.