How to implement custom AssetReferenceUIRestriction?

That indeed does work. Thank you!

[System.Serializable]
public class AssetReferenceMaterial : UnityEngine.AddressableAssets.AssetReferenceT<Material>
{
    public AssetReferenceMaterial(string guid) : base(guid) { }
}