Fragmentation of jets containing a prompt J$/ψ$ meson in PbPb and pp collisions at $\sqrts_\mathrmNN =$ 5.02 TeVстатья