public class EnumAdapter extends Object implements TypeAdapter<Enum<?>>
Constructor and Description |
---|
EnumAdapter() |
Modifier and Type | Method and Description |
---|---|
Object |
adapt(Object value,
Class<?> actualType,
Type genericType,
Annotation[] annotations) |
public Object adapt(Object value, Class<?> actualType, Type genericType, Annotation[] annotations)
adapt
in interface TypeAdapter<Enum<?>>