private void invokeOnTarget(@NotNull Target target,
                              @NotNull PsiFile file,
                              @NotNull Editor editor,
                              @NotNull Project project) {
    String message = checkSelectedTarget(target, file, editor, project);
    if (message != null) {
      showErrorHint(message, editor, project);
      return;
    }

    invokeScopeStep(target, file, editor, project);
  }
private void invokeOnTarget(@NotNull Target target,
                              @NotNull PsiFile file,
                              @NotNull Editor editor,
                              @NotNull Project project)