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