Package org.immutables.encode
Annotation Type Encoding
-
@Target(TYPE) @Retention(SOURCE) public @interface EncodingEncoding defines set of template methods and fields which describes how attributes of specific types are implemented in generated value class.Encodingannotation is processed by the annotation processor (the same as used for value objects) and generates annotation named*Enabledin the same package, inserting encoding simple class name in placeholder. Encoding class consists of special fields methods, builder inner static class with it's own fields and methods.When programming the encoding class, remember that code analyser is not akin full-fledged java compiler, but a set of simplified routines which cannot possibly