The usage of this annotation is discouraged. Use
SerCustomInitPostGraph instead, see
the note "state information below".
This annotation is used to initialize or customize an object immediately after its fields have
been partially deserialized. If a
custom reader exists, any custom
initializer is called after the execution of the custom reader.
private void init()
Note that the visibility MUST be private to make sure that sub-classes do not accidentally override a custom initializer method of a super-class.
Important state information: When this method is called, the object may not have been
- primitives are restored
- object references may be null or non-null and refer to not fully deserialized objects