Annotation Type Encoding.Expose


  • @Target(METHOD)
    @Retention(SOURCE)
    public static @interface Encoding.Expose
    Expose describes how type matches to the encoding via return type. It also provides implementation to the accessor. There can zero or more expose templates. If none provided, it will be automatically derived as returning implementation field. Couple of expose methods might be usefull when you. Remember, only one such method can be activated by encoding matching. It also should should match the init and builder init-copy types.