import scala.reflect.runtime.universe._
import scala.reflect.runtime.{currentMirror => cm}

sealed class C
class D extends C
class E extends C

object Test extends App {
  val c = cm.staticClass("C")
  println(c.knownDirectSubclasses.toList.map(_.toString).sorted)
  c.info
  println(c.knownDirectSubclasses.toList.map(_.toString).sorted)
}