public class ExcludeSillyAssignment extends java.lang.Object implements ElementFilter
EMPTY_ARRAY
Constructor and Description |
---|
ExcludeSillyAssignment() |
Modifier and Type | Method and Description |
---|---|
static PsiReferenceExpression |
getAssignedReference(PsiElement position) |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public static PsiReferenceExpression getAssignedReference(PsiElement position)
public boolean isAcceptable(java.lang.Object element, PsiElement context)
ElementFilter
isAcceptable
in interface ElementFilter
element
- most often PsiElementcontext
- 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 metadata