# Interface: com.pnfsoftware.jeb.core.units.code.android.IDexReferenceManager

Manager of cross\-references for Dex units.

## Method: addFieldReference
- parameter: `fsig`, type: `java.lang.String`
- parameter: `sourceAddress`, type: `java.lang.String`
- parameter: `refType`, type: `com.pnfsoftware.jeb.core.units.code.android.dex.DexReferenceType`
- return type: `boolean`

Description: Record a cross\-reference to a field.
parameter: fsig: referenced field signature
parameter: sourceAddress: source address of the reference
parameter: refType: reference type
return: true if the reference was recorded

## Method: addMethodReference
- parameter: `msig`, type: `java.lang.String`
- parameter: `sourceAddress`, type: `java.lang.String`
- parameter: `refType`, type: `com.pnfsoftware.jeb.core.units.code.android.dex.DexReferenceType`
- return type: `boolean`

Description: Record a cross\-reference to a method.
parameter: msig: referenced method signature
parameter: sourceAddress: source address of the reference
parameter: refType: reference type
return: true if the reference was recorded

## Method: addStringReference
- parameter: `value`, type: `java.lang.String`
- parameter: `sourceAddress`, type: `java.lang.String`
- parameter: `refType`, type: `com.pnfsoftware.jeb.core.units.code.android.dex.DexReferenceType`
- return type: `boolean`

Description: Record a cross\-reference to a string.
parameter: value: referenced string value
parameter: sourceAddress: source address of the reference
parameter: refType: reference type
return: true if the reference was recorded

## Method: getReferences
- parameter: `poolType`, type: `com.pnfsoftware.jeb.core.units.code.android.dex.DexPoolType`
- parameter: `index`, type: `int`
- return type: `java.util.Collection<com.pnfsoftware.jeb.core.units.code.android.dex.IDexAddress>`

Description: Retrieve cross\-references to an item.
parameter: poolType: type of item
parameter: index: item index
return: reference addresses

## Method: getReferences
- parameter: `poolType`, type: `com.pnfsoftware.jeb.core.units.code.android.dex.DexPoolType`
- parameter: `index`, type: `int`
- parameter: `cap`, type: `int`
- return type: `java.util.Collection<com.pnfsoftware.jeb.core.units.code.android.dex.IDexAddress>`

Description: Retrieve cross\-references to an item.
parameter: poolType: type of item
parameter: index: item index
parameter: cap: max number of references to return \(leave to 0 to mean return everything possible\)
return: reference addresses

