docs: public void setHealthCheckRegistry(Object healthCheckRegistry)
     {
        checkIfSealed();
  
        if (healthCheckRegistry != null) {
           healthCheckRegistry = getObjectOrPerformJndiLookup(healthCheckRegistry);
  
           if (!(healthCheckRegistry instanceof HealthCheckRegistry)) {
              throw new IllegalArgumentException("Class must be an instance of com.codahale.metrics.health.HealthCheckRegistry");
           }
        }
  
        this.healthCheckRegistry = healthCheckRegistry;
     }