Java library to create proxy class that is immutable version of the original