Class NarrowClassRefForm


  • public class NarrowClassRefForm
    extends ClassRefForm
    This class is used for representations of cldc and cldc_w. In these cases, a narrow class ref has one byte and a wide class ref has two bytes.
    • Constructor Detail

      • NarrowClassRefForm

        public NarrowClassRefForm​(int opcode,
                                  java.lang.String name,
                                  int[] rewrite)
        Constructs a new instance with the specified opcode, name, operandType and rewrite.
        Parameters:
        opcode - index corresponding to the opcode's value.
        name - String printable name of the opcode.
        rewrite - Operand positions (which will later be rewritten in ByteCodes) are indicated by -1.
      • NarrowClassRefForm

        public NarrowClassRefForm​(int opcode,
                                  java.lang.String name,
                                  int[] rewrite,
                                  boolean widened)
        Constructs a new instance with the specified opcode, name, operandType and rewrite.
        Parameters:
        opcode - index corresponding to the opcode's value.
        name - String printable name of the opcode.
        rewrite - Operand positions (which will later be rewritten in ByteCodes) are indicated by -1.
        widened - TODO.