class FieldWriterListField<T>
        extends FieldWriterList<T> {
    FieldWriterListField(
            String fieldName,
            Type itemType,
            int ordinal,
            long features,
            String format,
            String label,
            Type fieldType,
            Class fieldClass,
            Field field
    ) {
        super(fieldName, itemType, ordinal, features, format, label, fieldType, fieldClass, field, null);
    }

    @Override
    public boolean write(JSONWriter jsonWriter, T object) {<FILL_FUNCTION_BODY>}

    @Override
    public void writeValue(JSONWriter jsonWriter, T object) {
        List value = (List) getFieldValue(object);

        if (value == null) {
            jsonWriter.writeNull();
            return;
        }

        boolean refDetect = jsonWriter.isRefDetect();

        if (refDetect) {
            String refPath = jsonWriter.setPath(fieldName, value);
            if (refPath != null) {
                jsonWriter.writeReference(refPath);
                jsonWriter.popPath(value);
                return;
            }
        }

        writeListValue(jsonWriter, value);

        if (refDetect) {
            jsonWriter.popPath(value);
        }
    }
}

        List value = (List) getFieldValue(object);

        JSONWriter.Context context = jsonWriter.context;

        if (value == null) {
            long features = this.features | context.getFeatures();
            if ((features & (WriteNulls.mask | NullAsDefaultValue.mask | WriteNullListAsEmpty.mask)) != 0) {
                writeFieldName(jsonWriter);
                jsonWriter.writeArrayNull();
                return true;
            } else {
                return false;
            }
        }

        String refPath = jsonWriter.setPath(this, value);
        if (refPath != null) {
            writeFieldName(jsonWriter);
            jsonWriter.writeReference(refPath);
            jsonWriter.popPath(value);
            return true;
        }

        if (itemType == String.class) {
            writeListStr(jsonWriter, true, value);
        } else {
            writeList(jsonWriter, value);
        }
        jsonWriter.popPath(value);
        return true;
    
<methods>public Class#RAW getItemClass() ,public java.lang.reflect.Type getItemType() ,public ObjectWriter#RAW getItemWriter(com.alibaba.fastjson2.JSONWriter, java.lang.reflect.Type) ,public ObjectWriter#RAW getObjectWriter(com.alibaba.fastjson2.JSONWriter, Class#RAW) ,public void writeList(com.alibaba.fastjson2.JSONWriter, List#RAW) ,public final void writeListJSONB(com.alibaba.fastjson2.JSONWriter, List#RAW) ,public void writeListStr(com.alibaba.fastjson2.JSONWriter, boolean, List<java.lang.String>) ,public void writeListValue(com.alibaba.fastjson2.JSONWriter, List#RAW) ,public final void writeListValueJSONB(com.alibaba.fastjson2.JSONWriter, List#RAW) <variables>final non-sealed Class#RAW itemClass,final non-sealed boolean itemClassNotReferenceDetect,ObjectWriter#RAW itemObjectWriter,final non-sealed java.lang.reflect.Type itemType,ObjectWriter#RAW listWriter,final non-sealed boolean writeAsString