resolveJvmType
fun TypeToken<*>.resolveJvmType(jvmType: Type, declaringClass: Class<*>): TypeToken<*>
Content copied to clipboard
Returns a concrete TypeToken representing the given jvmType.
Receiver
The context for this look up (must implement declaringClass)
Parameters
jvmType
The java type to resolve
declaringClass
The class the jvmType is declared on (needed to resolve type arguments)