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 pr
If you're using the javadoc
command line tool, you can exclude public methods by marking them as Deprecated
and using the -nodeprecated
option. But if you want something more sophisticated, you'll have to implement it yourself.
A rough idea on how to do it:
IMHO, this is a lot of hassle. Like they said in the comments, if you have a class with multiple interfaces (for different user profiles, I guess?), consider writing separate interfaces.