public abstract class IdItem extends IndexedItem
| Constructor and Description |
|---|
IdItem(CstType type)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addContents(DexFile file)
Populates a
DexFile with items from within this instance. |
CstType |
getDefiningClass()
Gets the type constant for the defining class of the
reference.
|
getIndex, hasIndex, indexString, setIndexpublic IdItem(CstType type)
type - non-null; the type constant for the defining
class of the referencepublic void addContents(DexFile file)
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.
addContents in class Itemfile - non-null; the file to populatepublic final CstType getDefiningClass()
non-null; the type constantCopyright © 2020. All Rights Reserved.