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

A type manager specifically for primitives and built\-in types. It is itself managed by a [ITypeManager](ITypeManager).

## Method: addAlternateName
- parameter: `t`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType`
- parameter: `name`, type: `java.lang.String`
- parameter: `setAsEffectiveName`, type: `boolean`
- return type: `boolean`


## Method: addPrimitive
- parameter: `name`, type: `java.lang.String`
- parameter: `size`, type: `int`
- parameter: `category`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.PrimitiveCategory`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType`

Description: Add a primitive or a compiler built\-in \(~primitive\) type.
parameter: name: 
parameter: size: size of the primitive in bytes
parameter: category: primitive category
return: 

## Method: getAlternateNames
- parameter: `t`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType`
- return type: `java.util.List<java.lang.String>`


## Method: getExactFloatBySize
- parameter: `size`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType`

Description: Get the primitive float fitting on the exact amount of bytes.
parameter: size: exact size in bytes
return: 

## Method: getExactIntegerBySize
- parameter: `size`, type: `int`
- parameter: `signed`, type: `boolean`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType`

Description: Get the primitive integer fitting on the exact amount of bytes.
parameter: size: exact size in bytes
parameter: signed: 
return: 

## Method: getIntegerBySize
- parameter: `size`, type: `int`
- parameter: `signed`, type: `boolean`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType`

Description: Get the smallest primitive integer having at least the provided amount of bytes.
parameter: size: minimal size in bytes
parameter: signed: 
return: 

## Method: getNames
- return type: `java.util.Collection<java.lang.String>`

Description: Retrieve a list of all primitive type names. Alternates are returned.
return: 

## Method: getSizes
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveSizes`


## Method: getType
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType`


## Method: getTypes
- return type: `java.util.Collection<com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType>`

Description: Retrieve a list of the principal primitive types. Alternates are not returned.
return: 

## Method: isCharacter
- parameter: `t`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType`
- return type: `boolean`


## Method: isFloat
- parameter: `t`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType`
- return type: `boolean`


## Method: isInteger
- parameter: `t`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType`
- return type: `boolean`


## Method: isSignedInteger
- parameter: `t`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType`
- return type: `boolean`


## Method: isUnsignedInteger
- parameter: `t`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType`
- return type: `boolean`


## Method: isVoid
- parameter: `t`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType`
- return type: `boolean`


## Method: setEffectiveName
- parameter: `t`, type: `com.pnfsoftware.jeb.core.units.code.asm.type.IPrimitiveType`
- parameter: `name`, type: `java.lang.String`
- return type: `boolean`


