1 Replies Last post: Jun 25, 2012 3:01 PM by Dmitry Jemerov  
Tim Glabisch Newbie 3 posts since
Jun 21, 2012
Currently Being Moderated

Jun 22, 2012 1:34 AM

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

Dmitry Jemerov JetBrains 12,174 posts since
Aug 19, 2002
Currently Being Moderated
Jun 25, 2012 3:01 PM in response to: Tim Glabisch
Re: searching for PsiElements

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().

More Like This

  • Retrieving data ...