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