Class OpcodeName
java.lang.Object
org.eolang.jeo.representation.directives.OpcodeName
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
ConstructorsConstructorDescriptionOpcodeName
(int opcode) Constructor.OpcodeName
(int opcode, AtomicInteger counter) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionasString()
Get string representation of a bytecode.Get simplified opcode name without counter.
-
Constructor Details
-
OpcodeName
public OpcodeName(int opcode) Constructor.- Parameters:
opcode
- Bytecode operation code.
-
OpcodeName
Constructor.- Parameters:
opcode
- Bytecode operation code.counter
- Opcode counter.
-
-
Method Details
-
simplified
Get simplified opcode name without counter.- Returns:
- Simplified opcode name.
-
asString
Get string representation of a bytecode.- Returns:
- String representation of a bytecode.
-