public static final class MethodEditor.Output extends Object
Modifier and Type | Method and Description |
---|---|
void |
emit(Instruction i)
Emit an instruction at the current point in the code.
|
void |
emit(Instruction[] instrs)
Emit a list of instructions at the current point in the code.
|
void |
emit(Instruction[] instrs,
ExceptionHandler[] handlers)
Emit a list of instructions with some exception handlers at the current point in the code.
|
void |
emit(Instruction i,
ExceptionHandler[] handlers)
Emit an instruction with some exception handlers at the current point in the code.
|
void |
emitLabel(int label)
Emit a label definition at the current point in the code.
|
public void emitLabel(int label)
public void emit(Instruction i)
public void emit(Instruction i, ExceptionHandler[] handlers)
public void emit(Instruction[] instrs)
public void emit(Instruction[] instrs, ExceptionHandler[] handlers)