get

open fun get(type: Type): TypeToken<out Any>

Gets type literal for the given {@code Type} instance.

open fun <T> get(type: Class<T>): TypeToken<T>

Gets type literal for the given {@code Class} instance.