How to get back address of addressable resource from bundle name?

Hi everyone,
After build addressable asset, .bundle files are gerenated, but the name is converted to all lower case. ( Build with pack separately Bundle mode).
Is there anyway that i can get back the address of asset from bundle file using editor script ( not in runtime ) ?
Thank you very much!

Does anyone have solution for this problem? :(:(:frowning:

Replying for posterity, be sure to use #if UNITY_EDITOR with it (also please note Unity default bundles will not be found) :

public static string GetAddressFromBundleName(string bundleName)
    {
        foreach (AddressableAssetGroup addressableGroup in AddressableAssetSettingsDefaultObject.Settings.groups)
        {
            foreach (AddressableAssetEntry groupEntry in addressableGroup.entries)
            {
                if (groupEntry.BundleFileId.EndsWith(bundleName))
                {
                    return groupEntry.address;
                }
            }
        }

        return string.Empty;
    }