Skip to content

KaNonConstantInitializerValue

An initializer value which cannot be represented as a compile-time constant.

The Analysis API is unable to evaluate the expression statically and thus cannot provide a KaConstantValue for the initializer.

See also

Constructors

KaNonConstantInitializerValue

constructor(initializerPsi: KtExpression?)

Properties

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.