How to use the @ConstructorProperties annotation