DalvInsnList.
| Modifier and Type | Class and Description |
|---|---|
| public static class | PositionList.
Entry in a position list. |
| Modifier and Type | Field and Description |
|---|---|
| public static final PositionList | EMPTY
|
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PositionList. | Returns: non-null; element at that index>= 0, < size(); which indexGets the element at the given index. |
| public static PositionList | Returns: non-null; the positions listnon-null; instructions to converthow much information should be included; one of the
static constants defined by this class howMuch)Extracts and returns the source position information out of an instruction list. |
| public void | set(int
>= 0, < size(); which indexnon-null; the entry to set at nSets the entry at the given index. |
| EMPTY | back to summary |
|---|---|
| public static final PositionList EMPTY
| |
| IMPORTANT | back to summary |
|---|---|
| public static final int IMPORTANT constant for | |
| LINES | back to summary |
|---|---|
| public static final int LINES constant for | |
| NONE | back to summary |
|---|---|
| public static final int NONE constant for | |
| PositionList | back to summary |
|---|---|
| public PositionList(int size) Constructs an instance. All indices initially contain
| |
| get | back to summary |
|---|---|
| public PositionList. Gets the element at the given index. It is an error to call
this with the index for an element which was never set; if you
do that, this will throw
| |
| make | back to summary |
|---|---|
| public static PositionList make(DalvInsnList insns, int howMuch) Extracts and returns the source position information out of an instruction list.
| |
| set | back to summary |
|---|---|
| public void set(int n, PositionList. Sets the entry at the given index.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final int | address
|
| private final SourcePosition | position
|
| Access | Constructor and Description |
|---|---|
| public | Entry(int
>= 0; address of this entrynon-null; corresponding source position informationConstructs an instance. |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public SourcePosition |
| address | back to summary |
|---|---|
| private final int address
| |
| position | back to summary |
|---|---|
| private final SourcePosition position
| |
| Entry | back to summary |
|---|---|
| public Entry(int address, SourcePosition position) Constructs an instance.
| |
| getAddress | back to summary |
|---|---|
| public int getAddress() Gets the address.
| |
| getPosition | back to summary |
|---|---|
| public SourcePosition getPosition() Gets the source position information.
| |