Class EnumTypeAdapterFactory.AnonymousAllowUnregisteredEnumTypeAdapterFactory

java.lang.Object
io.datarouter.gson.typeadapterfactory.EnumTypeAdapterFactory
io.datarouter.gson.typeadapterfactory.EnumTypeAdapterFactory.AnonymousAllowUnregisteredEnumTypeAdapterFactory
All Implemented Interfaces:
com.google.gson.TypeAdapterFactory
Enclosing class:
EnumTypeAdapterFactory

public static class EnumTypeAdapterFactory.AnonymousAllowUnregisteredEnumTypeAdapterFactory extends EnumTypeAdapterFactory
This can be used to intercept and log unregistered enums, however when multiple of these exist, the logs will not differentiate between them. A more robust solution is to create specific ones with unique class names.