Created
December 6, 2013 13:37
-
-
Save xeno-by/7823928 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private[this] val r1: reflect.runtime.universe.Tree = { | |
import scala.reflect.api.Liftable; | |
{ | |
final class $anon extends AnyRef with scala.reflect.api.Liftable[A] { | |
def <init>(): <$anon: scala.reflect.api.Liftable[A]> = { | |
$anon.super.<init>(); | |
() | |
}; | |
def apply(universe: scala.reflect.api.Universe, cc: A): universe.Tree = { | |
val ttree: universe.TypeTree = universe.TypeTree(universe.typeOf[A]({ | |
val $u: universe.type = universe; | |
val $m: $u.Mirror = universe.rootMirror; | |
$u.TypeTag.apply[A]($m, { | |
final class $typecreator1 extends TypeCreator { | |
def <init>(): $typecreator1 = { | |
$typecreator1.super.<init>(); | |
() | |
}; | |
def apply[U <: scala.reflect.api.Universe with Singleton]($m$untyped: scala.reflect.api.Mirror[U]): U#Type = { | |
val $u: U = $m$untyped.universe; | |
val $m: $u.Mirror = $m$untyped.asInstanceOf[$u.Mirror]; | |
$m.staticClass("A").asType.toTypeConstructor | |
} | |
}; | |
new $typecreator1() | |
}) | |
})); | |
universe.Apply.apply(universe.Select.apply(universe.New.apply(ttree), universe.nme.CONSTRUCTOR), immutable.this.Nil) | |
} | |
}; | |
new $anon().apply(scala.reflect.runtime.`package`.universe, Test.this.c1) | |
} | |
}.asInstanceOf[reflect.runtime.universe.Tree]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment