Added IgnoreSerialization annotation class
This commit is contained in:
parent
7fd3cc18cf
commit
7f345cb963
|
@ -0,0 +1,14 @@
|
|||
package dorkbox.network.util.serializers;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Used to identify fields that kryo should ignore when configured with the FieldAnnotationAwareSerializer
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.FIELD})
|
||||
public @interface IgnoreSerialization {
|
||||
}
|
Loading…
Reference in New Issue