private boolean closeUsageViewIfEmpty(UsageView usageView, boolean success) {
   if (usageView.getUsages().isEmpty()) {
     usageView.close();
     return true;
   } else if (!success) {
     NOTIFICATION_GROUP
         .createNotification("One or more malformed replacement strings", MessageType.ERROR)
         .notify(myProject);
   }
   return false;
 }
 @NotNull
 public Set<Usage> getExcludedSetCached() {
   if (excludedSet == null) excludedSet = usageView.getExcludedUsages();
   return excludedSet;
 }