com.google.gson.internal
Class GsonInternalAccess
java.lang.Object
com.google.gson.internal.GsonInternalAccess
public abstract class GsonInternalAccess
- extends java.lang.Object
Internal-only APIs of Gson available only to other classes in Gson.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static GsonInternalAccess INSTANCE
GsonInternalAccess
public GsonInternalAccess()
getNextAdapter
public abstract <T> TypeAdapter<T> getNextAdapter(Gson gson,
TypeAdapterFactory skipPast,
TypeToken<T> type)
- Returns a type adapter for
type that isn't skipPast
. This
can be used for type adapters to compose other, simpler type adapters.
- Throws:
java.lang.IllegalArgumentException
- if this GSON cannot serialize and
deserialize type
.