We have some logic around mapping symbols to names in [ScalaJavaMapper](https://github.com/scala-ide/scala-ide/blob/master/org.scala-ide.sdt.core/src/scala/tools/eclipse/javaelements/ScalaJavaMapper.scala). It is quite some mess, so I don't know if you can re-use it in any sensible way. However, I think it would be good to move there any additional needed logic for transforming symbol into names.