org.scalamacros.paradise.reflect.Mirrors.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of paradise_2.12.20 Show documentation
Show all versions of paradise_2.12.20 Show documentation
Empowers production Scala compiler with latest macro developments
The newest version!
package org.scalamacros.paradise
package reflect
trait Mirrors {
self: Enrichments =>
import global._
import scala.language.reflectiveCalls
implicit class ParadiseMirror(m: RootsBase) {
def missingHook(owner: Symbol, name: Name): Symbol = {
val reflectiveThis = m.asInstanceOf[{ def missingHook(owner: Symbol, name: Name): Symbol }]
reflectiveThis.missingHook(owner, name)
}
}
}