@NotNull
  protected List<T> getElementAtOffset(@NotNull Editor editor, @NotNull PsiFile file) {
    return Collections.singletonList(PsiTreeUtil.findElementOfClassAtOffset(file, editor.getCaretModel().getOffset(), myClass, false));
  }
@NotNull
  protected List<T> getElementAtOffset(@NotNull Editor editor, @NotNull PsiFile file)