import scala.collection.immutable.HashMap; public class Test { void foo() { new HashMap(); } }