# Annotation: com.pnfsoftware.jeb.util.serialization.annotations.SerCustomInit

This annotation is used to initialize or customize an object immediately after its fields have been *partially* deserialized. If a [custom reader](SerCustomRead) exists, any custom initializer is called after the execution of the custom reader. 

 Usage of this annotation is discouraged. Use [SerCustomInitPostGraph](SerCustomInitPostGraph) instead, see the note below. 

 Required prototype:  

```

 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 fully restored:
 \- primitives are restored
 \- object references may be null or non\-null and refer to not fully deserialized objects

