private int addTypeInternal(final Symbol entry) {
        if (typeTable == null) {
            typeTable = new Symbol[16];
        }
        if (typeCount == typeTable.length) {
            Symbol[] newTypeTable = new Symbol[2 * typeTable.length];
            System.arraycopy(typeTable, 0, newTypeTable, 0, typeTable.length);
            typeTable = newTypeTable;
        }
        typeTable[typeCount++] = entry;
        return put(entry).index;
    }
Adds an {@link Frame#ITEM_UNINITIALIZED} type in the type table of this symbol table. Does
nothing if the type table already contains a similar type.

@param value          an internal class name.
@param bytecodeOffset the bytecode offset of the NEW instruction that created this {@link
                      Frame#ITEM_UNINITIALIZED} type value.
@return the index of a new or already existing type Symbol with the given value.
core/src/main/java/com/alibaba/fastjson2/internal/asm/SymbolTable.java