java.lang.Object
com.google.gson.TypeAdapter<T>
org.javacs.lsp.adapters.EnumTypeAdapter<T>
A custom type adapter for enums that uses integer values.
Copied from lsp4j.
-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Method Details
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<T extends Enum<T>>- Throws:
IOException
-
write
- Specified by:
writein classcom.google.gson.TypeAdapter<T extends Enum<T>>- Throws:
IOException
-