public class ThisMethodRefForm extends ClassSpecificReferenceForm
This class implements references to methods defined in the current class, which is set by this class in the OperandManager. Pack200 allows the current class to be inferred from context; this class tracks previous method reference current classes to allow this.
  • Constructor Details

    • ThisMethodRefForm

      public ThisMethodRefForm(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