@Nullable
  @Contract("null, null -> null; !null, _ -> !null; _, !null -> !null")
  public static ApplyPatchStatus and(@Nullable ApplyPatchStatus lhs, @Nullable ApplyPatchStatus rhs) {
    if (lhs == null) return rhs;
    if (rhs == null) return lhs;

    Set<ApplyPatchStatus> statuses = ContainerUtil.newHashSet(lhs, rhs);
    if (PARTIAL_ADDITIONAL_SET.equals(statuses)) return PARTIAL;
    return ORDERING.max(lhs, rhs);
  }
@Nullable
  @Contract("null, null -> null; !null, _ -> !null; _, !null -> !null")
  public static ApplyPatchStatus and(@Nullable ApplyPatchStatus lhs, @Nullable ApplyPatchStatus rhs)