public class ScopeFilter extends PositionElementFilter
EMPTY_ARRAY
Constructor and Description |
---|
ScopeFilter() |
ScopeFilter(ElementFilter filter) |
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.
|
java.lang.String |
toString() |
getFilter, isClassAcceptable, setFilter
public ScopeFilter()
public ScopeFilter(ElementFilter filter)
public boolean isAcceptable(java.lang.Object element, PsiElement context)
ElementFilter
element
- most often PsiElementcontext
- context of the element (if any)public java.lang.String toString()
toString
in interface ElementFilter
toString
in class java.lang.Object