EnumValue

data class EnumValue(val enumClassName: ClassName, val enumEntryName: String) : KmAnnotationArgument

An annotation argument with an enumeration type.

For example, in @Foo(MyEnum.OPTION_A), argument of Foo is an EnumValue with enumClassName MyEnum and enumEntryName OPTION_A.

Constructors

Link copied to clipboard
constructor(enumClassName: ClassName, enumEntryName: String)

Properties

Link copied to clipboard

FQ name of the enum class

Link copied to clipboard

Name of the enum entry