Object KeyType.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <T extends Any> KeyType<T> of(Type type) Build a KeyType wrapping the given type.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • of

         final <T extends Any> KeyType<T> of(Type type)

        Build a KeyType wrapping the given type.

        Parameters:
        type - a generic type (possibly obtained via reflection, e.g.
        Returns:

        a corresponding reference which may be passed into KeyType-accepting methods

        Since:

        4.3.12