java.lang.Object
org.javacs.lsp.adapters.JsonElementTypeAdapter.Factory
- 所有已实现的接口:
com.google.gson.TypeAdapterFactory
public static class JsonElementTypeAdapter.Factory
extends Object
implements com.google.gson.TypeAdapterFactory
This factory should not be registered with a GsonBuilder because it always matches.
Use it as argument to a
JsonAdapter annotation like this:
@JsonAdapter(JsonElementTypeAdapter.Factory.class)-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明<T> com.google.gson.TypeAdapter<T>create(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> type)
-
构造器详细资料
-
Factory
public Factory()
-
-
方法详细资料
-
create
public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> type) - 指定者:
create在接口中com.google.gson.TypeAdapterFactory
-