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.

        Parameters:
        objectName -
        methodSignature -
      • addOpcode

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

        public void updateOpcodeNumbers()