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

A calling convention manager provides calling convention definitions for a given processor.

## Method: addConvention
- parameter: `cc`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.ICallingConvention`
- return type: `boolean`

Description: Add a calling convention.
parameter: cc: calling convention
return: true if the convention was added

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

Description: Get all calling conventions present in this manager. Not all may be compatible with the set\-up processor, subsystem, and compiler. 

 Usage of this method is discouraged. Prefer [#getConventions()](#getConventions()) instead.
return: all calling conventions

## Method: getCompilerType
- return type: `com.pnfsoftware.jeb.core.units.codeobject.CompilerType`

Description: Get the optional compiler type supported by this manager.
return: may be null

## Method: getConvention
- parameter: `conventionName`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.ICallingConvention`

Description: Retrieve a convention by name.
parameter: conventionName: convention name
return: convention, or null

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

Description: Get calling conventions provided by this manager that are compatible with the set\-up processor, subsystem, and compiler.
return: compatible calling conventions

## Method: getDefaultConvention
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.ICallingConvention`

Description: Get the default convention provided by this manager.
return: default calling convention

## Method: getProcessorType
- return type: `com.pnfsoftware.jeb.core.units.codeobject.ProcessorType`

Description: Get the processor type supported by this manager.
return: never null

## Method: getSubsystemType
- return type: `com.pnfsoftware.jeb.core.units.codeobject.SubsystemType`

Description: Get the optional subsystem type supported by this manager.
return: may be null

## Method: removeConvention
- parameter: `cc`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.ICallingConvention`
- return type: `boolean`

Description: Remove a calling convention.
parameter: cc: calling convention
return: true if the convention was removed

## Method: setDefaultConvention
- parameter: `defaultConvention`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.ICallingConvention`

Description: Set the default convention.
parameter: defaultConvention: non\-null

