This would allow properties of spanContext to be read without accessing private variables. Alternatively, the private variables could simply be made public, though this seems less safe. Also because the "private" variables have thus far been used in a public way, changing them would be a breaking change, where adding new public getters would not be.
This would allow properties of spanContext to be read without accessing private variables. Alternatively, the private variables could simply be made public, though this seems less safe. Also because the "private" variables have thus far been used in a public way, changing them would be a breaking change, where adding new public getters would not be.