Class GsonAdaptersValidation

  • All Implemented Interfaces:
    com.google.gson.TypeAdapterFactory

    @ParametersAreNonnullByDefault
    @Generated("org.immutables.processor.ProxyProcessor")
    public final class GsonAdaptersValidation
    extends Object
    implements com.google.gson.TypeAdapterFactory
    A TypeAdapterFactory that handles all of the immutable types generated under Validation.
    See Also:
    ImmutableValidation
    • Constructor Detail

      • GsonAdaptersValidation

        public GsonAdaptersValidation()
    • Method Detail

      • create

        public <T> com.google.gson.TypeAdapter<T> create​(com.google.gson.Gson gson,
                                                         com.google.gson.reflect.TypeToken<T> type)
        Specified by:
        create in interface com.google.gson.TypeAdapterFactory