public class DexFieldData
extends java.lang.Object
This class represents a DEX encoded_field
object.
DexField
Modifier and Type | Method and Description |
---|---|
int |
getAccessFlags()
Get the field access flags.
|
int |
getFieldIndex()
Get the field index (index of Field object).
|
int |
getUserFlags()
Get user-defined flags for the field.
|
void |
setUserFlags(int flags)
Set user-defined flags for the field.
|
public int getFieldIndex()
Get the field index (index of Field object).
public int getAccessFlags()
Get the field access flags.
Refer to the ACC_xxx
constants in the Dex
class.
public int getUserFlags()
Get user-defined flags for the field. (This is not a DEX element.)
Refer to DexMethodData.getUserFlags()
for more information.
public void setUserFlags(int flags)
Set user-defined flags for the field. (This is not a DEX element.)
Refer to DexMethodData.setUserFlags(int)
for more information.
flags
- the user-defined flags