LiteralValue

sealed class LiteralValue<out T : Any> : KmAnnotationArgument

A kind of annotation argument, whose value is directly accessible via value. This is possible for annotation arguments of primitive types, unsigned types, and strings.

For example, in @Foo("bar"), argument of Foo is a StringValue with value equal to bar.

Parameters

T

the type of the value of this argument

Inheritors

Properties

Link copied to clipboard
abstract val value: T

The value of this argument.