public void visitLdcInsn(final Number value) {
        if (value instanceof Integer) {
            visitLdcInsn(value.intValue());
        } else if (value instanceof Long) {
            visitLdcInsn(value.longValue());
        } else {
            throw new UnsupportedOperationException(value.getClass().getName());
        }
    }
Constructs a new {@link MethodWriter}.

@param symbolTable where the constants used in this AnnotationWriter must be stored.
@param access      the method's access flags (see {@link Opcodes}).
@param name        the method's name.
@param descriptor  the method's descriptor (see {@link Type}).
core/src/main/java/com/alibaba/fastjson2/internal/asm/MethodWriter.java