# Class: com.pnfsoftware.jeb.core.units.code.asm.items.DataHints

Hints for native data items.

## Constructor: DataHints

Description: Create empty data hints.

## Static Field: ABSOLUTE_ADDRESS
Type: `int`

Constant value: `1`
Description: Hint: the data item may be an absolute virtual address. The item type may or may not be compatible with that hint.

## Static Field: INNER_REFERENCE
Type: `int`

Constant value: `16`
Description: Hint: there is a reference to specific data byte \(most probably flag usage\)

## Static Field: NO_ADDRESS
Type: `int`

Constant value: `3`
Description: Hint: the data item is NOT an address. It is used directly or combined with another value.

## Static Field: RELATIVE_ADDRESS
Type: `int`

Constant value: `2`
Description: Hint: the data item may be an image\-base relative virtual address. The item type may or may not be compatible with that hint. 

 NOTE: A similar hint can also be set onto structure field definitions, which are part of structure types; see [IStructureTypeField#FLAG_HINT_RVA](IStructureTypeField#FLAG_HINT_RVA)

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

Description: Get the address calculation hint.
return: 0 or one of [#ABSOLUTE_ADDRESS](#ABSOLUTE_ADDRESS), [#RELATIVE_ADDRESS](#RELATIVE_ADDRESS), [#NO_ADDRESS](#NO_ADDRESS)

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

Description: Get the reference hint.
return: 0 or [#INNER_REFERENCE](#INNER_REFERENCE)

## Method: setAddressCalculationHint
- parameter: `addressCalculationHint`, type: `int`

Description: Set the address calculation hint.
parameter: addressCalculationHint: 0 or [#ABSOLUTE_ADDRESS](#ABSOLUTE_ADDRESS), [#RELATIVE_ADDRESS](#RELATIVE_ADDRESS) or            [#NO_ADDRESS](#NO_ADDRESS)

## Method: setReferenceHint
- parameter: `referenceHint`, type: `int`

Description: Set the reference hint.
parameter: referenceHint: 0 or [#INNER_REFERENCE](#INNER_REFERENCE)

