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


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

Summary

Public methods

abstract int

Bit mask for this entry.

abstract @NonNull String

Name of the entry.

abstract int

Enumeration ordinal or flag target value.

Public methods

mask

Added in 1.0.0
public abstract int mask()

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
public abstract @NonNull String name()

Name of the entry.

Returns
@NonNull String

the entry name

value

Added in 1.0.0
public abstract int value()

Enumeration ordinal or flag target value.

Returns
int

the entry value