blob: 723d606a1e0e921b76873c5ce150102495485e1c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import scala.reflect.runtime.universe._
import scala.reflect.runtime.{currentMirror => cm}
object Test extends App {
val mutant = new { val x = 2 }
val c = cm.reflectClass(mutant.getClass).symbol
println(c)
println(c.fullName)
println(c.typeSignature)
}
|