Package org.immutables.encode
Annotation Type Encoding.Init
- Enclosing class:
Encoding
Builder init method template. Can be as simple as
.setValue(1) to .addVal,
.addAll, .putAddAllWhatever variations. Many such initializers may be
specified, so they will appear for each attribute handled by encoding.
Can be annotated with Encoding.Copy annotation to specify that it is capable of accepting full
value returned by getter of the same attribute.