How to get all the classes in a module. Follow
Hi,
I want a list of all classes in module. I have tried
PsiShortNamesCache.getInstance(project).getAllClassNames()
but it return the classes from the library as well. I dont want the classes from library. How can i do this.
Thanks,
Mangala
Please sign in to leave a comment.
Use com.intellij.psi.search.searches.AllClassesSearch with corresponding searchScope
Thank you..it worked