{% setvar book_path %}/reference/dokkatest/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
annotation ViewDebug.FlagToString
Defines a mapping from a flag to a String. Such a mapping can be usedin an @ExportedProperty to provide more meaningful values to the end user.
See also | |
---|---|
ViewDebug.ExportedProperty |
Public methods |
|
---|---|
abstract @NonNull int |
equals() The value to compare to the result of: |
abstract @NonNull int |
mask() The mask to apply to the original value. |
abstract @NonNull String |
name() The String to use in place of the original int value. |
abstract @NonNull boolean |
outputIf() Indicates whether to output the flag when the test is true,or false. |
@NonNull
public abstract int equals()
The value to compare to the result of:original value &
.mask
Returns | |
---|---|
int |
An arbitrary value. |
@NonNull
public abstract int mask()
The mask to apply to the original value.
Returns | |
---|---|
int |
An arbitrary int value. |