ElementPattern
or checks in code instead@Deprecated public class LeftNeighbour extends PositionElementFilter
EMPTY_ARRAY
Constructor and Description |
---|
LeftNeighbour(ElementFilter filter)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAcceptable(java.lang.Object element,
PsiElement context)
Deprecated.
Checks if element in given context is matched by given filter.
|
java.lang.String |
toString()
Deprecated.
|
getFilter, isClassAcceptable, setFilter
public LeftNeighbour(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