How can I get the class of a companion object as a constant? I’m working with a Scala 2 project. I have the following code: