# Interface: com.pnfsoftware.jeb.core.units.code.android.ir.compiler.IDPatternReplacer

Custom replacer code for IR pattern. Used by [DPatternMatcher](com.pnfsoftware.jeb.core.units.code.android.ir.compiler.DPatternMatcher.md)'s replace and  searchAndReplace methods.

## Abstract Method: replace
- parameter: `matcher`, type: `com.pnfsoftware.jeb.core.units.code.android.ir.compiler.DPatternMatcher`
- parameter: `result`, type: `com.pnfsoftware.jeb.core.units.code.android.ir.compiler.DPatternMatcher.Result`
- return type: `java.lang.Boolean`

Description: Replace a matched pattern.
parameter: matcher: the matcher object
parameter: result: the matching result
return: success indicator; null to indicate that the replacement is to be performed by the          matcher \(default process, using the output pattern\)

