The problem with the code as written are two-fold: first it will fail silently if `scala.language` is removed (that's what `getRequiredXxx` used in `Definitions` solves); and second you're paying for a name creation and scope lookup for each import.