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