public class AnyInnerFilter extends java.lang.Object implements ElementFilter
EMPTY_ARRAY
Constructor and Description |
---|
AnyInnerFilter(ElementFilter filter) |
Modifier and Type | Method and Description |
---|---|
ElementFilter |
getFilter() |
boolean |
isAcceptable(java.lang.Object classElement,
PsiElement place)
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() |
public AnyInnerFilter(ElementFilter filter)
public ElementFilter getFilter()
public boolean isAcceptable(java.lang.Object classElement, PsiElement place)
ElementFilter
isAcceptable
in interface ElementFilter
classElement
- most often PsiElementplace
- context of the element (if any)public boolean isClassAcceptable(java.lang.Class hintClass)
ElementFilter
isClassAcceptable
in interface ElementFilter
hintClass
- class for which we are looking for metadatapublic java.lang.String toString()
toString
in interface ElementFilter
toString
in class java.lang.Object