I know how to produce Javadoc for a subset of classes/interfaces/packages. But is there a way to produce Javadoc for only a subset of public methods?
What I would prefer is to be able to mark methods (Javadoc tag or annotation) as belonging to a certain API or not be part of it. Then have a tool that produces Javadoc only for the specified set of methods - the ones which forms the API.
The choice between public/private/package access to a method is not enough for my project. A public method may belong to a public API or not, or it might belong to API 1, but not API 2. Essentially, I would like to be able to choose the API from an arbitrary subset of my public methods.