Class ReflectUtils.GenericRef

  • Enclosing class:
    ReflectUtils

    private static class ReflectUtils.GenericRef
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      GenericRef​(java.lang.Class<?> baseClass, java.lang.Class<?> ifaceClass)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean needsUnwrap()  
      void setGenericFromType​(java.lang.reflect.Type type, int index)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • baseClass

        private final java.lang.Class<?> baseClass
      • ifaceClass

        private final java.lang.Class<?> ifaceClass
      • genericClass

        java.lang.Class<?> genericClass
      • genericType

        public java.lang.reflect.Type genericType
      • genericIndex

        private int genericIndex
    • Constructor Detail

      • GenericRef

        public GenericRef​(java.lang.Class<?> baseClass,
                          java.lang.Class<?> ifaceClass)
    • Method Detail

      • needsUnwrap

        public boolean needsUnwrap()
      • setGenericFromType

        public void setGenericFromType​(java.lang.reflect.Type type,
                                       int index)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object