Skip to content

KaConstantInitializerValue

class KaConstantInitializerValue(val constant: KaConstantValue, val initializerPsi: KtExpression?) : KaInitializerValue

An initializer value which can be evaluated to a compile-time constant, such as a string value, number, or null literal.

Constructors

KaConstantInitializerValue

constructor(constant: KaConstantValue, initializerPsi: KtExpression?)

Properties

constant

initializerPsi

open override val initializerPsi: KtExpression?

The KtExpression backing the initializer. It may be null if the property/variable comes from a non-source file.