Skip to content
Advertisement

Tag: deep-copy

deep copy using reflection java

I can’t get a container from the class field using reflection. I tried the method below, but got an exception: I don’t want to use methods of copying via serialization, I’m interested in reflection. Answer You are doing this for training I hope? If not then use some opensource library, it’s a lot harder than you think – check this.

Advertisement