Ah I see. Just do

    private[spark]
    case class ShuffleBlockId ...