org.glassfish.pfl.dynamic.copyobject.impl
Interface ClassCopierOrdinaryImpl.ClassFieldCopier

All Known Implementing Classes:
CodegenCopierBase
Enclosing class:
ClassCopierOrdinaryImpl

public static interface ClassCopierOrdinaryImpl.ClassFieldCopier


Method Summary
 void copy(Map<Object,Object> oldToNew, Object src, Object dest)
          Copy all fields from src to dest, using oldToNew as usual to preserve aliasing.
 

Method Detail

copy

void copy(Map<Object,Object> oldToNew,
          Object src,
          Object dest)
          throws ReflectiveCopyException
Copy all fields from src to dest, using oldToNew as usual to preserve aliasing. This copies all fields declared in the class, as well as in the super class.

Throws:
ReflectiveCopyException


Copyright © 2013 Oracle. All Rights Reserved.