if(jsonTypeInfo.include()!=JsonTypeInfo.As.PROPERTY)thrownewException("We only support polymorphism using jsonTypeInfo.include() == JsonTypeInfo.As.PROPERTY")
if(jsonTypeInfo.use!=JsonTypeInfo.Id.NAME)thrownewException("We only support polymorphism using jsonTypeInfo.use == JsonTypeInfo.Id.NAME")
valpropertyName=jsonTypeInfo.property()
// must look at the @JsonSubTypes to find what this current class should be called