Frameworks often need to contain classes that have public methods because of the needs of the framework; users using the framework aren't really supposed to invoke them.
For example, a Class might have a public constructor so a factory in another package can instantiate it, but the user is always supposed to use the factory, never the constructor directly.
I'd like JavaDoc to only emit documentation on those methods that a user is supposed to invoke, not others. So in the example, it should document the factory method, but not the public constructor.
Of course, JavaDoc itself won't know which is which, so I was thinking the "public" methods could be annotated with some Annotation, like @SupportedAPI, and JavaDoc would only spit out documentation on those. (This would have the added benefit to mark clearly which methods are expected to remain stable.)
Can JavaDoc be configured to do that?