PyRequirement (@NotNull String line) { final Matcher vcsMatcher = VCS_PROJECT_URL.matcher(line); if (vcsMatcher.matches()) { return createVcsRequirement(vcsMatcher); } final Matcher gitMatcher = GIT_PROJECT_URL.matcher(line); if (gitMatcher.matches()) { return createVcsRequirement(gitMatcher); } final Matcher bzrMatcher = BZR_PROJECT_URL.matcher(line); if (bzrMatcher.matches()) { return createVcsRequirement(bzrMatcher); } return null; }