Annotation Type DefaultSerializer


@Retention(RUNTIME) @Target(TYPE) public @interface DefaultSerializer
Sets the default serializer to use for the annotated class. The specified Serializer class must have a constructor taking a Kryo instance and a class, a Kryo instance, a class, or no arguments.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Serializer>