code: public static Map<Key<?>, Binding<?>> findBindingsInScope(Injector injector, Class<? extends Annotation>... scopeAnnotations) {
      Map<Key<?>,Binding<?>> bindings = new LinkedHashMap<Key<?>, Binding<?>>();
      ALL_BINDINGS: for( Map.Entry<Key<?>, Binding<?>> entry : injector.getAllBindings().entrySet() ) {
        for( Class<? extends Annotation> scopeAnnotation : scopeAnnotations ) {
          if( inScope(injector, entry.getValue(), scopeAnnotation )) {
            bindings.put(entry.getKey(), entry.getValue());
            continue ALL_BINDINGS;
          }
        }
      }
      return bindings;
    }
docs: Finds all of the unique providers in the injector in the specified scopes.
  
  <p>
  </p>
  
  @param injector the injector to search.
  @param scopeAnnotations the scopes to search for.
  @return the keys for the specified scope names.