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:BytecodeEntryWrite instruction to the method visitor.- Specified by:
writeToin interfaceBytecodeEntry- Parameters:
visitor- Method visitor.
-
directives
- Specified by:
directivesin interfaceBytecodeEntry
-
isLabel
public boolean isLabel()- Specified by:
isLabelin interfaceBytecodeEntry
-
isOpcode
public boolean isOpcode()- Specified by:
isOpcodein interfaceBytecodeEntry
-
testCode
Description copied from interface:TestableGenerate test Java code.
-