private Object readResolve() {
        return (this.type == EmptyType.INSTANCE ? NONE : this);
    }
Custom serialization support for {link #NONE}.
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/core/ResolvableType.java