0
    } 
     
    private void _writeContents(Range<?> value, JsonGenerator jgen, SerializerProvider provider)
        throws IOException
    { 
        if (value.hasLowerBound()) {
            if (_endpointSerializer != null) { 
                jgen.writeFieldName("lowerEndpoint");
                _endpointSerializer.serialize(value.lowerEndpoint(), jgen, provider);
            } else { 
                provider.defaultSerializeField("lowerEndpoint", value.lowerEndpoint(), jgen);
            } 
            provider.defaultSerializeField("lowerBoundType", value.lowerBoundType(), jgen);
        } 
        if (value.hasUpperBound()) {
            if (_endpointSerializer != null) { 
                jgen.writeFieldName("upperEndpoint");
                _endpointSerializer.serialize(value.upperEndpoint(), jgen, provider);
            } else { 
                provider.defaultSerializeField("upperEndpoint", value.upperEndpoint(), jgen);
            } 
            provider.defaultSerializeField("upperBoundType", value.upperBoundType(), jgen);
        } 
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java