Package 

Class TypeTokenKt

    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> Type typeToken() Create a type token with the given type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • typeToken

         final static <T extends Any> Type typeToken()

        Create a type token with the given type.

        NOTE!! As of Kotlin 1.4, Java type annotations are finally supported, though in a limited fashion and gated behind a compiler flag. (more info here)