-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b163
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8178216 | 10 | Jonathan Gibbons | P2 | Resolved | Fixed | b04 |
Currently the new Taglet provides access to the content of a an instance of a javadoc tag, but provides no other contextual info.
At a minimum, it would help to have access to the Element with the comment that contains the taglet instances. Once you start working with elements, it is helpful to be able to access the Language Model utility classes Elements and Types, which can be accessed from the DocletEnvironment object.
It is conceivable that a taglet might want access to the doclet that created it, although we have no specific use cases for that at this time. This would allow the taglet to influence the content of other pages that the doclet might eventually generate.
At a minimum, it would help to have access to the Element with the comment that contains the taglet instances. Once you start working with elements, it is helpful to be able to access the Language Model utility classes Elements and Types, which can be accessed from the DocletEnvironment object.
It is conceivable that a taglet might want access to the doclet that created it, although we have no specific use cases for that at this time. This would allow the taglet to influence the content of other pages that the doclet might eventually generate.
- backported by
-
JDK-8178216 Provide Taglet with context
- Resolved
- relates to
-
JDK-8173303 Add module-subgraph images to main platform documentation
- Resolved