Class OpcodeName
- java.lang.Object
-
- org.eolang.jeo.representation.directives.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 Summary
Constructors Constructor Description OpcodeName(int opcode)
Constructor.OpcodeName(int opcode, AtomicInteger counter)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asString()
Get string representation of a bytecode.String
simplified()
Get simplified opcode name without counter.
-
-
-
Constructor Detail
-
OpcodeName
public OpcodeName(int opcode)
Constructor.- Parameters:
opcode
- Bytecode operation code.
-
OpcodeName
public OpcodeName(int opcode, AtomicInteger counter)
Constructor.- Parameters:
opcode
- Bytecode operation code.counter
- Opcode counter.
-
-