.dex file.
| Modifier and Type | Field and Description |
|---|---|
| private final TreeMap | methodIds
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IndexedItem | get(Constant
non-null; constant to look forImplements abstract org. Constant.
|
| public int | Returns: >= 0; the reference's indexnon-null; the reference to look upGets the index of the given reference, which must have been added to this instance. |
| public MethodIdItem | Returns: non-null; the interned referencenon-null; the reference to internInterns an element into this instance. |
| public Collection | items()
Implements abstract org. |
| public void | writeHeaderPart(AnnotatedOutput
non-null; where to writeWrites the portion of the file header that refers to this instance. |
| methodIds | back to summary |
|---|---|
| private final TreeMap<CstBaseMethodRef, MethodIdItem> methodIds
| |
| MethodIdsSection | back to summary |
|---|---|
| public MethodIdsSection(DexFile file) Constructs an instance. The file offset is initially unknown.
| |
| get | back to summary |
|---|---|
| public IndexedItem get(Constant cst) Implements abstract org. Doc from org. Gets the item corresponding to the given
| |
| indexOf | back to summary |
|---|---|
| public int indexOf(CstBaseMethodRef ref) Gets the index of the given reference, which must have been added to this instance.
| |
| intern | back to summary |
|---|---|
| public MethodIdItem intern(CstBaseMethodRef method) Interns an element into this instance.
| |
| items | back to summary |
|---|---|
| public Collection Implements abstract org. Doc from org. Gets the collection of all the items in this section. It is not valid to attempt to change the returned list.
| |
| writeHeaderPart | back to summary |
|---|---|
| public void writeHeaderPart(AnnotatedOutput out) Writes the portion of the file header that refers to this instance.
| |