Package org.immutables.encode
package org.immutables.encode
-
ClassDescriptionEncoding defines set of template methods and fields which describes how attributes of specific types are implemented in generated value class.Template method which describes how attribute should be built so it would can be assigned to.Attribute's builder template.With copy method template.Expose describes how type matches to the encoding via return type.Implementation field must be annotated, it also must be private.Builder init method template.Template method for internal purposes that describes how to ask builder if an attribute was initialized.Many elements (but not all) supports customized naming patterns.Standard namings can be used to reuse standard styles, like the ones defined in
Value.Immutable.Stylefor the custom-defined elements in encoding.