How could one export the outline of a Java class to a plain text file?
Something similar to the Outline View in Eclipse, but in a text file. Similar to extracting the interface, but suffeciently more basic.
I've tried to search for such a tool but couldn't find it. I would prefer if extracting the outline could be automated, eg. run the tool from a script.