Class OpcodeLookup

java.lang.Object
net.covers1624.coffeegrinder.util.OpcodeLookup

public class OpcodeLookup extends Object
Created by covers1624 on 1/3/21.
  • Constructor Details

    • OpcodeLookup

      public OpcodeLookup()
  • Method Details

    • lookupOpcode

      public static int lookupOpcode(String name)
      Lookup and opcode from its name.
      Parameters:
      name - The name of the opcode as defined in Opcodes
      Returns:
      The opcode.
    • getName

      public static String getName(int opcode)
      Gets An opcode name as defined in Opcodes.
      Parameters:
      opcode - The opcode.
      Returns:
      The name.
    • getOpcodeNames

      public static Set<String> getOpcodeNames()