{% setvar book_path %}/reference/dokkatest/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

ViewDebug.FlagToString

{% setvar page_path %}dokkatest/platform/ViewDebug.FlagToString.html{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "reference/_java_switcher2.md" %}

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

Summary

Public methods

abstract @NonNull int

The value to compare to the result of:original value & mask.

abstract @NonNull int

The mask to apply to the original value.

abstract @NonNull String

The String to use in place of the original int value.

abstract @NonNull boolean

Indicates whether to output the flag when the test is true,or false.

Public methods

equals

@NonNull
public abstract int equals()

The value to compare to the result of:original value & mask.

Returns
int

An arbitrary value.

mask

@NonNull
public abstract int mask()

The mask to apply to the original value.

Returns
int

An arbitrary int value.

name

@NonNull
public abstract String name()

The String to use in place of the original int value.

Returns
String

An arbitrary non-null String.

outputIf

@NonNull
public abstract boolean outputIf()

Indicates whether to output the flag when the test is true,or false. Defaults to true.