code.invokestatic(pool.addMethodRef("java/lang/System", "arraycopy", "(Ljava/lang/Object;ILjava/lang/Object;II)V"));
code.aload(l_newparameters);
code.iconst(0);
code.iload(l_index);
code.invokestatic(pool.addMethodRef("anvil/core/Register", "getAnyNameOf", "(I)Lanvil/core/Any;"));
code.aastore();
code.getstatic(pool.addFieldRef(clazz.getIndex(), "m_"+function.getName(), "Lanvil/script/Function;"));
code.aload(l_context);
code.self();
code.aload(l_newparameters);
code.invokeinterface(pool.addInterfaceMethodRef("anvil/script/Function",