Class ReprEntityGetter.ClassReprEntityGetter

    • Field Detail

      • clazz

        private final java.lang.Class<?> clazz
    • Constructor Detail

      • ClassReprEntityGetter

        ClassReprEntityGetter​(java.lang.Class<?> genClass,
                              java.lang.reflect.Constructor<?> constructor)
    • Method Detail

      • createInstance

        Representation createInstance​(Representation entity)
                               throws java.lang.IllegalArgumentException,
                                      java.lang.InstantiationException,
                                      java.lang.IllegalAccessException,
                                      java.lang.reflect.InvocationTargetException
        Specified by:
        createInstance in class ReprEntityGetter
        Throws:
        java.lang.IllegalArgumentException
        java.lang.InstantiationException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException