public boolean contains(@Nullable UsageInfo usageInfo) {
    for (SimilarUsage usage : myUsages) {
      if (usage.getUsageInfo().equals(usageInfo)) {
        return true;
      }
    }
    return false;
  }
public boolean contains(@Nullable UsageInfo usageInfo)