Skip to content

KaConstantValueForAnnotation

class KaConstantValueForAnnotation(val annotationValue: KaAnnotationValue, val initializerPsi: KtExpression?) : KaInitializerValue

An initializer value of a property of an annotation, which cannot be represented as a compile-time constant, but can be represented as a KaAnnotationValue.

Constructors

KaConstantValueForAnnotation

constructor(annotationValue: KaAnnotationValue, initializerPsi: KtExpression?)

Properties

annotationValue

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.