List<PyRequirement> (@NotNull PyPackageManager packageManager, @NotNull Module module) { final List<PyRequirement> requirements = packageManager.getRequirements(module); final List<PyRequirement> extrasRequirements = getExtrasRequirements(module); if (requirements == null) return extrasRequirements; if (extrasRequirements == null) return requirements; return ContainerUtil.concat(requirements, extrasRequirements); }