private static Configurable choose(Configurable configurable, Configurable variant) {
    return variant != null ? variant : configurable;
  }
private static Configurable choose(Configurable configurable, Configurable variant)