| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public 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. |
| copy | back to summary |
|---|---|
| public Object copy(Map<Object, Object> oldToNew, Object source) throws ReflectiveCopyException Produce a deep copy of source, recursively copying all of its constituents. Aliasing is preserved through oldToNew, so that no component of source is copied more than once. Throws ReflectiveCopyException if it cannot copy source. This may occur in some implementations, depending on the mechanism used to copy the class. | |
| isReflectiveClassCopier | back to summary |
|---|---|
| public 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. | |