Class SuperTypeUtil


  • public final class SuperTypeUtil
    extends java.lang.Object
    Utility for Java types.

    see also Guava's TypeToken

    Author:
    Stephen Kitt
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <U> java.lang.Class<U> getTypeParameter​(java.lang.Class<?> klass, int index)  
      • Methods inherited from class java.lang.Object

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

      • getTypeParameter

        public static <U> java.lang.Class<U> getTypeParameter​(java.lang.Class<?> klass,
                                                              int index)