# Interface: com.pnfsoftware.jeb.core.units.code.asm.decompiler.INativeDecompilerExtensionsManager

Definition of the extensions manager for [INativeDecompilerUnit](INativeDecompilerUnit).

## Method: registerExtension
- parameter: `ext`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.INativeDecompilerExtension`
- return type: `boolean`

Description: Register an extension with a [ExtensionPriority#MEDIUM_PRIORITY](ExtensionPriority#MEDIUM_PRIORITY). The extension will be initialized.
parameter: ext: an extension object
return: true if the extension was registered; the method fails if the extension was already         registered

## Method: registerExtension
- parameter: `ext`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.INativeDecompilerExtension`
- parameter: `priority`, type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.INativeDecompilerExtensionsManager.ExtensionPriority`
- return type: `boolean`

Description: Register an extension with the given priority. The extension will be initialized.
parameter: ext: an extension object
parameter: priority: 
return: true if the extension was registered; the method fails if the extension was already         registered

## Method: registerExtensions
- parameter: `listExt`, type: `java.util.List<? extends com.pnfsoftware.jeb.core.units.code.asm.decompiler.INativeDecompilerExtension>`
- parameter: `removePreviousExtensions`, type: `boolean`
- return type: `int`

Description: Register a list of extensions with a [ExtensionPriority#MEDIUM_PRIORITY](ExtensionPriority#MEDIUM_PRIORITY). The extensions will be initialized.
parameter: listExt: 
parameter: removePreviousExtensions: if true the currently registered extensions are removed            before adding the new ones.
return: the number of extensions that were successfully registered

