core/src/com/google/inject/name/Names.java
public static void bindProperties(Binder binder, Map<String, String> properties) {
    binder = binder.skipSources(Names.class);
    for (Map.Entry<String, String> entry : properties.entrySet()) {
      String key = entry.getKey();
      String value = entry.getValue();
      binder.bind(Key.get(String.class, new NamedImpl(key))).toInstance(value);
    }
  }
public static void bindProperties(Binder binder, Map<String, String> properties) {
    binder = binder.skipSources(Names.class);
    for (Map.Entry<String, String> entry : properties.entrySet()) {
      String key = entry.getKey();
      String value = entry.getValue();
      binder.bind(Key.get(String.class, new NamedImpl(key))).toInstance(value);
    }
  }
public static void bindProperties ( Binder binder , Map < String , String > properties ) { binder = binder . skipSources ( Names . class ) ; for ( Map . Entry < String , String > entry : properties . entrySet ( ) ) { String key = entry . getKey ( ) ; String value = entry . getValue ( ) ; binder . bind ( Key . get ( String . class , new NamedImpl ( key ) ) ) . toInstance ( value ) ; } }
Creates a constant binding to {@code @Named(key)} for each entry in {@code properties}.
Creates a constant binding to {