Added IgnoreSerialization annotation class

This commit is contained in:
nathan 2014-08-25 02:18:25 +02:00
parent 7fd3cc18cf
commit 7f345cb963
1 changed files with 14 additions and 0 deletions

View File

@ -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 {
}