This is the first versions that can be said to be working.
Removed a typo from the see macro.
Added public/protected and class/enum/interface to the h2.
Fixed bug. fields's comments didn't format any @link tags.
Prefixed all html ids with "prioritydoc_", so that they do not clash with ids generated from field or method names.
I had a java field called "heading", which generated an anchor (a tag) which clashed with my page's "heading" div.
Added to Eclipse, which found some code issues, such as incorrect package names, and use of a deprecated class.
Also used Elcipse to remove trailing spaces from the templates.