Print link to a class

Answered

In a toolwindow similar to the Event Log, I need to print a link to a class. Now, assuming that I only know the fully qualified name of the class (e.g. coming from a REST service), how can I find this class in my project classes or in the dependencies (jars imported using a dependency manager, let say Maven for example)?

0
2 comments

com.intellij.psi.JavaPsiFacade#findClass possibly with scope = com.intellij.psi.search.ProjectScope#getAllScope

0
Avatar
Permanently deleted user

It works, thanks a lot!

0

Please sign in to leave a comment.