LazyRepresentation

class LazyRepresentation(provider: () -> Any?)(source)

A representation which shall be evaluated lazily during reporting.

For instance, an AssertionGroup with a FeatureAssertionGroupType has typically a AssertionGroup.representation with a LazyRepresentation.

Constructors

Link copied to clipboard
constructor(provider: () -> Any?)

Functions

Link copied to clipboard
fun eval(): Any?

Evaluates the representation.