Item newMethodItem(final String owner, final String name, final String desc, final boolean itf) {
        int type = itf ? 11 /* IMETH */ : 10 /* METH */;
        key3.set(type, owner, name, desc);
        Item result = get(key3);
        if (result == null) {
            // put122(type, newClassItem(owner).index, newNameTypeItem(name, desc).index);
            int s1 = newClassItem(owner).index, s2 = newNameTypeItem(name, desc).index;
            pool.put12(type, s1).putShort(s2);
            result = new Item(index++, key3);
            put(result);
        }
        return result;
    }
Adds a method reference to the constant pool of the class being build. Does nothing if the constant pool already
contains a similar item.

@param owner the internal name of the method's owner class.
@param name the method's name.
@param desc the method's descriptor.
@param itf <tt>true</tt> if <tt>owner</tt> is an interface.
@return a new or already existing method reference item.
src/main/java/com/alibaba/fastjson/asm/ClassWriter.java