public final class LocalList extends FixedSizeList
| Modifier and Type | Class and Description |
|---|---|
static class |
LocalList.Disposition
Disposition of a local entry.
|
static class |
LocalList.Entry
Entry in a local list.
|
static class |
LocalList.MakeState
Intermediate state when constructing a local list.
|
| Modifier and Type | Field and Description |
|---|---|
static LocalList |
EMPTY
non-null; empty instance |
| Constructor and Description |
|---|
LocalList(int size)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
debugPrint(java.io.PrintStream out,
java.lang.String prefix)
Does a human-friendly dump of this instance.
|
LocalList.Entry |
get(int n)
Gets the element at the given index.
|
static LocalList |
make(DalvInsnList insns)
Constructs an instance for the given method, based on the given
block order and intermediate local information.
|
void |
set(int n,
LocalList.Entry entry)
Sets the entry at the given index.
|
equals, get0, getOrNull0, hashCode, set0, shrinkToFit, size, toHuman, toHuman, toString, toStringisImmutable, isMutable, setImmutable, throwIfImmutable, throwIfMutablepublic static final LocalList EMPTY
non-null; empty instancepublic LocalList(int size)
null.size - >= 0; the size of the listpublic LocalList.Entry get(int n)
NullPointerException.n - >= 0, < size(); which indexnon-null; element at that indexpublic void set(int n,
LocalList.Entry entry)
n - >= 0, < size(); which indexentry - non-null; the entry to set at npublic void debugPrint(java.io.PrintStream out,
java.lang.String prefix)
out - non-null; where to dumpprefix - non-null; prefix to attach to each line of outputpublic static LocalList make(DalvInsnList insns)
insns - non-null; instructions to convertnon-null; the constructed listCopyright © 2020. All Rights Reserved.