Details
Description
Tags are getting part of their context data via the factory (line-number), and part thru setContext(). This smells like a fish milkshake.
Let's remove setContext() from the DocletTag interface, and provide all location info via the factory.
public interface DocletTagFactory extends Serializable { DocletTag createDocletTag(String tag, String text); DocletTag createDocletTag(String tag, String text, AbstractJavaEntity context, int lineNumber); }
See http://lists.codehaus.org/pipermail/qdox-user/2004-March/000549.html
Done pretty much as planned.