public class CodeContext.Offset extends Object
The concept of an "offset" is that if one writes into the middle of a "Code" attribute, all offsets behind the insertion point are automatically shifted.
| Constructor and Description |
|---|
Offset() |
| Modifier and Type | Method and Description |
|---|---|
CodeContext |
getCodeContext() |
org.codehaus.janino.StackMap |
getStackMap() |
void |
set()
Sets this "Offset" to the offset of the current inserter; inserts this "Offset" before the current inserter.
|
void |
setBasicBlock()
Set this offset, and mark it as the the beginning of a "basic block".
|
void |
setOffset() |
void |
setStackMap(org.codehaus.janino.StackMap stackMap) |
String |
toString() |
public void set()
public void setBasicBlock()
public void setOffset()
public org.codehaus.janino.StackMap getStackMap()
public void setStackMap(org.codehaus.janino.StackMap stackMap)
public final CodeContext getCodeContext()
CodeContext that this CodeContext.Offset belongs toCopyright © 2022. All rights reserved.