Methods Summary |
---|
public abstract void | addContents(DexFile file)Populates a {@link DexFile} with items from within this instance.
This will not add an item to the file for this instance itself
(which should have been done by whatever refers to this instance).
Note: Subclasses must override this to do something
appropriate.
|
public abstract ItemType | itemType()Returns the item type for this instance.
|
public final java.lang.String | typeName()Returns the human name for the particular type of item this
instance is.
return itemType().toHuman();
|
public abstract int | writeSize()Gets the size of this instance when written, in bytes.
|
public abstract void | writeTo(DexFile file, com.android.dx.util.AnnotatedOutput out)Writes the representation of this instance to the given data section,
using the given {@link DexFile} to look things up as needed.
If this instance keeps track of its offset, then this method will
note the written offset and will also throw an exception if this
instance has already been written.
|