@Target(value=TYPE)
@Retention(value=SOURCE)
public static @interface InspectableProperty.FlagEntry
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
name
The string name of this flag.
|
int |
target
A target value that the property's value must equal after masking.
|
Modifier and Type | Optional Element and Description |
---|---|
int |
mask
A mask that the property will be bitwise anded with before comparing to the target.
|
public abstract java.lang.String name
public abstract int target
mask()
is 0), the target will be reused as the
mask. This handles the common case where no flags mutually exclude each other.public abstract int mask
target()
will be used as a mask. Zero
was chosen as the default since bitwise and with zero is always zero.