Package org.immutables.encode
Annotation Type Encoding.Build
-
@Target(METHOD) @Retention(SOURCE) public static @interface Encoding.BuildTemplate method which describes how attribute should be built so it would can be assigned to. No argumentet method with return type the same as implementation field's one (Encoding.Impl) implementation field. This method would preferably be inlined if one-liner and is not reused in other methods. No naming is appropriate as this method is always inlined or private helper method