I've created a couple of GotoDeclarationHandler classes. One of them simply opens a file matching its filename usage in another file, so when you ctrl-hover over the filename, the tooltip shows the absolute path of the file that would be navigated to. That's fine.

The second handler takes you to a YAML declaration in another file. When you click, it works exactly as desired. However, when you ctrl-hover over the target, the tooltip says something like YAML Key Value Impl "tag" [something.yml]. Is there way to customize this tooltip text? I tried changing the implementation of GotoDeclarationHandler.getActionText method, but that didn't seem to do anything.