public interface ElementFilter
Modifier and Type | Field and Description |
---|---|
static ElementFilter[] |
EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
boolean |
isAcceptable(java.lang.Object element,
PsiElement context)
Checks if element in given context is matched by given filter.
|
boolean |
isClassAcceptable(java.lang.Class hintClass)
Quick check if the filter acceptable for elements of given class at all.
|
java.lang.String |
toString() |
static final ElementFilter[] EMPTY_ARRAY
boolean isAcceptable(java.lang.Object element, PsiElement context)
element
- most often PsiElementcontext
- context of the element (if any)boolean isClassAcceptable(java.lang.Class hintClass)
hintClass
- class for which we are looking for metadatajava.lang.String toString()
toString
in class java.lang.Object