Annotation Type Decoder


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface Decoder
    An annotation for a static method of a class marking the method as the getter of a TokenDecoder for the class. A TokenDecoder decodes a class from a serialized form back into an object instance. This annotation and the getter method implementation allows the AnnotationEncoderFactory to dynamically allocate a decoder for instances of this class. Decoders are allocated on an as needed basis.
    See Also:
    TokenDecoder, AnnotationEncoderFactory