int setMajorVersionAndClassName(final int majorVersion, final String className) {
        /**
         * The major version number of the class to which this symbol table belongs.
         */
        this.className = className;
        return addConstantUtf8Reference(/*CONSTANT_CLASS_TAG*/ 7, className).index;
    }
Sets the major version and the name of the class to which this symbol table belongs. Also adds
the class name to the constant pool.

@param majorVersion a major ClassFile version number.
@param className    an internal class name.
@return the constant pool index of a new or already existing Symbol with the given class name.
core/src/main/java/com/alibaba/fastjson2/internal/asm/SymbolTable.java