On Wed, 7 Aug 2024 21:32:44 GMT, Jonathan Gibbons <j...@openjdk.org> wrote:

> One question/suggestion, perhaps for followup work. I get that you do not 
> want the visual clutter of linking to locally defined type parameters, but 
> would it help to give a short tooltip (i.e. `title` attribute) in this 
> situation even if you do not also create a link. Is this an interesting idea 
> for any place where we cannot or do not create a link?

I like this idea, and it's quite tempting to add it to this PR since I had 
already implemented it and it's only a few lines of code. 

I wonder if we should go the extra mile and include the element kind in the 
tooltip message (`type parameter in interface [name]` or `type parameter in 
method [name]()` instead of just `type parameter in [name]`).

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20494#issuecomment-2275048609

Reply via email to