Annotation Type Encoder


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface Encoder
    An annotation for a static method of a class marking the method as the getter of a TokenEncoder for the class. A TokenEncoder encodes a class into a serialized form. This annotation and the getter method implementation allow the AnnotationEncoderFactory to dynamically allocate an encoder for instances of this class. Encoders are allocated on an as needed basis.
    See Also:
    TokenEncoder, AnnotationEncoderFactory