private void invokeFindUsageStep(@NotNull Target target,
                                   @NotNull Scope scope,
                                   @NotNull PsiFile file,
                                   @NotNull Editor editor,
                                   @NotNull Project project) {
    List<UsageInfo> usages = collectUsages(target, scope);
    String message = checkUsages(usages);
    if (message != null) {
      showErrorHint(message, editor, project);
      return;
    }
    invokeDialogStep(target, scope, usages, file, editor, project);
  }
private void invokeFindUsageStep(@NotNull Target target,
                                   @NotNull Scope scope,
                                   @NotNull PsiFile file,
                                   @NotNull Editor editor,
                                   @NotNull Project project)