a MultiMap class is generated in Scala code