[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Programmatically search for method references

Hi, 

I want to create a plugin that allows me search programmatically for method
references.

Since I have no experience in plugins I'be happy if you could give me a
hint where to start. Right now I have found the method search in
SearchEngine, 
public void search(SearchPattern pattern,
                   SearchParticipant[] participants,
                   IJavaSearchScope scope,
                   SearchRequestor requestor,
                   IProgressMonitor monitor)

but I don't know which value I should supply for SearchParticipant[] and
SearchRequestor.
I also have found the classes FindReferencesInProjectAction and
FindReferencesAction.

Which way would be the best for me? Or maybe you know an even better one?

Thanks for all hints,

Rudi