Class SingleByteReferenceForm

Direct Known Subclasses:
FloatRefForm, IntRefForm, StringRefForm

public abstract class SingleByteReferenceForm extends ReferenceForm
Some bytecodes (such as (a)ldc, fldc and ildc) have single-byte references to the class pool. This class is the abstract superclass of those classes.
  • Field Details

    • widened

      protected boolean widened
  • Constructor Details

    • SingleByteReferenceForm

      public SingleByteReferenceForm(int opcode, 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.
  • Method Details