Class OpcodeManager

  • public class OpcodeManager
    extends Object
    • Constructor Detail

      • OpcodeManager

        public OpcodeManager()
    • Method Detail

      • getOpcode

        public Opcode getOpcode​(ObjectName objectName,
                                Opcode.Type type,
                                String operand,
                                String[] methodSignature)

        Returns the OpcodeData for the specified ObjectName + args, or null if no opcode exists for that operation. Favors exact matches over pattern matches.

        objectName -
        methodSignature -
      • addOpcode

        public Opcode[] addOpcode​(Opcode newOpcode)
        \{} if the opcode unchanged, \{ newOpcode } for new opcodes, \{ oldOpcode, newOpcode } for changed opcodes
      • updateOpcodeNumbers

        public void updateOpcodeNumbers()