Files
kotlin-fork/analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/annotationApplicationArgument.txt
T
Dmitrii Gridin 87ca9e4203 [LL FIR] reduce resolution inside getOrBuildFirFor
We can avoid body resolution in some cases because it is more
than out contract is required

So ANNOTATIONS_ARGUMENTS_MAPPING should be enough for all
non-body parts of a declaration to return fully-resolved FirElement
Body parts incudes: body and default values

^KT-59266 Fixed
2023-06-16 14:47:49 +00:00

21 lines
803 B
Plaintext

KT element: KtValueArgument
FIR element: FirConstExpressionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
String(y)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] annotationApplicationArgument.kt
[ResolvedTo(BODY_RESOLVE)] annotations container
public final [ResolvedTo(STATUS)] annotation class Annotation : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] constructor([ResolvedTo(STATUS)] name: R|kotlin/String|): R|Annotation| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] val name: R|kotlin/String| = R|<local>/name|
public [ResolvedTo(STATUS)] get(): R|kotlin/String|
}
@R|Annotation|[Types](name = String(y)) public final [ResolvedTo(ANNOTATIONS_ARGUMENTS_MAPPING)] fun x(): R|kotlin/Unit| {
}