code: public static void register(final GuiceyConfigurationHook hook) {
          if (HOOKS.get() == null) {
              // to avoid duplicate registrations
              HOOKS.set(new LinkedHashSet<>());
          }
          HOOKS.get().add(hook);
      }
docs: Register hook for current thread. Must be called before application initialization, otherwise will not
  be used at all.
  
  @param hook hook to register