|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.util.MutabilityControl
com.android.dx.util.FixedSizeList
com.android.dx.dex.code.LocalList
public final class LocalList
List of local variables. Each local variable entry indicates a range of code which it is valid for, a register number, a name, and a type.
| Nested Class Summary | |
|---|---|
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. |
| Field Summary | |
|---|---|
static LocalList |
EMPTY
non-null; empty instance |
| Constructor Summary | |
|---|---|
LocalList(int size)
Constructs an instance. |
|
| Method Summary | |
|---|---|
void |
debugPrint(PrintStream out,
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. |
| Methods inherited from class com.android.dx.util.FixedSizeList |
|---|
equals, get0, getOrNull0, hashCode, set0, shrinkToFit, size, toHuman, toHuman, toString, toString |
| Methods inherited from class com.android.dx.util.MutabilityControl |
|---|
isImmutable, isMutable, setImmutable, throwIfImmutable, throwIfMutable |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final LocalList EMPTY
non-null; empty instance
| Constructor Detail |
|---|
public LocalList(int size)
null.
size - >= 0; the size of the list| Method Detail |
|---|
public LocalList.Entry get(int n)
NullPointerException.
n - >= 0, < size(); which index
non-null; element at that index
public void set(int n,
LocalList.Entry entry)
n - >= 0, < size(); which indexentry - non-null; the entry to set at n
public void debugPrint(PrintStream out,
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 convert
non-null; the constructed list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||