| Package | Description |
|---|---|
| com.android.dx.dex.file | |
| com.android.dx.rop.cst |
Interfaces and implementation of things related to the constant pool.
|
| Modifier and Type | Method and Description |
|---|---|
CstFieldRef |
FieldAnnotationStruct.getField()
Gets the field this item is for.
|
CstFieldRef |
FieldIdItem.getFieldRef()
Gets the field constant.
|
CstFieldRef |
EncodedField.getRef()
Gets the constant for the field.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationsDirectoryItem.addFieldAnnotations(CstFieldRef field,
Annotations annotations,
DexFile dexFile)
Adds a field annotations item to this instance.
|
void |
ClassDefItem.addFieldAnnotations(CstFieldRef field,
Annotations annotations,
DexFile dexFile)
Adds a field annotations item to this class.
|
int |
FieldIdsSection.indexOf(CstFieldRef ref)
Gets the index of the given reference, which must have been added
to this instance.
|
FieldIdItem |
FieldIdsSection.intern(CstFieldRef field)
Interns an element into this instance.
|
| Constructor and Description |
|---|
EncodedField(CstFieldRef field,
int accessFlags)
Constructs an instance.
|
FieldAnnotationStruct(CstFieldRef field,
AnnotationSetItem annotations)
Constructs an instance.
|
FieldIdItem(CstFieldRef field)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
static CstFieldRef |
CstFieldRef.forPrimitiveType(Type primitiveType)
Returns an instance of this class that represents the static
field which should hold the class corresponding to a given
primitive type.
|
CstFieldRef |
CstEnumRef.getFieldRef()
Get a
CstFieldRef that corresponds with this instance. |
Copyright © 2020. All Rights Reserved.