doclet

Is there a way to produce Javadoc for a subset of public methods? For example by annotating public methods as “not part of the public API”

99封情书 提交于 2019-12-01 04:21:10
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

Is there a way to produce Javadoc for a subset of public methods? For example by annotating public methods as “not part of the public API”

扶醉桌前 提交于 2019-12-01 02:02:24
问题 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