I created a hierarchy of case objects in Scala that looks like the following:
package my.awesome.package sealed abstract class PresetShapeType(val displayNa
PressureSensor$.MODULE$ should give you the instance of the case object.
PressureSensor$.MODULE$