@Override
  public void update(@NotNull AnActionEvent e) {
    final Project project = e.getProject();
    final boolean shouldShow =
      e.getData(CommonDataKeys.PSI_FILE) instanceof PsiJavaFile && project != null && LombokLibraryUtil.hasLombokLibrary(project);
    e.getPresentation().setEnabledAndVisible(shouldShow);
  }
@Override
  public void update(@NotNull AnActionEvent e)