What is your use-case and why do you need this feature?
We have polymorphic type that maps to two labels when decoding so I'd need a way to indicate that a type has two type constants.
Describe the solution you'd like
I propose the @JsonNames annotation be allowed on classes which would be used in addition to @SerialName (today it can only be used for properties).