类 TypeInfer<T>


  • public class TypeInfer<T>
    extends java.lang.Object
    For Representing a generic type T.
    • 构造器概要

      构造器 
      限定符 构造器 说明
      protected TypeInfer()
      Constructs a new type literal.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.reflect.Type getType()
      Gets underlying Type instance.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • TypeInfer

        protected TypeInfer()
        Constructs a new type literal. Derives represented class from type parameter.

        Clients create an empty anonymous subclass. Doing so embeds the type parameter in the anonymous class's type hierarchy so we can reconstitute it at runtime despite erasure.

    • 方法详细资料

      • getType

        public final java.lang.reflect.Type getType()
        Gets underlying Type instance.