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)?
Please sign in to leave a comment.
com.intellij.psi.JavaPsiFacade#findClass possibly with scope = com.intellij.psi.search.ProjectScope#getAllScope
It works, thanks a lot!