Class OpcodeName


  • public final class OpcodeName
    extends Object
    Opcode name. The name of bytecode instruction. The name combined with unique number in order to avoid name collisions.
    Since:
    0.1.0
    • Constructor Detail

      • OpcodeName

        public OpcodeName​(int opcode)
        Constructor.
        Parameters:
        opcode - Bytecode operation code.
    • Method Detail

      • simplified

        public String simplified()
        Get simplified opcode name without counter.
        Returns:
        Simplified opcode name.
      • code

        public int code()
        Opcode.
        Returns:
        Opcode
        To do:
        #770:35min Get rid of code() method. This method looks like a getter. For now this method should be used by opeo in it/AgentsIT.java. Let's remove code() method, so this class will be getter-free.
      • asString

        public String asString()
        Get string representation of a bytecode.
        Returns:
        String representation of a bytecode.