# Interface: com.pnfsoftware.jeb.core.units.code.debug.IDebuggerVariable

A variable managed by a debugger. Variables are generally provided by [IDebuggerThreadStackFrame](IDebuggerThreadStackFrame).

## Static Field: FLAG_FINAL
Type: `int`

Constant value: `16`
Description: Final variable flag.

## Static Field: FLAG_PRIVATE
Type: `int`

Constant value: `2`
Description: Private variable flag.

## Static Field: FLAG_PROTECTED
Type: `int`

Constant value: `4`
Description: Protected variable flag.

## Static Field: FLAG_PUBLIC
Type: `int`

Constant value: `1`
Description: Public variable flag.

## Static Field: FLAG_STATIC
Type: `int`

Constant value: `8`
Description: Static variable flag.

## Method: canEditType
- return type: `boolean`

Description: Indicate if the type can be changed \(for variables that have unknown type\). Use [#setTypeHint(String)](#setTypeHint(String)) to modify the type.
return: true if the type can be changed

## Method: canEditValue
- return type: `boolean`

Description: Indicate if the value can be changed. Use [#setTypedValue(ITypedValue)](#setTypedValue(ITypedValue)) to modify the value.
return: true if the value can be changed

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

Description: Return a complete, human\-readable representation of the variable.
return: formatted variable

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

Description: Retrieve the alternate variable name.
return: alternate name, or null

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

Description: Get the variable bit flags. Refer to the `FLAG_xxx` constants in this class.
return: variable flags

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

Description: Get the variable name.
return: variable name

## Method: getTypedValue
- return type: `com.pnfsoftware.jeb.core.units.code.debug.ITypedValue`

Description: Retrieve the variable value.
return: the value, null on error

## Method: setTypeHint
- parameter: `typeHint`, type: `java.lang.String`
- return type: `boolean`

Description: Set the type hint for this variable.
parameter: typeHint: type hint
return: true if the type hint was accepted

## Method: setTypedValue
- parameter: `value`, type: `com.pnfsoftware.jeb.core.units.code.debug.ITypedValue`
- return type: `boolean`

Description: Set the variable value. If the operation is not be permitted or supported, the return value should be false.
parameter: value: a value whose type must be consistent with the object provided by            [#getTypedValue()](#getTypedValue())
return: true if the value was changed

