This will be a follow-up to #8 and #9. This post should briefly introduce reflection (with a focus on examples in Java) and discuss how it can be used to circumvent immutability. In particular, it should discuss the fact that immutability is a compile-time construct and that is possible to modify immutable objects at runtime via reflection.
Replaces #2.
This will be a follow-up to #8 and #9. This post should briefly introduce reflection (with a focus on examples in Java) and discuss how it can be used to circumvent immutability. In particular, it should discuss the fact that immutability is a compile-time construct and that is possible to modify immutable objects at runtime via reflection.