.dex file.
| Modifier and Type | Field and Description |
|---|---|
| private final TreeMap | classDefs
|
| private ArrayList | orderedDefs
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public IndexedItem | get(Constant
non-null; constant to look forImplements abstract org. Constant.
|
| public Collection | items()
Implements abstract org. |
| protected void | orderItems()
Implements abstract org. items will yield a
so-ordered collection.
|
| private int | Returns: >= 0; the next index to assignnull-ok; type ref to assign, if any>= 0; the next index to assignmaximum recursion depth; if negative, this will
throw an exception indicating class definition circularity maxDepth)Helper for |
| public void | writeHeaderPart(AnnotatedOutput
non-null; where to writeWrites the portion of the file header that refers to this instance. |
| classDefs | back to summary |
|---|---|
| private final TreeMap<Type, ClassDefItem> classDefs
| |
| orderedDefs | back to summary |
|---|---|
| private ArrayList<ClassDefItem> orderedDefs
| |
| ClassDefsSection | back to summary |
|---|---|
| public ClassDefsSection(DexFile file) Constructs an instance. The file offset is initially unknown.
| |
| add | back to summary |
|---|---|
| public void add(ClassDefItem clazz) Adds an element to this instance. It is illegal to attempt to add more than one class with the same name.
| |
| get | back to summary |
|---|---|
| public IndexedItem get(Constant cst) Implements abstract org. Doc from org. Gets the item corresponding to the given
| |
| 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.
| |
| orderItems | back to summary |
|---|---|
| protected void orderItems() Implements abstract org. Doc from org. Alters or picks the order for items in this instance if desired,
so that subsequent calls to
| |
| orderItems0 | back to summary |
|---|---|
| private int orderItems0(Type type, int idx, int maxDepth) Helper for
| |
| writeHeaderPart | back to summary |
|---|---|
| public void writeHeaderPart(AnnotatedOutput out) Writes the portion of the file header that refers to this instance.
| |