Adding an exclude tag to the Standard doclet
843810Sep 9 2005 — edited Sep 16 2010Hello,
I have looked over the javadoc documentation quite a bit and realized that there is no easy way to exclude classes and methods with a custom tag such as @exclude, but still use the standard doclet without modifying the doclets source. I have started to do this by making a copy of the Standard doclet classes and modifying them. What I was wondering is what would be the best way to accomplish what I am looking to do? Can I at the beginning of the doclet do an search through all classes and their methods and remove their names from the ClassDoc and MethodDocs? Or do I have to find every place in the individual writers and before writing the class or method out, check for my tag.
I have seen the line
Tag[] tags = methods[j].tags(tagName);
Which seems like it could be useful.
Could you point me to the files that I would need to modify to make the exclude tag work the easiest? I am not looking for speed, so an easy solution that adds a few milliseconds to the run time would work for me.
Thanks,