import scala.reflect.runtime.universe._
object Main {
final type INeedDetails = (Int, String, Unit, Nothing, Float)
def main(args: Array[String]): Unit = println {
typeTag[INeedDetails]
}
}
В приведенном выше фрагменте будет указано TypeTag[Main.INeedDetails]
. Есть ли способ извлечь полную информацию о кортеже (Int, String, Unit, Nothing, Float)
из этого TypeTag
?