# Interface: com.pnfsoftware.jeb.core.units.codeobject.IELFRelocationApplicator

Apply one specific relocation type.

## Method: apply
- parameter: `relocatedFile`, type: `com.pnfsoftware.jeb.core.units.codeobject.IELFRelocationApplicator.RelocatedFile`
- parameter: `relocInstance`, type: `com.pnfsoftware.jeb.core.units.codeobject.IELFRelocationApplicator.RelocInstance`

Description: Apply the relocation on the provided 'file' instance.
parameter: relocatedFile: relocated file
parameter: relocInstance: relocation instance
throws: if relocation application fails

## Method: canApply
- parameter: `relocInstance`, type: `com.pnfsoftware.jeb.core.units.codeobject.IELFRelocationApplicator.RelocInstance`
- return type: `boolean`

Description: Determine whether the relocation can be applied. By default, the relocation is not applied when the symbol, if there is one, is not mapped. This is particularly important to avoid applying meaningless relocations in static analysis context.
parameter: relocInstance: relocation instance
return: true if the relocation can be applied

## Method: getType
- return type: `int`

Description: Get the relocation type.
return: relocation type

