On 10 November 2010 14:02, Jesse Glick <jesse.gl...@oracle.com> wrote:
> The trouble with Javadoc pseudo-annotations is that they are unavailable in
> bytecode and thus invisible to a tool like sigtest. I don't know about
> Clirr. I suspect this particular set of Javadoc tags was designed with
> Eclipse editor hints in mind, which probably have access to HTML Javadoc of
> APIs if not the original source project, and possibly predated JSR 175.
>
> Furthermore, they will (ironically enough) not appear in the Javadoc HTML
> output by default, unlike a true @Documented annotation. The burden is on
> the library developer to remember to pass a complex argument such as -tag
> noimplement:t:"Do Not Implement" to the javadoc tool for each such
> annotation in use.
>
> Also consider other tools which might want to analyze this information -
> such as FindBugs, or a hypothetical annotation processor that verified that
> a @NoImplement interface was not in fact implemented except by authorized
> providers.

I certainly agree that some JSR-175 annotations for these concepts
would be best.  I'd be surprised if the Eclipse folks haven't got this
on their road map already, might be worth checking.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to