@Override
  protected void autoPopupJavadocLookup(final @NotNull Project project, final @NotNull Editor editor) {
    AutoPopupController.getInstance(project).autoPopupMemberLookup(editor, file -> {
      int offset = editor.getCaretModel().getOffset();

      PsiElement lastElement = file.findElementAt(offset - 1);
      return lastElement != null && StringUtil.endsWithChar(lastElement.getText(), '@');
    });
  }
@Override
  protected void autoPopupJavadocLookup(final @NotNull Project project, final @NotNull Editor editor)