Class ClassCopier<T>
java.lang.Object
net.imglib2.loops.ClassCopier<T>
ClassCopier helps copying a class. The resulting class works as the
original.
Why would you want to copy a class?
The problem is described in https://github.com/tpietzsch/none/. The solution suggested there is to copy a specific method of a class, but copying a whole class is easier.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
original
-
bytes
private final byte[] bytes
-
-
Constructor Details
-
ClassCopier
-
-
Method Details
-
copy
-
classToBytes
-