Class MethodRefForm


  • public class MethodRefForm
    extends ReferenceForm
    This class implements the byte code form for those bytecodes which have regular method references (and only regular method references). These are: invokevirtual invokespecial invokestatic Class-specific references to methods are subclasses of ClassSpecificReferenceForm instead.
    • Constructor Detail

      • MethodRefForm

        public MethodRefForm​(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.