code: private void encodeInt(GeneratorAdapter mg, int intValue, int encoder) {
      mg.loadArg(encoder);
      mg.push(intValue);
      mg.invokeInterface(Type.getType(Encoder.class), getMethod(Encoder.class, "writeInt", int.class));
      mg.pop();
    }
docs: Generates method body for encoding an compile time int value.
  @param mg Method body generator
  @param intValue The integer constant value to encode
  @param encoder Method argument index of the encoder