Attribute.IntMap
@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 |
mask()Bit mask for this entry. |
abstract @NonNull String |
name()Name of the entry. |
abstract int |
value()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 |