searching for PsiElements

Hello,

i am looking for a way how to find PsiElements in an Project using methodnames.

i found the PsiSearchHelper but there are just methods to look for a word, a comment, ... how can i look for something like a variable, assignment, methods, ...

thanks for help :)

0

What's the specific task that you want to accomplish? There is no API to search for "an assignment". To look for classes or methods by name, use PsiShortNamsCache.getClassesByName() and .getMethodsByName().

0

请先登录再写评论。