first step of migration to scala.reflect.core