Is there a way to use ReferencesSearch without references to classes in jdk or jars?
Hi Community,
I use ReferencesSearch.search(PsiClass, GlobalSearchScope) to search for references. The found references include also references to classes in the jdk like Serializable.
Now I would like to know if there is a way to exclude jars and the jdk from the search.
Markus
Please sign in to leave a comment.
Sure. That's exactly what GlobalSearchScope is for.
GlobalSearchScope.proejctScope(project) does not include jars? :)
No, it doesn't.
Ok thank you