com.rt.storage.api.client.util.NullValue Maven / Gradle / Ivy
package com.rt.storage.api.client.util;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Use this annotation to specify that an enum constant is the "null" data value to use for {@link
* Data#nullOf(Class)}.
*
* See {@link Value} for an example.
*
* @since 1.4
* @author Yaniv Inbar
*/
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface NullValue {}