blob: 3a3cc59b465cafaf55b912791f5f7d9b2c7cbcdd (
plain) (
tree)
|
|
abstract class RedBlack[A] extends Serializable {
abstract class Tree[+B] extends Serializable
case object Empty extends Tree[Nothing]
}
object Test {
def main(args: Array[String]): Unit = {
println(classOf[RedBlack[_]].getMethod("Empty").getGenericReturnType)
}
}
|