Doron
Doron

Reputation: 171

Get file path from IHyperlink

Assuming I have an IHyperlink object, which I get from my Console (actually it is JavaStackTraceHyperlink). Is there an option to get the file path it uses?

Upvotes: 1

Views: 33

Answers (1)

greg-449
greg-449

Reputation: 111216

No there is no official API to get the file path.

JavaStackTraceHyperlink does not have the file path and ends up searching the workspace when it needs to find the class.

Both JavaStackTraceHyperlink and the search methods it uses are internal classes and are therefore not part of the API.

Upvotes: 2

Related Questions