code: private static ConfigurationBuilder getConfigurationBuilder(final Optional<Configuration> configuration) {
      if (configuration.isPresent()) {
        return Tang.Factory.getTang().newConfigurationBuilder(configuration.get());
      } else {
        return Tang.Factory.getTang().newConfigurationBuilder();
      }
    }
docs: Utility to build a ConfigurationBuilder from an Optional<Configuration>.