All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.segment.analytics.gson.AutoGson Maven / Gradle / Ivy

There is a newer version: 3.5.1
Show newest version
package com.segment.analytics.gson;

import com.google.auto.value.AutoValue;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Marks an {@link AutoValue @AutoValue}-annotated type for proper Gson serialization.
 * 

* This annotation is needed because the {@linkplain Retention retention} of {@code @AutoValue} * does not allow reflection at runtime. */ @Target(TYPE) @Retention(RUNTIME) public @interface AutoGson { }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy