public class AllClassesSearchExecutor extends java.lang.Object implements QueryExecutor<PsiClass,AllClassesSearch.SearchParameters>
Constructor and Description |
---|
AllClassesSearchExecutor() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(AllClassesSearch.SearchParameters queryParameters,
Processor<? super PsiClass> consumer)
Find some results according to queryParameters and feed them to consumer.
|
static boolean |
processClassesByNames(Project project,
GlobalSearchScope scope,
java.util.Collection<java.lang.String> names,
Processor<? super PsiClass> processor) |
static boolean |
processClassNames(Project project,
GlobalSearchScope scope,
Processor<? super java.lang.String> processor) |
public boolean execute(AllClassesSearch.SearchParameters queryParameters, Processor<? super PsiClass> consumer)
QueryExecutor
false
, stop.execute
in interface QueryExecutor<PsiClass,AllClassesSearch.SearchParameters>
false
if the searching should be stopped immediately. This should happen only when consumer has returned false
.public static boolean processClassesByNames(Project project, GlobalSearchScope scope, java.util.Collection<java.lang.String> names, Processor<? super PsiClass> processor)
public static boolean processClassNames(Project project, GlobalSearchScope scope, Processor<? super java.lang.String> processor)