question: public static Date updated ( Date self , Map < Object , Integer > updates ) { Calendar cal = Calendar . getInstance ( ) ; cal . setTime ( self ) ; set ( cal , updates ) ; return cal . getTime ( ) ; }
target:  Legacy alias for copyWith. Will be deprecated and removed in future versions of Groovy.