Resolving {@value} references without deprecated methods
Hello,
I'm writing a doclet (using Doclet API 5.0). When I get a {@link} or a @see Tag, it's actually a SeeTag, so a partially qualified program element reference, e.g. "String", would have been automatically resolved to the ClassDoc for java.lang.String, according to:
http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javadoc.html#seesearchorder
...which uses knowledge of imported classes. This functionality appears to be part of javadoc itself, not the standard doclet, so its available to my doclet too.
However, the {@value element} tag isn't handled in any special way by javadoc, so I have to resolveelement myself. But there doesn't seem to be a way of achieving the same resolution procedure as for @see and {@link} without using deprecated methods like ClassDoc.importedClasses(). Am I correct, or is there some Doc findElement(String ref, Doc context) method lurking...? Or perhaps I can configure javadoc from within the doclet to handle {@value} specially?
Thanks,
Steven

