Annotation Interface CBSerializerMethod


@Target(METHOD) @Retention(RUNTIME) public @interface CBSerializerMethod
An annotation that indicates a serializer method. A serializer method must:
  • Return void.
  • Have CBSerializationContextType as its first parameter.
  • Have a value of a serializable type as its second parameter.
  • Have CBSerializeType parameters following the second parameter that match the types and number of type parameters on the serialized class.