I'm attempting to create a User Macro that will display a table of available user macros in our Confluence instance so that I don't have to manually maintain the documentation for those macros as we create them.
I note that the $action (ConfluenceActionSupport) object (documented here https://developer.atlassian.com/server/confluence/confluence-objects-accessible-from-velocity/#default-velocity-context) has a subclass of UserMacroAction (documented here https://docs.atlassian.com/ConfluenceServer/javadoc/8.4.2/com/atlassian/confluence/admin/actions/macros/UserMacroAction.html), which looks promising, but I'm not sure how I could drill into it or if this level of access is even available to user macro implementations.