229230231232233234235
* * @param injector The injector to back the registry * @return A registry that wraps the injector */ public static Registry registry(Injector injector) { return Registries.backedRegistry(new InjectorRegistryBacking(injector)); }