How to list all methods defined in a file, including extension methods


I already found here a trick for how to list functions defined in a given Julia file:

I can go further for methods using methods(f, [types], [module]) .
However, I can’t figure out how to also get the extension methods.
I aks because I extended quite a few Docs.getdoc and I would appreciate to have an overview.

Any suggestion to list methods including extensions?