open fun newInvokeDynamic(name: String, desc: String, bsm: Handle, vararg bsmArgs: Any): Int
Adds an invokedynamic reference to the constant pool of the class being build. Does nothing if the constant pool already contains a similar item. This method is intended for Attribute sub classes, and is normally not needed by class generators or adapters.
name - name of the invoked method.
desc - descriptor of the invoke method.
bsmArgs - the bootstrap method constant arguments.
Return
the index of a new or already existing invokedynamic reference item.