void (@NotNull ProgressIndicator indicator) { String token = GHCompatibilityUtil.getOrRequestToken(account, project); if (token == null) return; GithubApiRequestExecutor requestExecutor = GithubApiRequestExecutor.Factory.getInstance().create(token); List<FileContent> contents = collectContents(project, editor, file, files); if (contents.isEmpty()) return; String gistUrl = createGist(project, requestExecutor, indicator, account.getServer(), contents, dialog.isSecret(), dialog.getDescription(), dialog.getFileName()); url.set(gistUrl); }