public class AnnotatedElementsSearcher extends java.lang.Object implements QueryExecutor<PsiModifierListOwner,AnnotatedElementsSearch.Parameters>
Constructor and Description |
---|
AnnotatedElementsSearcher() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(AnnotatedElementsSearch.Parameters p,
Processor<? super PsiModifierListOwner> consumer)
Find some results according to queryParameters and feed them to consumer.
|
static boolean |
isInstanceof(PsiElement owner,
java.lang.Class<? extends PsiModifierListOwner> [] types) |
public boolean execute(AnnotatedElementsSearch.Parameters p, Processor<? super PsiModifierListOwner> consumer)
QueryExecutor
false
, stop.execute
in interface QueryExecutor<PsiModifierListOwner,AnnotatedElementsSearch.Parameters>
false
if the searching should be stopped immediately. This should happen only when consumer has returned false
.public static boolean isInstanceof(PsiElement owner, java.lang.Class<? extends PsiModifierListOwner> [] types)