# Class: com.pnfsoftware.jeb.core.units.codeobject.CompilerType

Dynamic enumeration of common compiler types.

## Protected Constructor: CompilerType
- parameter: `id`, type: `int`
- parameter: `name`, type: `java.lang.String`


## Static Field: GCC
Type: `com.pnfsoftware.jeb.core.units.codeobject.CompilerType`
Description: GCC, generic

## Static Field: MSVC
Type: `com.pnfsoftware.jeb.core.units.codeobject.CompilerType`
Description: Microsoft Visual Studio, generic

## Static Field: UNKNOWN
Type: `com.pnfsoftware.jeb.core.units.codeobject.CompilerType`
Description: unknown compiler

## Static Field: builtinCount
Type: `int`
Description: Number of built\-in compiler types.

## Protected Static Field: map
Type: `java.util.LinkedHashMap<java.lang.String,com.pnfsoftware.jeb.core.units.codeobject.CompilerType>`
Description: Registered compiler types.

## Method: ordinal
- return type: `int`


## Static Method: count
- return type: `int`

Description: Get number of registered compiler types.
return: number of registered compiler types

## Static Method: register
- parameter: `id`, type: `int`
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.codeobject.CompilerType`

Description: Register a compiler type.
parameter: id: compiler type id
parameter: name: compiler type name
return: registered compiler type

## Static Method: unregister
- parameter: `name`, type: `java.lang.String`
- return type: `boolean`

Description: Unregister a dynamic compiler type.
parameter: name: compiler type name
return: true if the type was unregistered

## Static Method: valueOf
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.codeobject.CompilerType`

Description: Retrieve a compiler type by name.
parameter: name: compiler type name
return: matching compiler type, or [#UNKNOWN](#UNKNOWN)

## Static Method: valueOf
- parameter: `id`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.codeobject.CompilerType`

Description: Retrieve a compiler type by id.
parameter: id: compiler type id
return: matching compiler type, or [#UNKNOWN](#UNKNOWN)

## Static Method: values
- return type: `java.util.Collection<com.pnfsoftware.jeb.core.units.codeobject.CompilerType>`

Description: Get registered compiler types.
return: registered compiler types

