public static ExtensionRegistry createRegistryWithDefaultExtensions(){
  ExtensionRegistry extensionRegistry=new ExtensionRegistry(null);
  DEFAULT_EXTENSIONS.forEach(null);
  return extensionRegistry;
}

public static ExtensionRegistry createRegistryWithDefaultExtensions ( ) { ExtensionRegistry extensionRegistry = new ExtensionRegistry ( null ) ; DEFAULT_EXTENSIONS . forEach ( null ) ; return extensionRegistry ; }
factory for creating and populating a new root registry with the default extensions .
