Print link to a class
已回答
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)?
请先登录再写评论。
com.intellij.psi.JavaPsiFacade#findClass possibly with scope = com.intellij.psi.search.ProjectScope#getAllScope
It works, thanks a lot!