.dex file.
| Modifier and Type | Field and Description |
|---|---|
| private final TreeMap | fieldIds
|
| 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 FieldIdItem | 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. |
| fieldIds | back to summary |
|---|---|
| private final TreeMap<CstFieldRef, FieldIdItem> fieldIds
| |
| FieldIdsSection | back to summary |
|---|---|
| public FieldIdsSection(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(CstFieldRef ref) Gets the index of the given reference, which must have been added to this instance.
| |
| intern | back to summary |
|---|---|
| public FieldIdItem intern(CstFieldRef field) 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.
| |