Describer

@Since(version = "2.2")
interface Describer<T>

This interface is used to describe an object in a debug-friendly way with the usage of a UELocale.

Functions

Link copied to clipboard
@Since(version = "2.2")
abstract fun describe(locale: UELocale, obj: T?): List<String>

Describes the obj in a debug-friendly way with the usage of a locale in multiple lines. If the object does not require multiple lines, this method should use a single-element list consisting of just describeShortly instead of returning an empty list. If the underlying method returns null, this method should return an empty list.

Link copied to clipboard
@Since(version = "2.2")
abstract fun describeShortly(locale: UELocale, obj: T?): String?

Describes the obj in a debug-friendly way with the usage of a locale in 1 line.