# Interface: com.pnfsoftware.jeb.core.units.code.android.ir.compiler.IDPatternReplacer

Custom replacer code for IR pattern. Used by [DPatternMatcher](DPatternMatcher)'s replace and searchAndReplace methods.

## 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\)

