package Ġcom . coding fel ine . build kon fig . compiler Ċ Ċ import Ġjava . io . Serializable Ċ Ċ open Ġclass ĠTarget Config ( val Ġname : ĠString ) Ġ: ĠSerializable Ġ{ ĊĠĠĠ Ġvar Ġflavor : ĠString Ġ= Ġ"" ĊĠĠĠ Ġval Ġfield Specs Ġ= Ġmutable Map Of < String , ĠField Spec >() ĊĊĠĠĠ Ġfun Ġcopy Field Specs (): ĠMap < String , ĠField Spec > Ġ= Ġfield Specs . map Values Ġ{ Ġit . value . copy () Ġ} ĊĊĠĠĠ Ġfun Ġcopy (): ĠTarget Config Ġ= ĠTarget Config ( name ). also Ġ{ Ġit . field Specs . put All ( copy Field Specs ()) Ġ} Ċ } Ċ