Package com.esotericsoftware.kryo
Annotation Type NotNull
-
@Retention(RUNTIME) @Target(FIELD) public @interface NotNull
Indicates a field can never be null when it is being serialized and deserialized. Some serializers use this to save space. Eg,FieldSerializer
may save 1 byte per field.