public < T > void bindConfigGlobalDefaults ( Class < T > configClass , ConfigDefaults < T > configDefaults ) { Key < T > key = Key . get ( configClass , GlobalDefaults . class ) ; binder . bindConfigDefaults ( new ConfigDefaultsHolder <> ( key , configDefaults ) ) ; }
Binds default values for all the instances of given config class for the current binder