Interface ClassCopierFactory

    • Method Detail

      • getClassCopier

        ClassCopier getClassCopier​(java.lang.Class<?> cls)
                            throws ReflectiveCopyException
        Return the ClassCopier instance for a particular class. The resulting ClassCopier may be used to copy an instance of type cls. Note that it is an error to pass an interface for cls, as interfaces have no state and no constructors, and hence cannot be copied.
        Throws:
        ReflectiveCopyException