class FieldWriterObjectMethod<T>
        extends FieldWriterObject<T> {
    protected FieldWriterObjectMethod(
            String name,
            int ordinal,
            long features,
            String format,
            Locale locale,
            String label,
            Type fieldType,
            Class fieldClass,
            Field field,
            Method method
    ) {
        super(name, ordinal, features, format, locale, label, fieldType, fieldClass, field, method);
    }

    @Override
    public Object getFieldValue(Object object) {<FILL_FUNCTION_BODY>}
}

        try {
            return method.invoke(object);
        } catch (IllegalArgumentException | IllegalAccessException | InvocationTargetException e) {
            throw new JSONException("invoke getter method error, " + fieldName, e);
        }
    
<methods>public ObjectWriter#RAW getInitWriter() ,public ObjectWriter#RAW getObjectWriter(com.alibaba.fastjson2.JSONWriter, Class#RAW) ,public boolean unwrapped() ,public boolean write(com.alibaba.fastjson2.JSONWriter, T) ,public void writeEnumJSONB(com.alibaba.fastjson2.JSONWriter, Enum#RAW) ,public void writeValue(com.alibaba.fastjson2.JSONWriter, T) <variables>final non-sealed boolean array,volatile Class#RAW initValueClass,static final AtomicReferenceFieldUpdater<FieldWriterObject#RAW,Class#RAW> initValueClassUpdater,final non-sealed boolean number,final non-sealed boolean unwrapped