public class ContentFilter extends PositionElementFilter
EMPTY_ARRAY
Constructor and Description |
---|
ContentFilter(ElementFilter filter) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAcceptable(java.lang.Object element,
PsiElement scope)
Checks if element in given context is matched by given filter.
|
java.lang.String |
toString() |
getFilter, isClassAcceptable, setFilter
public ContentFilter(ElementFilter filter)
public boolean isAcceptable(java.lang.Object element, PsiElement scope)
ElementFilter
element
- most often PsiElementscope
- context of the element (if any)public java.lang.String toString()
toString
in interface ElementFilter
toString
in class java.lang.Object