Class BytecodeMethod
- java.lang.Object
-
- org.eolang.jeo.representation.bytecode.BytecodeMethod
-
public final class BytecodeMethod extends Object
Bytecode method.- Since:
- 0.1.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BytecodeMethodinstruction(int opcode, Object... args)Add instruction.BytecodeMethodlabel(org.objectweb.asm.Label label)Add label.BytecodeClassup()Return to the original class.
-
-
-
Method Detail
-
up
public BytecodeClass up()
Return to the original class.- Returns:
- Original class.
-
label
public BytecodeMethod label(org.objectweb.asm.Label label)
Add label.- Parameters:
label- Label.- Returns:
- This object.
-
instruction
public BytecodeMethod instruction(int opcode, Object... args)
Add instruction.- Parameters:
opcode- Opcode.args- Arguments.- Returns:
- This object.
-
-