@Retention(value = RetentionPolicy.SOURCE)
@Target(value = )
annotation Attribute.IntMap


One entry in a mapping of int values to enum or flag names.

Summary

Public functions

abstract Int

Bit mask for this entry.

abstract String

Name of the entry.

abstract Int

Enumeration ordinal or flag target value.

Public functions

mask

Added in 1.0.0
abstract fun mask(): Int

Bit mask for this entry.

If set to zero, the default, the annotation processor will assume the bitmask is the same as the target value. Setting this value marks the entire intMapping as flag values.

Returns
Int

the bit

name

Added in 1.0.0
abstract fun name(): String

Name of the entry.

Returns
String

the entry name

value

Added in 1.0.0
abstract fun value(): Int

Enumeration ordinal or flag target value.

Returns
Int

the entry value