mv.visitFieldInsn(Opcodes.GETSTATIC, proxyClassFileName, FIELD_INTERCEPTED_METHODS, Type.getDescriptor(Method[].class));
// push the methodIndex of the current method
if (methodIndex <128)
{
mv.visitIntInsn(Opcodes.BIPUSH, methodIndex);
}
else if (methodIndex < 32267)
{
// for methods > 127 we need to push a short number as index
mv.visitIntInsn(Opcodes.SIPUSH, methodIndex);