jersey2-guice-impl/src/main/java/com/squarespace/jersey2/guice/JerseyGuiceUtils.java
public static void install(Injector injector) {
    // This binding is provided by JerseyGuiceModule
    ServiceLocator locator = injector.getInstance(ServiceLocator.class);
    
    GuiceServiceLocatorGenerator generator = getOrCreateGuiceServiceLocatorGenerator();
    generator.add(locator);
  }
public static void install(Injector injector) {
    // This binding is provided by JerseyGuiceModule
    ServiceLocator locator = injector.getInstance(ServiceLocator.class);
    
    GuiceServiceLocatorGenerator generator = getOrCreateGuiceServiceLocatorGenerator();
    generator.add(locator);
  }
Installs the given {@link Injector}.

@see JerseyGuiceModule