简体   繁体   中英

Scala TypeTag to java.lang.reflect.Type

I wonder if there are some predefined functions in scala (2.10+) to convert a scala TypeTag to a java.lang.reflect.Type .

Note that I have seen this question, but I need complete generic type information at runtime.

If it is not the case I can still implement the mapping my self as I already have custom implementations of java Type.

据我所知,反射库中没有内置此类功能。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM