Annotation Type Encoding.Init


  • @Target(METHOD)
    @Retention(SOURCE)
    public static @interface Encoding.Init
    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.