I\'m using IntelliJ IDEA with the Scala plugin. If I reference HashMap in code, and then use Alt-Enter to add the import, the package gets imported as:
_root
It has to do scala imports being relative - _root_ gives you a way to specify an absolute package name. See the Scala Wiki
_root_