The DefaultCodec field is defined in a companion object. All fields in object are by definition constants and idiomatic Scala constant use the ClassName style instead of the ALL_UPPERCASE Java style.