public interface ClassCopier
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
copy(java.util.Map<java.lang.Object,java.lang.Object> oldToNew,
java.lang.Object source)
Produce a deep copy of source, recursively copying all
of its constituents.
|
boolean |
isReflectiveClassCopier()
We need to know whether this class copier operates via reflection
or not, as the reflective class copier must be able to tell
when a super class is copied by an incompatible copier.
|
java.lang.Object copy(java.util.Map<java.lang.Object,java.lang.Object> oldToNew, java.lang.Object source) throws ReflectiveCopyException
ReflectiveCopyException
boolean isReflectiveClassCopier()