Interface IDexAddress
public interface IDexAddress
Reference in the Dex unit.
-
Method Summary
-
Method Details
-
getInternalAddress
String getInternalAddress()Get the internal address. Always present.- Returns:
- the internal address
-
getUserAddress
String getUserAddress()Get the user (non-internal) string address. Optional operation.- Returns:
- optional, null if not provided
-
getEncodedAddress
long getEncodedAddress()Get the encoded address, represented as a long. Optional operation.The 8-byte packed long is encoded as:
tt oo oo oo oo vv vv vv t (1 byte) : a tag, refer to
ITAG_xxxo (4 bytes) : optional 32-bit bytecode offset, if tag isIDexUnit.ITAG_BYTECODEv (3 bytes) : object index in the pool- Returns:
- optional, 0 if not provided
-
getReferenceType
DexReferenceType getReferenceType()Get the kind of reference represented by this address.- Returns:
- the reference type
-
getInfo
String getInfo()Get additional reference information.- Returns:
- optional reference information, or null if none
-
getFlags
int getFlags()Get reference flags.- Returns:
- implementation-specific reference flags
-