public static Iterable<PluginLicense> getNearlyExpiredEvaluationPluginLicenses(
     PluginLicenseRepository licenseRepository,
     PluginAccessorAndController pluginAccessorAndController) {
   return filter(
       licenseRepository.getPluginLicenses(),
       and(
           isNearlyExpired(),
           isEvaluation(),
           not(isUninstalledLegacyPlugin(pluginAccessorAndController))));
 }
 public static Iterable<PluginLicense> getMaintenanceRecentlyExpiredPluginLicenses(
     PluginLicenseRepository licenseRepository,
     PluginAccessorAndController pluginAccessorAndController) {
   return filter(
       licenseRepository.getPluginLicenses(),
       and(
           isRecentlyMaintenanceExpired(),
           not(isEvaluation()),
           not(isUninstalledLegacyPlugin(pluginAccessorAndController))));
 }
 public static Iterable<PluginLicense> getUserMismatchPluginLicenses(
     PluginLicenseRepository licenseRepository) {
   return licenseRepository.getPluginLicenses(USER_MISMATCH);
 }