docs: @Deprecated
      protected boolean resolveReplacement(StringBuilder builder, String str, String expr) {
          if (environment.containsProperty(expr)) {
              builder.append(environment.getProperty(expr, String.class).orElseThrow(() -> new ConfigurationException("Could not resolve placeholder ${" + expr + "} in value: " + str)));
              return true;
          }
          return false;
      }