PsiElement (Editor editor, int offset, @Nullable PsiFile file, PsiElement contextElement) { try { return findTargetElementUnsafe(editor, offset, file, contextElement); } catch (IndexNotReadyException ex) { LOG.debug(ex); return null; } }