Package com.google.gson.typeadapters
Class PostConstructAdapterFactory
- java.lang.Object
-
- com.google.gson.typeadapters.PostConstructAdapterFactory
-
- All Implemented Interfaces:
TypeAdapterFactory
public class PostConstructAdapterFactory extends java.lang.Object implements TypeAdapterFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
PostConstructAdapterFactory.PostConstructAdapter<T>
-
Constructor Summary
Constructors Constructor Description PostConstructAdapterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TypeAdapter<T>
create(Gson gson, TypeToken<T> type)
Returns a type adapter fortype
, or null if this factory doesn't supporttype
.
-
-
-
Method Detail
-
create
public <T> TypeAdapter<T> create(Gson gson, TypeToken<T> type)
Description copied from interface:TypeAdapterFactory
Returns a type adapter fortype
, or null if this factory doesn't supporttype
.- Specified by:
create
in interfaceTypeAdapterFactory
-
-