Get function name, module and arity from function capture

No, I will not store byte code in DB. My requirement is to convert function capture, e.g. &MyModule.my_function/0 into module name as string, function name as string and function arity as integer.