Class ClassSpecificReferenceForm

Direct Known Subclasses:
InitMethodReferenceForm, SuperFieldRefForm, SuperMethodRefForm, ThisFieldRefForm, ThisMethodRefForm

public abstract class ClassSpecificReferenceForm extends ReferenceForm
Abstract superclass of all classes that have class-specific references to constant pool information. These classes have a context (a string representing a pack200 class) i.e., they send getClassSpecificPoolEntry instead of getConstantPoolEntry.
  • Constructor Details

    • ClassSpecificReferenceForm

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