| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicReference | |
| private final CodeLocation | |
| private final int | |
| private final int | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | TableSwitchBuilder(final int low, final int high)
Builds a lookup switch statement with no specified default location. |
| public | TableSwitchBuilder(final CodeLocation
The default location defaultLocation, final int low, final int high)Builds a lookup switch statement, specifying the default location |
| Modifier and Type | Method and Description |
|---|---|
| public AtomicReference | Returns: A reference to the BranchEnd that will be created.Adds a value to the table that is at a location yet to be written. |
| public TableSwitchBuilder | |
| public AtomicReference | |
| public CodeLocation | |
| public int | |
| public int | |
| public List |
| defaultBranchEnd | back to summary |
|---|---|
| private final AtomicReference<BranchEnd> defaultBranchEnd | |
| defaultLocation | back to summary |
|---|---|
| private final CodeLocation defaultLocation | |
| high | back to summary |
|---|---|
| private final int high | |
| low | back to summary |
|---|---|
| private final int low | |
| values | back to summary |
|---|---|
| private final List<TableSwitchBuilder. | |
| TableSwitchBuilder | back to summary |
|---|---|
| public TableSwitchBuilder(final int low, final int high) Builds a lookup switch statement with no specified default location.
When the lookup switch is added to the code attribute a | |
| TableSwitchBuilder | back to summary |
|---|---|
| public TableSwitchBuilder(final CodeLocation defaultLocation, final int low, final int high) Builds a lookup switch statement, specifying the default location
| |
| add | back to summary |
|---|---|
| public AtomicReference Adds a value to the table that is at a location yet to be written. After this lookup switch has been written then the BranchEnd can be retrieved from the returned reference.
| |
| add | back to summary |
|---|---|
| public TableSwitchBuilder add(final CodeLocation location) Adds a value to the table | |
| getDefaultBranchEnd | back to summary |
|---|---|
| public AtomicReference | |
| getDefaultLocation | back to summary |
|---|---|
| public CodeLocation getDefaultLocation() | |
| getHigh | back to summary |
|---|---|
| public int getHigh() | |
| getLow | back to summary |
|---|---|
| public int getLow() | |
| getValues | back to summary |
|---|---|
| public List | |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicReference | |
| private final CodeLocation |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AtomicReference | |
| public CodeLocation |
| branchEnd | back to summary |
|---|---|
| private final AtomicReference<BranchEnd> branchEnd | |
| location | back to summary |
|---|---|
| private final CodeLocation location | |
| ValuePair | back to summary |
|---|---|
| public ValuePair(final AtomicReference<BranchEnd> branchEnd) | |
| ValuePair | back to summary |
|---|---|
| public ValuePair(final CodeLocation location) | |
| getBranchEnd | back to summary |
|---|---|
| public AtomicReference | |
| getLocation | back to summary |
|---|---|
| public CodeLocation getLocation() | |