ElementFilter parameters

hi
ElementFilter is now OPenApi so i may ask some questions about it
public boolean isClassAcceptable(java.lang.Class Class)
which class ?is it the class of the PsiElement in question or what

public boolean isAcceptable(java.lang.Object object, com.intellij.psi.PsiElement psiElement)
actually i always thought that the psiElement is the object in question but it seems to be the first Object so ,how really this can be used; and the second parameter refered to as the context?!!! means what ? is it the parent,the refering element ....WHAT?
thanks for ur help
joe

Please sign in to leave a comment.