# Interface: com.pnfsoftware.jeb.core.units.code.IVariable

High\-level definition of a variable \(aka identifier\), generated and used by decompilers.

## Method: getBitFromId
- parameter: `bitId`, type: `int`
- return type: `int`

Description: Convert a bit id to a bit index.
parameter: bitId: bit id
return: bit index

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

Description: Get the variable bit size.
return: bit size

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

Description: Get the variable id.
return: variable id

## Method: getIdFromBit
- parameter: `bitIndex`, type: `int`
- return type: `int`

Description: Convert a bit index to a bit id.
parameter: bitIndex: bit index
return: bit id

## Method: getIds
- return type: `java.util.Collection<java.lang.Integer>`

Description: Get all ids represented by this variable.
return: variable ids

## Method: getName
- return type: `java.lang.String`

Description: Get the variable name.
return: variable name

