Class BytecodeInstructionEntry
java.lang.Object
org.eolang.jeo.representation.bytecode.BytecodeInstructionEntry
- All Implemented Interfaces:
BytecodeEntry
,Testable
Bytecode instruction.
- Since:
- 0.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionBytecodeInstructionEntry
(int opcode, Object... args) Constructor.BytecodeInstructionEntry
(int opcode, List<Object> args) Constructor. -
Method Summary
-
Constructor Details
-
BytecodeInstructionEntry
Constructor.- Parameters:
opcode
- Opcode.args
- Arguments.
-
BytecodeInstructionEntry
Constructor.- Parameters:
opcode
- Opcode.args
- Arguments.
-
-
Method Details
-
writeTo
public void writeTo(org.objectweb.asm.MethodVisitor visitor) Description copied from interface:BytecodeEntry
Write instruction to the method visitor.- Specified by:
writeTo
in interfaceBytecodeEntry
- Parameters:
visitor
- Method visitor.
-
directives
- Specified by:
directives
in interfaceBytecodeEntry
-
isLabel
public boolean isLabel()- Specified by:
isLabel
in interfaceBytecodeEntry
-
isOpcode
public boolean isOpcode()- Specified by:
isOpcode
in interfaceBytecodeEntry
-
testCode
Description copied from interface:Testable
Generate test Java code.
-