@Override
  public void setSelected(@NotNull AnActionEvent e, boolean state) {
    PsiFile file = getFile(e);
    if (file != null) {
      DaemonCodeAnalyzer.getInstance(file.getProject()).setImportHintsEnabled(file, state);
    }
  }
@Override
  public void setSelected(@NotNull AnActionEvent e, boolean state)