| Modifier and Type | Method and Description |
|---|---|
| public ClassCopier | lookupInCache(Class<?> cls)
Look for cls only in the cache; do not create a ClassCopier if there isn't one already in the cache. |
| public boolean | reflectivelyCopyable(Class<?> cls)
Added this method so reflective copier could check if serializable object contains a transient field of specific type. |
| public void | |
| public void | setSpecialClassCopierFactory(ClassCopierFactory ccf)
Add a special ClassCopierFactory into the chain so that it handles some special cases. |
| lookupInCache | back to summary |
|---|---|
| public ClassCopier lookupInCache(Class<?> cls) Look for cls only in the cache; do not create a ClassCopier if there isn't one already in the cache. | |
| reflectivelyCopyable | back to summary |
|---|---|
| public boolean reflectivelyCopyable(Class<?> cls) Added this method so reflective copier could check if serializable object contains a transient field of specific type. | |
| registerImmutable | back to summary |
|---|---|
| public void registerImmutable(Class<?> cls) Mark this class as immutable, so that it is not copied at all. | |
| setSpecialClassCopierFactory | back to summary |
|---|---|
| public void setSpecialClassCopierFactory(ClassCopierFactory ccf) Add a special ClassCopierFactory into the chain so that it handles some special cases. | |