public PsiElement findTargetElement(Editor editor, PsiFile file) {
    return findTargetElement(editor, file, getContextElement(editor, file));
  }
public PsiElement findTargetElement(Editor editor, PsiFile file)