public interface ClassCopier
Modifier and Type | Method and Description |
---|---|
Object |
copy(Map<Object,Object> oldToNew,
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.
|
Object copy(Map<Object,Object> oldToNew, Object source) throws ReflectiveCopyException
ReflectiveCopyException
boolean isReflectiveClassCopier()
Copyright © 2017 Oracle. All rights reserved.