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

Item representing the field of a structure type.

## Static Field: FLAG_ANONYMOUS
Type: `int`

Constant value: `2097152`
Description: This flag indicates that the field is anonymous \(it does not have a meaningful name\).

## Static Field: FLAG_HINT_RVA
Type: `int`

Constant value: `1`
Description: This hint indicates that the field's value may be an offset relative to a memory base.

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

Description: Get the alignment requirement for this field.
return: 0 if none, else a byte value specifying the alignment requirement for this field

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

Description: Reserved for bit fields.
return: exclusive bit end

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

Description: Reserved for bit fields.
return: bit size

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

Description: Reserved for bit fields.
return: bit start

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

Description: Convenience method returning the end offset \(exclusive\) of the field. The value returned is [#getOffset()](#getOffset()) \+ [#getSize()](#getSize()). If padding follows the field, the returned offset points to the first padding byte.
return: exclusive end offset

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

Description: Retrieve the field flags.
return: a bitfield of `FLAG_xxx` constants

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

Description: Get the field name.
return: the name, never null

## Method: getName
- parameter: `includeBitfield`, type: `boolean`
- return type: `java.lang.String`

Description: Get the field name.
parameter: includeBitfield: if true, include bitfield information
return: the name, never null

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

Description: Get the field offset within the structure. Note that is this is a union\-field, the value returned will always be zero.
return: field offset

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

Description: Get the field effective size \(not counting padding, ie following gap bytes\) in bytes. If the field is a bitfield, the full field size is returned. Eg, "int a:1" could return 4.
return: field size

## Method: getType
- return type: `com.pnfsoftware.jeb.core.units.code.asm.type.INativeType`

Description: Get the field type. A synthetic field has not type.
return: the type, or null for a synthetic field

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

Description: Determine whether this field is anonymous.
return: true if this field is anonymous

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

Description: Determine if this field is a bit field.
return: true if this field is a bit field

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

Description: A synthetic field is an artificial field that represents a gap item, ie the unused space between two real structure field.
return: true if this field is synthetic

