- <init>
Constructs an instance. It is initially empty.
- add
Adds a class to this instance. It is illegal to attempt to add more than one
class with the same nam
- toDex
Returns the contents of this instance as a .dex file, in byte[] form.
- calcChecksum
Calculates the checksum for the .dex file in the given array, and modify the
array to contain it.
- calcSignature
Calculates the signature for the .dex file in the given array, and modify the
array to contain it.
- findItemOrNull
Gets the IndexedItem corresponding to the given constant, if it is a constant
that has such a corres
- getByteData
Gets the byte data section.This is package-scope in order to allow the various
Item instances to add
- getClassDefs
Gets the class definitions section.This is package-scope in order to allow the
various Item instance
- getFieldIds
Gets the field identifiers section.This is package-scope in order to allow the
various Item instance
- getFileSize
Gets the total file size, if known.This is package-scope in order to allow the
HeaderSection to set
- getFirstDataSection
Gets the first section of the file that is to be considered part of the data
section.This is package
- getLastDataSection
Gets the last section of the file that is to be considered part of the data
section.This is package-