private static Map<Key<?>, Binding<?>> gatherBindings(Injector injector) {
      
    Map<Key<?>, Binding<?>> dst = new HashMap<Key<?>, Binding<?>>();
    
    Injector current = injector;
    while (current != null) {
      dst.putAll(current.getBindings());
      current = current.getParent();
    }
    
    return dst;
  }
private static Map<Key<?>, Binding<?>> gatherBindings(Injector injector) {
      
    Map<Key<?>, Binding<?>> dst = new HashMap<Key<?>, Binding<?>>();
    
    Injector current = injector;
    while (current != null) {
      dst.putAll(current.getBindings());
      current = current.getParent();
    }
    
    return dst;
  }
private static Map < Key < ? > , Binding < ? > > gatherBindings ( Injector injector ) { Map < Key < ? > , Binding < ? > > dst = new HashMap < Key < ? > , Binding < ? > > ( ) ; Injector current = injector ; while ( current != null ) { dst . putAll ( current . getBindings ( ) ) ; current = current . getParent ( ) ; } return dst ; }
Gathers Guice {@link Injector} bindings over the hierarchy.
Gathers Guice {