PyRequirement (@NotNull String line) { final PyRequirement githubArchiveUrl = parseGitArchiveUrl(GITHUB_ARCHIVE_URL, line); if (githubArchiveUrl != null) { return githubArchiveUrl; } final PyRequirement gitlabArchiveUrl = parseGitArchiveUrl(GITLAB_ARCHIVE_URL, line); if (gitlabArchiveUrl != null) { return gitlabArchiveUrl; } final PyRequirement archiveUrl = parseArchiveUrl(line); if (archiveUrl != null) { return archiveUrl; } final PyRequirement vcsProjectUrl = parseVcsProjectUrl(line); if (vcsProjectUrl != null) { return vcsProjectUrl; } return parseRequirement(line); }