# Interface: com.pnfsoftware.jeb.core.units.code.asm.type.IPackageManager

The native package manager.

## Method: createPackage
- parameter: `parent`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPackage`
- parameter: `simplename`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPackage`

Description: Create a package.
parameter: parent: parent package, or null
parameter: simplename: package simple name
return: created package

## Method: createPackage
- parameter: `fqname`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPackage`

Description: Create a package.
parameter: fqname: fully qualified package name
return: created package

## Method: deletePackage
- parameter: `pkg`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPackage`
- return type: `boolean`

Description: Delete a package.
parameter: pkg: package to delete
return: true on success

## Method: getPackageOfItem
- parameter: `item`, type: `com.pnfsoftware.jeb.core.units.code.asm.items.INativeItem`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPackage`

Description: Get the package containing an item.
parameter: item: native item
return: package, or null

## Method: getPackages
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.asm.type.IPackage>`

Description: Get all packages.
return: packages

## Method: moveToClass
- parameter: `item`, type: `com.pnfsoftware.jeb.core.units.code.asm.items.INativeItem`
- parameter: `dst`, type: `com.pnfsoftware.jeb.core.units.code.asm.items.INativeClassItem`
- return type: `boolean`

Description: Move an item to a class.
parameter: item: native item
parameter: dst: destination class item
return: true on success

## Method: moveToPackage
- parameter: `item`, type: `com.pnfsoftware.jeb.core.units.code.asm.items.INativeItem`
- parameter: `dst`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPackage`
- return type: `boolean`

Description: Move an item to a package.
parameter: item: native item
parameter: dst: destination package
return: true on success

