| Modifier and Type | Field and Description |
|---|---|
| private static final int | ALIGNMENT
file alignment of this class, in bytes |
| private final Item | firstItem
|
| private final int | itemCount
|
| private final Item | lastItem
|
| private final Section | section
|
| private final ItemType | type
|
| private static final int | WRITE_SIZE
write size of this class, in bytes: three |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | addContents(DexFile
non-null; the file to populateImplements abstract org. DexFile with items from within this instance.
|
| public static void | addMap(Section[]
non-null; the sectionsnon-null; the section that the resulting map
should be added to; it should be empty on entry to this methodConstructs a list item with instances of this class representing the contents of the given array of sections, adding it to the given map section. |
| public ItemType | itemType()
Implements abstract org. |
| public final String | toHuman()
Implements abstract org. |
| public String | |
| protected void | writeTo0(DexFile
non-null; the file to use for referencenon-null; where to write toImplements abstract org. |
| ALIGNMENT | back to summary |
|---|---|
| private static final int ALIGNMENT file alignment of this class, in bytes | |
| firstItem | back to summary |
|---|---|
| private final Item firstItem
| |
| itemCount | back to summary |
|---|---|
| private final int itemCount
| |
| lastItem | back to summary |
|---|---|
| private final Item lastItem
| |
| section | back to summary |
|---|---|
| private final Section section
| |
| type | back to summary |
|---|---|
| private final ItemType type
| |
| WRITE_SIZE | back to summary |
|---|---|
| private static final int WRITE_SIZE write size of this class, in bytes: three | |
| MapItem | back to summary |
|---|---|
| private MapItem(ItemType type, Section section, Item firstItem, Item lastItem, int itemCount) Constructs an instance. | |
| MapItem | back to summary |
|---|---|
| private MapItem(Section section) Constructs a self-referential instance. This instance is meant to
represent the section containing the
| |
| addContents | back to summary |
|---|---|
| public void addContents(DexFile file) Implements abstract org. Doc from org. Populates a Note Subclasses must override this to do something appropriate. | |
| addMap | back to summary |
|---|---|
| public static void addMap(Section[] sections, MixedItemSection mapSection) Constructs a list item with instances of this class representing the contents of the given array of sections, adding it to the given map section.
| |
| itemType | back to summary |
|---|---|
| public ItemType itemType() Implements abstract org. Doc from org. Returns the item type for this instance. | |
| toHuman | back to summary |
|---|---|
| public final String toHuman() Implements abstract org. Doc from org. Gets a short human-readable string representing this instance. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| writeTo0 | back to summary |
|---|---|
| protected void writeTo0(DexFile file, AnnotatedOutput out) Implements abstract org. Doc from org. Performs the actual write of the contents of this instance to
the given data section. This is called by
| |