Class StringRefForm


  • public class StringRefForm
    extends SingleByteReferenceForm
    This class implements the byte code form for those bytecodes which have string references (and only string references).
    • Constructor Detail

      • StringRefForm

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

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