docs: public BUILDER setCapabilityReference(String referencedCapability, RuntimeCapability<?> dependentCapability) {
          if (dependentCapability.isDynamicallyNamed()) {
              return setCapabilityReference(referencedCapability, dependentCapability.getName());
          } else {
              //noinspection deprecation
              return setCapabilityReference(referencedCapability, dependentCapability.getName(), false);
          }
      }