@Override
  public boolean isSelected(@NotNull AnActionEvent e) {
    PsiFile file = getFile(e);
    return file != null && DaemonCodeAnalyzer.getInstance(file.getProject()).isImportHintsEnabled(file);
  }
@Override
  public boolean isSelected(@NotNull AnActionEvent e)