diff --git a/analysis/low-level-api-fir/src/org/jetbrains/kotlin/analysis/low/level/api/fir/transformers/LLFirTargetResolver.kt b/analysis/low-level-api-fir/src/org/jetbrains/kotlin/analysis/low/level/api/fir/transformers/LLFirTargetResolver.kt index 5e7968811ae..8e032dc1c47 100644 --- a/analysis/low-level-api-fir/src/org/jetbrains/kotlin/analysis/low/level/api/fir/transformers/LLFirTargetResolver.kt +++ b/analysis/low-level-api-fir/src/org/jetbrains/kotlin/analysis/low/level/api/fir/transformers/LLFirTargetResolver.kt @@ -11,9 +11,11 @@ import org.jetbrains.kotlin.analysis.low.level.api.fir.util.checkPhase import org.jetbrains.kotlin.fir.FirElementWithResolveState import org.jetbrains.kotlin.fir.FirFileAnnotationsContainer import org.jetbrains.kotlin.fir.declarations.FirFile +import org.jetbrains.kotlin.fir.declarations.FirProperty import org.jetbrains.kotlin.fir.declarations.FirRegularClass import org.jetbrains.kotlin.fir.declarations.FirResolvePhase import org.jetbrains.kotlin.fir.declarations.FirScript +import org.jetbrains.kotlin.fir.declarations.utils.correspondingValueParameterFromPrimaryConstructor import org.jetbrains.kotlin.fir.symbols.lazyResolveToPhase internal abstract class LLFirTargetResolver( @@ -42,6 +44,11 @@ internal abstract class LLFirTargetResolver( if (target is FirFileAnnotationsContainer) return resolveTarget.firFile.annotationsContainer?.lazyResolveToPhase(resolverPhase) + + if (target is FirProperty) { + // We share type references and annotations with the original parameter + target.correspondingValueParameterFromPrimaryConstructor?.lazyResolveToPhase(resolverPhase) + } } override fun withFile(firFile: FirFile, action: () -> Unit) { diff --git a/analysis/low-level-api-fir/testData/contextCollector/primaryConstructorParameter.txt b/analysis/low-level-api-fir/testData/contextCollector/primaryConstructorParameter.txt index df64f0982a2..794c497b1fb 100644 --- a/analysis/low-level-api-fir/testData/contextCollector/primaryConstructorParameter.txt +++ b/analysis/low-level-api-fir/testData/contextCollector/primaryConstructorParameter.txt @@ -20,7 +20,7 @@ Tower Data Context: FILE: [ResolvedTo(IMPORTS)] primaryConstructorParameter.kt public final [ResolvedTo(STATUS)] class Foo : R|kotlin/Any| { - public [ResolvedTo(STATUS)] constructor([ResolvedTo(STATUS)] a: R|kotlin/String| = LAZY_EXPRESSION, [ResolvedTo(STATUS)] b: R|kotlin/Int| = LAZY_EXPRESSION, [ResolvedTo(STATUS)] c: R|kotlin/Long| = LAZY_EXPRESSION): R|Foo| { + public [ResolvedTo(ANNOTATION_ARGUMENTS)] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] a: R|kotlin/String| = LAZY_EXPRESSION, [ResolvedTo(ANNOTATION_ARGUMENTS)] b: R|kotlin/Int| = LAZY_EXPRESSION, [ResolvedTo(ANNOTATION_ARGUMENTS)] c: R|kotlin/Long| = LAZY_EXPRESSION): R|Foo| { LAZY_super } diff --git a/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/copyTypeCollision.txt b/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/copyTypeCollision.txt index eb9e6673947..4e7587add94 100644 --- a/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/copyTypeCollision.txt +++ b/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/copyTypeCollision.txt @@ -326,7 +326,7 @@ FILE: [ResolvedTo(IMPORTS)] copyTypeCollision.kt } public final data [ResolvedTo(STATUS)] class MyDataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { + public [ResolvedTo(CONTRACTS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { LAZY_super } diff --git a/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/copyTypeCollisionScript.txt b/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/copyTypeCollisionScript.txt index c280bba9a0f..fddae28aa3d 100644 --- a/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/copyTypeCollisionScript.txt +++ b/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/copyTypeCollisionScript.txt @@ -397,7 +397,7 @@ FILE: [ResolvedTo(IMPORTS)] copyTypeCollisionScript.kts } public final data [ResolvedTo(STATUS)] class MyDataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { + public [ResolvedTo(CONTRACTS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { LAZY_super } @@ -451,3 +451,4 @@ FILE: [ResolvedTo(BODY_RESOLVE)] copyTypeCollisionScript.kts public final [ResolvedTo(BODY_RESOLVE)] fun copy([ResolvedTo(BODY_RESOLVE)] prop: R|one/two/MyDataClass.MyClass| = this@R|one/two/MyDataClass|.R|one/two/MyDataClass.prop|): R|one/two/MyDataClass| } + diff --git a/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/propertyTypeCollision.txt b/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/propertyTypeCollision.txt index c4772bfc108..f05f0782ae4 100644 --- a/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/propertyTypeCollision.txt +++ b/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/propertyTypeCollision.txt @@ -65,7 +65,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollision.kt } public? final? data [ResolvedTo(RAW_FIR)] class MyDataClass : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: MyClass): R|one/two/MyDataClass| { + public? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: MyClass): R|one/two/MyDataClass| { LAZY_super } @@ -94,7 +94,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollision.kt } public? final? data [ResolvedTo(RAW_FIR)] class MyDataClass : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: MyClass): R|one/two/MyDataClass| { + public? [ResolvedTo(COMPANION_GENERATION)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(COMPANION_GENERATION)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: MyClass): R|one/two/MyDataClass| { LAZY_super } @@ -123,7 +123,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollision.kt } public? final? data [ResolvedTo(SUPER_TYPES)] class MyDataClass : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: MyClass): R|one/two/MyDataClass| { + public? [ResolvedTo(SUPER_TYPES)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(SUPER_TYPES)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: MyClass): R|one/two/MyDataClass| { LAZY_super } @@ -152,7 +152,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollision.kt } public? final? data [ResolvedTo(TYPES)] class MyDataClass : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: MyClass): R|one/two/MyDataClass| { + public? [ResolvedTo(TYPES)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(TYPES)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { LAZY_super } @@ -210,7 +210,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollision.kt } public final data [ResolvedTo(STATUS)] class MyDataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { + public [ResolvedTo(EXPECT_ACTUAL_MATCHING)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(EXPECT_ACTUAL_MATCHING)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { LAZY_super } @@ -239,7 +239,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollision.kt } public final data [ResolvedTo(STATUS)] class MyDataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { + public [ResolvedTo(CONTRACTS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { LAZY_super } @@ -268,7 +268,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollision.kt } public final data [ResolvedTo(STATUS)] class MyDataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { + public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { LAZY_super } @@ -297,7 +297,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollision.kt } public final data [ResolvedTo(STATUS)] class MyDataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { + public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { LAZY_super } @@ -326,7 +326,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollision.kt } public final data [ResolvedTo(STATUS)] class MyDataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { + public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { LAZY_super } diff --git a/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/propertyTypeCollisionScript.txt b/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/propertyTypeCollisionScript.txt index 0672a630ab5..2df8554c693 100644 --- a/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/propertyTypeCollisionScript.txt +++ b/analysis/low-level-api-fir/testData/lazyResolve/classes/dataClass/propertyTypeCollisionScript.txt @@ -82,7 +82,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollisionScript.kts } public? final? data [ResolvedTo(RAW_FIR)] class MyDataClass : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: MyClass): R|one/two/MyDataClass| { + public? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: MyClass): R|one/two/MyDataClass| { LAZY_super } @@ -117,7 +117,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollisionScript.kts } public? final? data [ResolvedTo(RAW_FIR)] class MyDataClass : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: MyClass): R|one/two/MyDataClass| { + public? [ResolvedTo(COMPANION_GENERATION)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(COMPANION_GENERATION)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: MyClass): R|one/two/MyDataClass| { LAZY_super } @@ -152,7 +152,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollisionScript.kts } public? final? data [ResolvedTo(SUPER_TYPES)] class MyDataClass : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: MyClass): R|one/two/MyDataClass| { + public? [ResolvedTo(SUPER_TYPES)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(SUPER_TYPES)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: MyClass): R|one/two/MyDataClass| { LAZY_super } @@ -187,7 +187,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollisionScript.kts } public? final? data [ResolvedTo(TYPES)] class MyDataClass : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: MyClass): R|one/two/MyDataClass| { + public? [ResolvedTo(TYPES)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(TYPES)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { LAZY_super } @@ -257,7 +257,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollisionScript.kts } public final data [ResolvedTo(STATUS)] class MyDataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { + public [ResolvedTo(EXPECT_ACTUAL_MATCHING)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(EXPECT_ACTUAL_MATCHING)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { LAZY_super } @@ -292,7 +292,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollisionScript.kts } public final data [ResolvedTo(STATUS)] class MyDataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { + public [ResolvedTo(CONTRACTS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { LAZY_super } @@ -327,7 +327,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollisionScript.kts } public final data [ResolvedTo(STATUS)] class MyDataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { + public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { LAZY_super } @@ -362,7 +362,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollisionScript.kts } public final data [ResolvedTo(STATUS)] class MyDataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { + public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { LAZY_super } @@ -397,7 +397,7 @@ FILE: [ResolvedTo(IMPORTS)] propertyTypeCollisionScript.kts } public final data [ResolvedTo(STATUS)] class MyDataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { + public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=one/two/MyDataClass.prop] prop: R|one/two/MyDataClass.MyClass|): R|one/two/MyDataClass| { LAZY_super } @@ -451,3 +451,4 @@ FILE: [ResolvedTo(BODY_RESOLVE)] propertyTypeCollisionScript.kts public final [ResolvedTo(BODY_RESOLVE)] fun copy([ResolvedTo(BODY_RESOLVE)] prop: R|one/two/MyDataClass.MyClass| = this@R|one/two/MyDataClass|.R|one/two/MyDataClass.prop|): R|one/two/MyDataClass| } + diff --git a/analysis/low-level-api-fir/testData/lazyResolve/compilerRequiredAnnotationsOnConstructorProperty.txt b/analysis/low-level-api-fir/testData/lazyResolve/compilerRequiredAnnotationsOnConstructorProperty.txt index 5ecc4a975cf..0dcec6b0bbe 100644 --- a/analysis/low-level-api-fir/testData/lazyResolve/compilerRequiredAnnotationsOnConstructorProperty.txt +++ b/analysis/low-level-api-fir/testData/lazyResolve/compilerRequiredAnnotationsOnConstructorProperty.txt @@ -52,7 +52,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorProperty.kt } public? final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| { - @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:Deprecated[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) i: Int, [ResolvedTo(RAW_FIR)] @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) b: String): R|A| { + @R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(constructor)) @Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [ContainingClassKey=A] constructor([ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(param)) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) i: Int, [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] @R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(parameter)) @Anno[Unresolved](LAZY_EXPRESSION) b: String): R|A| { LAZY_super } @@ -73,7 +73,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorProperty.kt } public? final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| { - @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:Deprecated[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) i: Int, [ResolvedTo(RAW_FIR)] @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) b: String): R|A| { + @R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(constructor)) @Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(COMPANION_GENERATION)] [ContainingClassKey=A] constructor([ResolvedTo(COMPANION_GENERATION)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(param)) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) i: Int, [ResolvedTo(COMPANION_GENERATION)] @R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(parameter)) @Anno[Unresolved](LAZY_EXPRESSION) b: String): R|A| { LAZY_super } @@ -94,7 +94,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorProperty.kt } public? final? [ResolvedTo(SUPER_TYPES)] class A : R|kotlin/Any| { - @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:Deprecated[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) i: Int, [ResolvedTo(RAW_FIR)] @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) b: String): R|A| { + @R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(constructor)) @Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(SUPER_TYPES)] [ContainingClassKey=A] constructor([ResolvedTo(SUPER_TYPES)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(param)) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) i: Int, [ResolvedTo(SUPER_TYPES)] @R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(parameter)) @Anno[Unresolved](LAZY_EXPRESSION) b: String): R|A| { LAZY_super } @@ -115,7 +115,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorProperty.kt } public? final? [ResolvedTo(TYPES)] class A : R|kotlin/Any| { - @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:Deprecated[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) i: Int, [ResolvedTo(RAW_FIR)] @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) b: String): R|A| { + @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public? [ResolvedTo(TYPES)] [ContainingClassKey=A] constructor([ResolvedTo(TYPES)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(TYPES)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { LAZY_super } @@ -157,7 +157,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorProperty.kt } public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| { - @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(STATUS)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { + @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(EXPECT_ACTUAL_MATCHING)] [ContainingClassKey=A] constructor([ResolvedTo(EXPECT_ACTUAL_MATCHING)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(EXPECT_ACTUAL_MATCHING)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { LAZY_super } @@ -178,7 +178,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorProperty.kt } public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| { - @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(STATUS)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { + @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(CONTRACTS)] [ContainingClassKey=A] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(CONTRACTS)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { LAZY_super } @@ -199,7 +199,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorProperty.kt } public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| { - @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(STATUS)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { + @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [ContainingClassKey=A] constructor([ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { LAZY_super } @@ -220,7 +220,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorProperty.kt } public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| { - @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(STATUS)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { + @R|kotlin/Deprecated|[Types](message = String(constructor)) @R|Anno|[Types](s = String(constructor)) public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=A] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](message = String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](s = String(param)) i: R|kotlin/Int|, [ResolvedTo(ANNOTATION_ARGUMENTS)] @R|kotlin/Deprecated|[Types](message = String(parameter)) @R|Anno|[Types](s = String(parameter)) b: R|kotlin/String|): R|A| { LAZY_super } @@ -241,7 +241,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorProperty.kt } public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| { - @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(STATUS)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { + @R|kotlin/Deprecated|[Types](message = String(constructor)) @R|Anno|[Types](s = String(constructor)) public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=A] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](message = String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](s = String(param)) i: R|kotlin/Int|, [ResolvedTo(ANNOTATION_ARGUMENTS)] @R|kotlin/Deprecated|[Types](message = String(parameter)) @R|Anno|[Types](s = String(parameter)) b: R|kotlin/String|): R|A| { LAZY_super } diff --git a/analysis/low-level-api-fir/testData/lazyResolve/compilerRequiredAnnotationsOnConstructorPropertyScript.txt b/analysis/low-level-api-fir/testData/lazyResolve/compilerRequiredAnnotationsOnConstructorPropertyScript.txt index 84f2b22714c..4f78954a882 100644 --- a/analysis/low-level-api-fir/testData/lazyResolve/compilerRequiredAnnotationsOnConstructorPropertyScript.txt +++ b/analysis/low-level-api-fir/testData/lazyResolve/compilerRequiredAnnotationsOnConstructorPropertyScript.txt @@ -69,7 +69,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorPropertyScri } public? final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| { - @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:Deprecated[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) i: Int, [ResolvedTo(RAW_FIR)] @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) b: String): R|A| { + @R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(constructor)) @Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [ContainingClassKey=A] constructor([ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(param)) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) i: Int, [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] @R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(parameter)) @Anno[Unresolved](LAZY_EXPRESSION) b: String): R|A| { LAZY_super } @@ -96,7 +96,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorPropertyScri } public? final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| { - @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:Deprecated[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) i: Int, [ResolvedTo(RAW_FIR)] @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) b: String): R|A| { + @R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(constructor)) @Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(COMPANION_GENERATION)] [ContainingClassKey=A] constructor([ResolvedTo(COMPANION_GENERATION)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(param)) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) i: Int, [ResolvedTo(COMPANION_GENERATION)] @R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(parameter)) @Anno[Unresolved](LAZY_EXPRESSION) b: String): R|A| { LAZY_super } @@ -123,7 +123,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorPropertyScri } public? final? [ResolvedTo(SUPER_TYPES)] class A : R|kotlin/Any| { - @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:Deprecated[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) i: Int, [ResolvedTo(RAW_FIR)] @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) b: String): R|A| { + @R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(constructor)) @Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(SUPER_TYPES)] [ContainingClassKey=A] constructor([ResolvedTo(SUPER_TYPES)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(param)) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) i: Int, [ResolvedTo(SUPER_TYPES)] @R|kotlin/Deprecated|[CompilerRequiredAnnotations](String(parameter)) @Anno[Unresolved](LAZY_EXPRESSION) b: String): R|A| { LAZY_super } @@ -150,7 +150,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorPropertyScri } public? final? [ResolvedTo(TYPES)] class A : R|kotlin/Any| { - @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:Deprecated[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) i: Int, [ResolvedTo(RAW_FIR)] @Deprecated[Unresolved](LAZY_EXPRESSION) @Anno[Unresolved](LAZY_EXPRESSION) b: String): R|A| { + @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public? [ResolvedTo(TYPES)] [ContainingClassKey=A] constructor([ResolvedTo(TYPES)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(TYPES)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { LAZY_super } @@ -204,7 +204,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorPropertyScri } public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| { - @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(STATUS)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { + @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(EXPECT_ACTUAL_MATCHING)] [ContainingClassKey=A] constructor([ResolvedTo(EXPECT_ACTUAL_MATCHING)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(EXPECT_ACTUAL_MATCHING)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { LAZY_super } @@ -231,7 +231,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorPropertyScri } public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| { - @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(STATUS)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { + @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(CONTRACTS)] [ContainingClassKey=A] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(CONTRACTS)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { LAZY_super } @@ -258,7 +258,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorPropertyScri } public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| { - @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(STATUS)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { + @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [ContainingClassKey=A] constructor([ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { LAZY_super } @@ -285,7 +285,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorPropertyScri } public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| { - @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(STATUS)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { + @R|kotlin/Deprecated|[Types](message = String(constructor)) @R|Anno|[Types](s = String(constructor)) public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=A] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](message = String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](s = String(param)) i: R|kotlin/Int|, [ResolvedTo(ANNOTATION_ARGUMENTS)] @R|kotlin/Deprecated|[Types](message = String(parameter)) @R|Anno|[Types](s = String(parameter)) b: R|kotlin/String|): R|A| { LAZY_super } @@ -312,7 +312,7 @@ FILE: [ResolvedTo(IMPORTS)] compilerRequiredAnnotationsOnConstructorPropertyScri } public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| { - @R|kotlin/Deprecated|[Types](String(constructor)) @R|Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) i: R|kotlin/Int|, [ResolvedTo(STATUS)] @R|kotlin/Deprecated|[Types](String(parameter)) @R|Anno|[Types](LAZY_EXPRESSION) b: R|kotlin/String|): R|A| { + @R|kotlin/Deprecated|[Types](message = String(constructor)) @R|Anno|[Types](s = String(constructor)) public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=A] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=/A.i] @CONSTRUCTOR_PARAMETER:R|kotlin/Deprecated|[Types](message = String(param)) @CONSTRUCTOR_PARAMETER:R|Anno|[Types](s = String(param)) i: R|kotlin/Int|, [ResolvedTo(ANNOTATION_ARGUMENTS)] @R|kotlin/Deprecated|[Types](message = String(parameter)) @R|Anno|[Types](s = String(parameter)) b: R|kotlin/String|): R|A| { LAZY_super } @@ -347,3 +347,4 @@ FILE: [ResolvedTo(BODY_RESOLVE)] compilerRequiredAnnotationsOnConstructorPropert public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=A] get(): R|kotlin/Int| } + diff --git a/analysis/low-level-api-fir/testData/lazyResolve/dataClassCopy.txt b/analysis/low-level-api-fir/testData/lazyResolve/dataClassCopy.txt index ee7bd950035..cdae18376ac 100644 --- a/analysis/low-level-api-fir/testData/lazyResolve/dataClassCopy.txt +++ b/analysis/low-level-api-fir/testData/lazyResolve/dataClassCopy.txt @@ -232,7 +232,7 @@ FILE: [ResolvedTo(IMPORTS)] dataClassCopy.kt BODY_RESOLVE: FILE: [ResolvedTo(IMPORTS)] dataClassCopy.kt public final data [ResolvedTo(STATUS)] class DataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=DataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/DataClass.i] i: R|kotlin/Int|, [ResolvedTo(STATUS)] [CorrespondingProperty=one/DataClass.b] b: R|kotlin/Boolean|): R|one/DataClass| { + public [ResolvedTo(CONTRACTS)] [ContainingClassKey=DataClass] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=one/DataClass.i] i: R|kotlin/Int|, [ResolvedTo(CONTRACTS)] [CorrespondingProperty=one/DataClass.b] b: R|kotlin/Boolean|): R|one/DataClass| { LAZY_super } diff --git a/analysis/low-level-api-fir/testData/lazyResolve/dataClassCopyScript.txt b/analysis/low-level-api-fir/testData/lazyResolve/dataClassCopyScript.txt index ab81a83cda6..09c6cafd84c 100644 --- a/analysis/low-level-api-fir/testData/lazyResolve/dataClassCopyScript.txt +++ b/analysis/low-level-api-fir/testData/lazyResolve/dataClassCopyScript.txt @@ -291,7 +291,7 @@ FILE: [ResolvedTo(IMPORTS)] dataClassCopyScript.kts [ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array| public final data [ResolvedTo(STATUS)] class DataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=DataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/DataClass.i] i: R|kotlin/Int|, [ResolvedTo(STATUS)] [CorrespondingProperty=one/DataClass.b] b: R|kotlin/Boolean|): R|one/DataClass| { + public [ResolvedTo(CONTRACTS)] [ContainingClassKey=DataClass] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=one/DataClass.i] i: R|kotlin/Int|, [ResolvedTo(CONTRACTS)] [CorrespondingProperty=one/DataClass.b] b: R|kotlin/Boolean|): R|one/DataClass| { LAZY_super } @@ -334,3 +334,4 @@ FILE: [ResolvedTo(BODY_RESOLVE)] dataClassCopyScript.kts public final [ResolvedTo(BODY_RESOLVE)] fun copy([ResolvedTo(BODY_RESOLVE)] i: R|kotlin/Int| = this@R|one/DataClass|.R|one/DataClass.i|, [ResolvedTo(BODY_RESOLVE)] b: R|kotlin/Boolean| = this@R|one/DataClass|.R|one/DataClass.b|): R|one/DataClass| } + diff --git a/analysis/low-level-api-fir/testData/lazyResolve/properties/generatedPropertyFromParameter.txt b/analysis/low-level-api-fir/testData/lazyResolve/properties/generatedPropertyFromParameter.txt index 6747f08b636..63505e37624 100644 --- a/analysis/low-level-api-fir/testData/lazyResolve/properties/generatedPropertyFromParameter.txt +++ b/analysis/low-level-api-fir/testData/lazyResolve/properties/generatedPropertyFromParameter.txt @@ -89,7 +89,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameter.kt } public? final? [ResolvedTo(RAW_FIR)] class Sub : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Sub] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Sub.prop] @FieldAnnotation[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) prop: Int): R|Sub| { + public? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [ContainingClassKey=Sub] constructor([ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [CorrespondingProperty=/Sub.prop] @FieldAnnotation[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) prop: Int): R|Sub| { LAZY_super } @@ -124,7 +124,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameter.kt } public? final? [ResolvedTo(RAW_FIR)] class Sub : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Sub] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Sub.prop] @FieldAnnotation[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) prop: Int): R|Sub| { + public? [ResolvedTo(COMPANION_GENERATION)] [ContainingClassKey=Sub] constructor([ResolvedTo(COMPANION_GENERATION)] [CorrespondingProperty=/Sub.prop] @FieldAnnotation[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) prop: Int): R|Sub| { LAZY_super } @@ -159,7 +159,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameter.kt } public? final? [ResolvedTo(SUPER_TYPES)] class Sub : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Sub] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Sub.prop] @FieldAnnotation[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) prop: Int): R|Sub| { + public? [ResolvedTo(SUPER_TYPES)] [ContainingClassKey=Sub] constructor([ResolvedTo(SUPER_TYPES)] [CorrespondingProperty=/Sub.prop] @FieldAnnotation[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) prop: Int): R|Sub| { LAZY_super } @@ -194,7 +194,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameter.kt } public? final? [ResolvedTo(TYPES)] class Sub : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Sub] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Sub.prop] @FieldAnnotation[Unresolved](LAZY_EXPRESSION) @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) prop: Int): R|Sub| { + public? [ResolvedTo(TYPES)] [ContainingClassKey=Sub] constructor([ResolvedTo(TYPES)] [CorrespondingProperty=/Sub.prop] @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { LAZY_super } @@ -264,7 +264,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameter.kt } public final [ResolvedTo(STATUS)] class Sub : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=Sub] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Sub.prop] @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { + public [ResolvedTo(EXPECT_ACTUAL_MATCHING)] [ContainingClassKey=Sub] constructor([ResolvedTo(EXPECT_ACTUAL_MATCHING)] [CorrespondingProperty=/Sub.prop] @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { LAZY_super } @@ -299,7 +299,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameter.kt } public final [ResolvedTo(STATUS)] class Sub : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=Sub] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Sub.prop] @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { + public [ResolvedTo(CONTRACTS)] [ContainingClassKey=Sub] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=/Sub.prop] @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { LAZY_super } @@ -334,7 +334,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameter.kt } public final [ResolvedTo(STATUS)] class Sub : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=Sub] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Sub.prop] @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { + public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [ContainingClassKey=Sub] constructor([ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [CorrespondingProperty=/Sub.prop] @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { LAZY_super } @@ -369,7 +369,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameter.kt } public final [ResolvedTo(STATUS)] class Sub : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=Sub] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Sub.prop] @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { + public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=Sub] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=/Sub.prop] @CONSTRUCTOR_PARAMETER:R|Anno|[Types](s = (String(param), R|/stringConstant|)) prop: R|kotlin/Int|): R|Sub| { LAZY_super } @@ -404,7 +404,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameter.kt } public final [ResolvedTo(STATUS)] class Sub : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=Sub] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Sub.prop] @CONSTRUCTOR_PARAMETER:R|Anno|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { + public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=Sub] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=/Sub.prop] @CONSTRUCTOR_PARAMETER:R|Anno|[Types](s = (String(param), R|/stringConstant|)) prop: R|kotlin/Int|): R|Sub| { LAZY_super } diff --git a/analysis/low-level-api-fir/testData/lazyResolve/properties/generatedPropertyFromParameterWithImplicitAnnotation.txt b/analysis/low-level-api-fir/testData/lazyResolve/properties/generatedPropertyFromParameterWithImplicitAnnotation.txt index 32f52ec6864..9f8e622e921 100644 --- a/analysis/low-level-api-fir/testData/lazyResolve/properties/generatedPropertyFromParameterWithImplicitAnnotation.txt +++ b/analysis/low-level-api-fir/testData/lazyResolve/properties/generatedPropertyFromParameterWithImplicitAnnotation.txt @@ -58,7 +58,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameterWithImplicitAnnotation } public? final? [ResolvedTo(RAW_FIR)] class Sub : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Sub] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Sub.prop] @ParameterAnnotation[Unresolved](LAZY_EXPRESSION) prop: Int): R|Sub| { + public? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [ContainingClassKey=Sub] constructor([ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [CorrespondingProperty=/Sub.prop] @ParameterAnnotation[Unresolved](LAZY_EXPRESSION) prop: Int): R|Sub| { LAZY_super } @@ -82,7 +82,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameterWithImplicitAnnotation } public? final? [ResolvedTo(RAW_FIR)] class Sub : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Sub] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Sub.prop] @ParameterAnnotation[Unresolved](LAZY_EXPRESSION) prop: Int): R|Sub| { + public? [ResolvedTo(COMPANION_GENERATION)] [ContainingClassKey=Sub] constructor([ResolvedTo(COMPANION_GENERATION)] [CorrespondingProperty=/Sub.prop] @ParameterAnnotation[Unresolved](LAZY_EXPRESSION) prop: Int): R|Sub| { LAZY_super } @@ -106,7 +106,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameterWithImplicitAnnotation } public? final? [ResolvedTo(SUPER_TYPES)] class Sub : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Sub] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Sub.prop] @ParameterAnnotation[Unresolved](LAZY_EXPRESSION) prop: Int): R|Sub| { + public? [ResolvedTo(SUPER_TYPES)] [ContainingClassKey=Sub] constructor([ResolvedTo(SUPER_TYPES)] [CorrespondingProperty=/Sub.prop] @ParameterAnnotation[Unresolved](LAZY_EXPRESSION) prop: Int): R|Sub| { LAZY_super } @@ -130,7 +130,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameterWithImplicitAnnotation } public? final? [ResolvedTo(TYPES)] class Sub : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Sub] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Sub.prop] @ParameterAnnotation[Unresolved](LAZY_EXPRESSION) prop: Int): R|Sub| { + public? [ResolvedTo(TYPES)] [ContainingClassKey=Sub] constructor([ResolvedTo(TYPES)] [CorrespondingProperty=/Sub.prop] @R|ParameterAnnotation|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { LAZY_super } @@ -178,7 +178,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameterWithImplicitAnnotation } public final [ResolvedTo(STATUS)] class Sub : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=Sub] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Sub.prop] @R|ParameterAnnotation|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { + public [ResolvedTo(EXPECT_ACTUAL_MATCHING)] [ContainingClassKey=Sub] constructor([ResolvedTo(EXPECT_ACTUAL_MATCHING)] [CorrespondingProperty=/Sub.prop] @R|ParameterAnnotation|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { LAZY_super } @@ -202,7 +202,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameterWithImplicitAnnotation } public final [ResolvedTo(STATUS)] class Sub : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=Sub] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Sub.prop] @R|ParameterAnnotation|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { + public [ResolvedTo(CONTRACTS)] [ContainingClassKey=Sub] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=/Sub.prop] @R|ParameterAnnotation|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { LAZY_super } @@ -226,7 +226,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameterWithImplicitAnnotation } public final [ResolvedTo(STATUS)] class Sub : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=Sub] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Sub.prop] @R|ParameterAnnotation|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { + public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [ContainingClassKey=Sub] constructor([ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [CorrespondingProperty=/Sub.prop] @R|ParameterAnnotation|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { LAZY_super } @@ -240,17 +240,17 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameterWithImplicitAnnotation ANNOTATION_ARGUMENTS: FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameterWithImplicitAnnotation.kt - @R|kotlin/annotation/Target|[CompilerRequiredAnnotations](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|) public? final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] annotation class ParameterAnnotation : R|kotlin/Annotation| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=ParameterAnnotation] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/ParameterAnnotation.i] i: Int): R|ParameterAnnotation| { + @R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class ParameterAnnotation : R|kotlin/Annotation| { + public [ResolvedTo(STATUS)] [ContainingClassKey=ParameterAnnotation] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/ParameterAnnotation.i] i: R|kotlin/Int|): R|ParameterAnnotation| { LAZY_super } - public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val i: Int = R|/i| - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=ParameterAnnotation] get(): Int + public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val i: R|kotlin/Int| = R|/i| + public [ResolvedTo(STATUS)] [ContainingClassKey=ParameterAnnotation] get(): R|kotlin/Int| } public final [ResolvedTo(STATUS)] class Sub : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=Sub] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Sub.prop] @R|ParameterAnnotation|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { + public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=Sub] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=/Sub.prop] @R|ParameterAnnotation|[Types](i = R|/konstant|) prop: R|kotlin/Int|): R|Sub| { LAZY_super } @@ -259,22 +259,22 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameterWithImplicitAnnotation public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=Sub] set([ResolvedTo(ANNOTATION_ARGUMENTS)] value: R|kotlin/Int|): R|kotlin/Unit| } - public? final? const [ResolvedTo(RAW_FIR)] val konstant: = LAZY_EXPRESSION - public? [ResolvedTo(RAW_FIR)] get(): + public final const [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] val konstant: R|kotlin/Int| = Int(0) + public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] get(): R|kotlin/Int| BODY_RESOLVE: FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameterWithImplicitAnnotation.kt - @R|kotlin/annotation/Target|[CompilerRequiredAnnotations](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|) public? final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] annotation class ParameterAnnotation : R|kotlin/Annotation| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=ParameterAnnotation] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/ParameterAnnotation.i] i: Int): R|ParameterAnnotation| { + @R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class ParameterAnnotation : R|kotlin/Annotation| { + public [ResolvedTo(STATUS)] [ContainingClassKey=ParameterAnnotation] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/ParameterAnnotation.i] i: R|kotlin/Int|): R|ParameterAnnotation| { LAZY_super } - public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val i: Int = R|/i| - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=ParameterAnnotation] get(): Int + public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val i: R|kotlin/Int| = R|/i| + public [ResolvedTo(STATUS)] [ContainingClassKey=ParameterAnnotation] get(): R|kotlin/Int| } public final [ResolvedTo(STATUS)] class Sub : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=Sub] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Sub.prop] @R|ParameterAnnotation|[Types](LAZY_EXPRESSION) prop: R|kotlin/Int|): R|Sub| { + public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=Sub] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=/Sub.prop] @R|ParameterAnnotation|[Types](i = R|/konstant|) prop: R|kotlin/Int|): R|Sub| { LAZY_super } @@ -283,8 +283,8 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromParameterWithImplicitAnnotation public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Sub] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/Int|): R|kotlin/Unit| } - public? final? const [ResolvedTo(RAW_FIR)] val konstant: = LAZY_EXPRESSION - public? [ResolvedTo(RAW_FIR)] get(): + public final const [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] val konstant: R|kotlin/Int| = Int(0) + public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] get(): R|kotlin/Int| FILE RAW TO BODY: FILE: [ResolvedTo(BODY_RESOLVE)] generatedPropertyFromParameterWithImplicitAnnotation.kt diff --git a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/copyTypeCollisionAndAnnotations.lazyResolve.txt b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/copyTypeCollisionAndAnnotations.lazyResolve.txt index 71cb9d8e0b0..9a3e9e20974 100644 --- a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/copyTypeCollisionAndAnnotations.lazyResolve.txt +++ b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/copyTypeCollisionAndAnnotations.lazyResolve.txt @@ -623,7 +623,7 @@ FILE: [ResolvedTo(IMPORTS)] copyTypeCollisionAndAnnotations.kt } public final data [ResolvedTo(STATUS)] class MyDataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop1] prop1: R|@R|one/two/Anno|(IntegerLiteral(0).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(1).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(2).plus#(constant#)) kotlin/Int>>|, [ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop2] prop2: R|@R|one/two/Anno|(IntegerLiteral(3).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(4).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(5).plus#(constant#)) kotlin/Int>>|): R|one/two/MyDataClass| { + public [ResolvedTo(CONTRACTS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=one/two/MyDataClass.prop1] prop1: R|@R|one/two/Anno|(IntegerLiteral(0).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(1).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(2).plus#(constant#)) kotlin/Int>>|, [ResolvedTo(CONTRACTS)] [CorrespondingProperty=one/two/MyDataClass.prop2] prop2: R|@R|one/two/Anno|(IntegerLiteral(3).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(4).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(5).plus#(constant#)) kotlin/Int>>|): R|one/two/MyDataClass| { LAZY_super } diff --git a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/copyTypeCollisionAndAnnotationsScript.lazyResolve.txt b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/copyTypeCollisionAndAnnotationsScript.lazyResolve.txt index 8a18e9e05ee..45d215fa4ad 100644 --- a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/copyTypeCollisionAndAnnotationsScript.lazyResolve.txt +++ b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/copyTypeCollisionAndAnnotationsScript.lazyResolve.txt @@ -718,7 +718,7 @@ FILE: [ResolvedTo(IMPORTS)] copyTypeCollisionAndAnnotationsScript.kts } public final data [ResolvedTo(STATUS)] class MyDataClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop1] prop1: R|@R|one/two/Anno|(IntegerLiteral(0).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(1).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(2).plus#(constant#)) kotlin/Int>>|, [ResolvedTo(STATUS)] [CorrespondingProperty=one/two/MyDataClass.prop2] prop2: R|@R|one/two/Anno|(IntegerLiteral(3).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(4).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(5).plus#(constant#)) kotlin/Int>>|): R|one/two/MyDataClass| { + public [ResolvedTo(CONTRACTS)] [ContainingClassKey=MyDataClass] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=one/two/MyDataClass.prop1] prop1: R|@R|one/two/Anno|(IntegerLiteral(0).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(1).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(2).plus#(constant#)) kotlin/Int>>|, [ResolvedTo(CONTRACTS)] [CorrespondingProperty=one/two/MyDataClass.prop2] prop2: R|@R|one/two/Anno|(IntegerLiteral(3).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(4).plus#(constant#)) one/two/MyDataClass.MyClass<@R|one/two/Anno|(IntegerLiteral(5).plus#(constant#)) kotlin/Int>>|): R|one/two/MyDataClass| { LAZY_super } diff --git a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/generatedCopy.lazyResolve.txt b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/generatedCopy.lazyResolve.txt index a8e95adffca..dce0807c93a 100644 --- a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/generatedCopy.lazyResolve.txt +++ b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/generatedCopy.lazyResolve.txt @@ -364,7 +364,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedCopy.kt public final const [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] val constant: R|kotlin/Int| = Int(0) public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] get(): R|kotlin/Int| public final data [ResolvedTo(STATUS)] class MyClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.property1] property1: R|@R|properties/Anno|((String(parameter1 type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter1 type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter1 type: ), constant#)) kotlin/Int>>|, [ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.property2] property2: R|@R|properties/Anno|((String(parameter2 type: ), constant#)) kotlin/collections/Collection<@R|properties/Anno|((String(nested parameter2 type: ), constant#)) kotlin/collections/Collection<@R|properties/Anno|((String(nested nested parameter2 type: ), constant#)) kotlin/String>>|): R|properties/MyClass| { + public [ResolvedTo(CONTRACTS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=properties/MyClass.property1] property1: R|@R|properties/Anno|((String(parameter1 type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter1 type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter1 type: ), constant#)) kotlin/Int>>|, [ResolvedTo(CONTRACTS)] [CorrespondingProperty=properties/MyClass.property2] property2: R|@R|properties/Anno|((String(parameter2 type: ), constant#)) kotlin/collections/Collection<@R|properties/Anno|((String(nested parameter2 type: ), constant#)) kotlin/collections/Collection<@R|properties/Anno|((String(nested nested parameter2 type: ), constant#)) kotlin/String>>|): R|properties/MyClass| { LAZY_super } diff --git a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/generatedCopyScript.lazyResolve.txt b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/generatedCopyScript.lazyResolve.txt index 80889b63e30..d9563409b49 100644 --- a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/generatedCopyScript.lazyResolve.txt +++ b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/generatedCopyScript.lazyResolve.txt @@ -447,7 +447,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedCopyScript.kts public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] get(): R|kotlin/Int| public final data [ResolvedTo(STATUS)] class MyClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.property1] property1: R|@R|properties/Anno|((String(parameter1 type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter1 type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter1 type: ), constant#)) kotlin/Int>>|, [ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.property2] property2: R|@R|properties/Anno|((String(parameter2 type: ), constant#)) kotlin/collections/Collection<@R|properties/Anno|((String(nested parameter2 type: ), constant#)) kotlin/collections/Collection<@R|properties/Anno|((String(nested nested parameter2 type: ), constant#)) kotlin/String>>|): R|properties/MyClass| { + public [ResolvedTo(CONTRACTS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=properties/MyClass.property1] property1: R|@R|properties/Anno|((String(parameter1 type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter1 type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter1 type: ), constant#)) kotlin/Int>>|, [ResolvedTo(CONTRACTS)] [CorrespondingProperty=properties/MyClass.property2] property2: R|@R|properties/Anno|((String(parameter2 type: ), constant#)) kotlin/collections/Collection<@R|properties/Anno|((String(nested parameter2 type: ), constant#)) kotlin/collections/Collection<@R|properties/Anno|((String(nested nested parameter2 type: ), constant#)) kotlin/String>>|): R|properties/MyClass| { LAZY_super } @@ -503,3 +503,4 @@ FILE: [ResolvedTo(BODY_RESOLVE)] generatedCopyScript.kts public final [ResolvedTo(BODY_RESOLVE)] fun copy([ResolvedTo(BODY_RESOLVE)] property1: R|@R|properties/Anno|(position = (String(parameter1 type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter1 type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter1 type: ), R|properties/constant|)) kotlin/Int>>| = this@R|properties/MyClass|.R|properties/MyClass.property1|, [ResolvedTo(BODY_RESOLVE)] property2: R|@R|properties/Anno|(position = (String(parameter2 type: ), R|properties/constant|)) kotlin/collections/Collection<@R|properties/Anno|(position = (String(nested parameter2 type: ), R|properties/constant|)) kotlin/collections/Collection<@R|properties/Anno|(position = (String(nested nested parameter2 type: ), R|properties/constant|)) kotlin/String>>| = this@R|properties/MyClass|.R|properties/MyClass.property2|): R|properties/MyClass| } + diff --git a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructor.after.txt b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructor.after.txt index d202ad3eb9b..e1f4c36403d 100644 --- a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructor.after.txt +++ b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructor.after.txt @@ -4,11 +4,11 @@ @R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int> context -> FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int context -> FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>> context -> FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property @@ -16,11 +16,11 @@ @R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int> context -> FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int context -> FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>> context -> FirValueParameterSymbol /value from FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property @@ -28,11 +28,11 @@ @R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int> context -> FirValueParameterSymbol /value from FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int context -> FirValueParameterSymbol /value from FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>> context -> FirBackingFieldSymbol /field from FirPropertySymbol properties/MyClass.property @@ -40,11 +40,11 @@ @R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int> context -> FirBackingFieldSymbol /field from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int context -> FirBackingFieldSymbol /field from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt @R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.PROPERTY|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.FIELD|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.PROPERTY_SETTER|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.PROPERTY_GETTER|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| { @@ -59,7 +59,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt public final const [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] val constant: R|kotlin/Int| = Int(0) public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] get(): R|kotlin/Int| public final [ResolvedTo(STATUS)] class MyClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) property: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|, [ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) unrelatedProperty: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|properties/MyClass| { + public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](position = (String(param ), R|properties/constant|)) property: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|, [ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](position = (String(param ), R|properties/constant|)) unrelatedProperty: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|): R|properties/MyClass| { LAZY_super } @@ -67,8 +67,8 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt @PROPERTY_GETTER:R|properties/Anno|[Types](position = (String(get ), R|properties/constant|)) public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=MyClass] get(): R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>| @PROPERTY_SETTER:R|properties/Anno|[Types](position = (String(set ), R|properties/constant|)) public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=MyClass] set([ResolvedTo(ANNOTATION_ARGUMENTS)] @SETTER_PARAMETER:R|properties/Anno|[Types](position = (String(set ), R|properties/constant|)) value: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|): R|kotlin/Unit| - @PROPERTY:R|properties/Anno|[Types](LAZY_EXPRESSION) field:@FIELD:R|properties/Anno|[Types](LAZY_EXPRESSION) public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] var unrelatedProperty: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>| = R|/unrelatedProperty| - @PROPERTY_GETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] get(): R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>| - @PROPERTY_SETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] set([ResolvedTo(STATUS)] @SETTER_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) value: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|kotlin/Unit| + @PROPERTY:R|properties/Anno|[Types](LAZY_EXPRESSION) field:@FIELD:R|properties/Anno|[Types](LAZY_EXPRESSION) public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] var unrelatedProperty: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>| = R|/unrelatedProperty| + @PROPERTY_GETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] get(): R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>| + @PROPERTY_SETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] set([ResolvedTo(STATUS)] @SETTER_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) value: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|): R|kotlin/Unit| } diff --git a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructor.before.txt b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructor.before.txt index 1156aab4506..e862f355c82 100644 --- a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructor.before.txt +++ b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructor.before.txt @@ -4,11 +4,11 @@ @R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int> context -> FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int context -> FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>> context -> FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property @@ -16,11 +16,11 @@ @R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int> context -> FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int context -> FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>> context -> FirValueParameterSymbol /value from FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property @@ -28,11 +28,11 @@ @R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int> context -> FirValueParameterSymbol /value from FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int context -> FirValueParameterSymbol /value from FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>> context -> FirBackingFieldSymbol /field from FirPropertySymbol properties/MyClass.property @@ -40,11 +40,11 @@ @R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int> context -> FirBackingFieldSymbol /field from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int context -> FirBackingFieldSymbol /field from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt @R|kotlin/annotation/Target|[CompilerRequiredAnnotations](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.PROPERTY|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.FIELD|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.PROPERTY_SETTER|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.PROPERTY_GETTER|) public? final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] annotation class Anno : R|kotlin/Annotation| { @@ -59,7 +59,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt public? final? const [ResolvedTo(RAW_FIR)] val constant: = LAZY_EXPRESSION public? [ResolvedTo(RAW_FIR)] get(): public? final? [ResolvedTo(TYPES)] class MyClass : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyClass] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) property: @R|properties/Anno|[Unresolved]((String(parameter type: ), constant#)) List(String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>|>, [ResolvedTo(RAW_FIR)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) unrelatedProperty: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>): R|properties/MyClass| { + public? [ResolvedTo(TYPES)] [ContainingClassKey=MyClass] constructor([ResolvedTo(TYPES)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) property: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|, [ResolvedTo(TYPES)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) unrelatedProperty: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|properties/MyClass| { LAZY_super } @@ -67,8 +67,8 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt @PROPERTY_GETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public? [ResolvedTo(TYPES)] [ContainingClassKey=MyClass] get(): R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>| @PROPERTY_SETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public? [ResolvedTo(TYPES)] [ContainingClassKey=MyClass] set([ResolvedTo(TYPES)] @SETTER_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) value: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|kotlin/Unit| - @PROPERTY:Anno[Unresolved](LAZY_EXPRESSION) field:@FIELD:Anno[Unresolved](LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] var unrelatedProperty: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>> = R|/unrelatedProperty| - @PROPERTY_GETTER:Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyClass] get(): @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>> - @PROPERTY_SETTER:Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyClass] set([ResolvedTo(RAW_FIR)] @SETTER_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) value: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>): R|kotlin/Unit| + @PROPERTY:Anno[Unresolved](LAZY_EXPRESSION) field:@FIELD:Anno[Unresolved](LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] var unrelatedProperty: @R|properties/Anno|[Unresolved]((String(parameter type: ), constant#)) List(String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>|> = R|/unrelatedProperty| + @PROPERTY_GETTER:Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyClass] get(): @R|properties/Anno|[Unresolved]((String(parameter type: ), constant#)) List(String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>|> + @PROPERTY_SETTER:Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyClass] set([ResolvedTo(RAW_FIR)] @SETTER_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) value: @R|properties/Anno|[Unresolved]((String(parameter type: ), constant#)) List(String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>|>): R|kotlin/Unit| } diff --git a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructor.lazyResolve.txt b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructor.lazyResolve.txt index b5a3019a66f..3157dcadd9b 100644 --- a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructor.lazyResolve.txt +++ b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructor.lazyResolve.txt @@ -68,7 +68,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt public? final? const [ResolvedTo(RAW_FIR)] val constant: = LAZY_EXPRESSION public? [ResolvedTo(RAW_FIR)] get(): public? final? [ResolvedTo(RAW_FIR)] class MyClass : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyClass] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) property: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>, [ResolvedTo(RAW_FIR)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) unrelatedProperty: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>): R|properties/MyClass| { + public? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) property: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>, [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) unrelatedProperty: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>): R|properties/MyClass| { LAZY_super } @@ -96,7 +96,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt public? final? const [ResolvedTo(RAW_FIR)] val constant: = LAZY_EXPRESSION public? [ResolvedTo(RAW_FIR)] get(): public? final? [ResolvedTo(RAW_FIR)] class MyClass : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyClass] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) property: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>, [ResolvedTo(RAW_FIR)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) unrelatedProperty: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>): R|properties/MyClass| { + public? [ResolvedTo(COMPANION_GENERATION)] [ContainingClassKey=MyClass] constructor([ResolvedTo(COMPANION_GENERATION)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) property: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>, [ResolvedTo(COMPANION_GENERATION)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) unrelatedProperty: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>): R|properties/MyClass| { LAZY_super } @@ -124,7 +124,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt public? final? const [ResolvedTo(RAW_FIR)] val constant: = LAZY_EXPRESSION public? [ResolvedTo(RAW_FIR)] get(): public? final? [ResolvedTo(SUPER_TYPES)] class MyClass : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyClass] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) property: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>, [ResolvedTo(RAW_FIR)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) unrelatedProperty: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>): R|properties/MyClass| { + public? [ResolvedTo(SUPER_TYPES)] [ContainingClassKey=MyClass] constructor([ResolvedTo(SUPER_TYPES)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) property: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>, [ResolvedTo(SUPER_TYPES)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) unrelatedProperty: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>): R|properties/MyClass| { LAZY_super } @@ -152,7 +152,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt public? final? const [ResolvedTo(RAW_FIR)] val constant: = LAZY_EXPRESSION public? [ResolvedTo(RAW_FIR)] get(): public? final? [ResolvedTo(TYPES)] class MyClass : R|kotlin/Any| { - public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyClass] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) property: @R|properties/Anno|[Unresolved]((String(parameter type: ), constant#)) List(String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>|>, [ResolvedTo(RAW_FIR)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) unrelatedProperty: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>): R|properties/MyClass| { + public? [ResolvedTo(TYPES)] [ContainingClassKey=MyClass] constructor([ResolvedTo(TYPES)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) property: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|, [ResolvedTo(TYPES)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) unrelatedProperty: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|properties/MyClass| { LAZY_super } @@ -160,9 +160,9 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt @PROPERTY_GETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public? [ResolvedTo(TYPES)] [ContainingClassKey=MyClass] get(): R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>| @PROPERTY_SETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public? [ResolvedTo(TYPES)] [ContainingClassKey=MyClass] set([ResolvedTo(TYPES)] @SETTER_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) value: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|kotlin/Unit| - @PROPERTY:Anno[Unresolved](LAZY_EXPRESSION) field:@FIELD:Anno[Unresolved](LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] var unrelatedProperty: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>> = R|/unrelatedProperty| - @PROPERTY_GETTER:Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyClass] get(): @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>> - @PROPERTY_SETTER:Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyClass] set([ResolvedTo(RAW_FIR)] @SETTER_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) value: @Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) List<@Anno[Unresolved](LAZY_EXPRESSION) Int>>): R|kotlin/Unit| + @PROPERTY:Anno[Unresolved](LAZY_EXPRESSION) field:@FIELD:Anno[Unresolved](LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] var unrelatedProperty: @R|properties/Anno|[Unresolved]((String(parameter type: ), constant#)) List(String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>|> = R|/unrelatedProperty| + @PROPERTY_GETTER:Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyClass] get(): @R|properties/Anno|[Unresolved]((String(parameter type: ), constant#)) List(String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>|> + @PROPERTY_SETTER:Anno[Unresolved](LAZY_EXPRESSION) public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=MyClass] set([ResolvedTo(RAW_FIR)] @SETTER_PARAMETER:Anno[Unresolved](LAZY_EXPRESSION) value: @R|properties/Anno|[Unresolved]((String(parameter type: ), constant#)) List(String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>|>): R|kotlin/Unit| } @@ -208,7 +208,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt public? final? const [ResolvedTo(RAW_FIR)] val constant: = LAZY_EXPRESSION public? [ResolvedTo(RAW_FIR)] get(): public final [ResolvedTo(STATUS)] class MyClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) property: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|, [ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) unrelatedProperty: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|properties/MyClass| { + public [ResolvedTo(EXPECT_ACTUAL_MATCHING)] [ContainingClassKey=MyClass] constructor([ResolvedTo(EXPECT_ACTUAL_MATCHING)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) property: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|, [ResolvedTo(EXPECT_ACTUAL_MATCHING)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) unrelatedProperty: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|properties/MyClass| { LAZY_super } @@ -236,7 +236,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt public? final? const [ResolvedTo(RAW_FIR)] val constant: = LAZY_EXPRESSION public? [ResolvedTo(RAW_FIR)] get(): public final [ResolvedTo(STATUS)] class MyClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) property: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|, [ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) unrelatedProperty: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|properties/MyClass| { + public [ResolvedTo(CONTRACTS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(CONTRACTS)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) property: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|, [ResolvedTo(CONTRACTS)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) unrelatedProperty: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|properties/MyClass| { LAZY_super } @@ -264,7 +264,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt public? final? const [ResolvedTo(RAW_FIR)] val constant: = LAZY_EXPRESSION public? [ResolvedTo(RAW_FIR)] get(): public final [ResolvedTo(STATUS)] class MyClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) property: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|, [ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) unrelatedProperty: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|properties/MyClass| { + public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [ContainingClassKey=MyClass] constructor([ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) property: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|, [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) unrelatedProperty: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|properties/MyClass| { LAZY_super } @@ -292,7 +292,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt public final const [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] val constant: R|kotlin/Int| = Int(0) public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] get(): R|kotlin/Int| public final [ResolvedTo(STATUS)] class MyClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) property: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|, [ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) unrelatedProperty: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|properties/MyClass| { + public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](position = (String(param ), R|properties/constant|)) property: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|, [ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](position = (String(param ), R|properties/constant|)) unrelatedProperty: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|): R|properties/MyClass| { LAZY_super } @@ -300,9 +300,9 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt @PROPERTY_GETTER:R|properties/Anno|[Types](position = (String(get ), R|properties/constant|)) public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=MyClass] get(): R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>| @PROPERTY_SETTER:R|properties/Anno|[Types](position = (String(set ), R|properties/constant|)) public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=MyClass] set([ResolvedTo(ANNOTATION_ARGUMENTS)] @SETTER_PARAMETER:R|properties/Anno|[Types](position = (String(set ), R|properties/constant|)) value: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|): R|kotlin/Unit| - @PROPERTY:R|properties/Anno|[Types](LAZY_EXPRESSION) field:@FIELD:R|properties/Anno|[Types](LAZY_EXPRESSION) public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] var unrelatedProperty: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>| = R|/unrelatedProperty| - @PROPERTY_GETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] get(): R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>| - @PROPERTY_SETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] set([ResolvedTo(STATUS)] @SETTER_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) value: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|kotlin/Unit| + @PROPERTY:R|properties/Anno|[Types](LAZY_EXPRESSION) field:@FIELD:R|properties/Anno|[Types](LAZY_EXPRESSION) public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] var unrelatedProperty: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>| = R|/unrelatedProperty| + @PROPERTY_GETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] get(): R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>| + @PROPERTY_SETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] set([ResolvedTo(STATUS)] @SETTER_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) value: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|): R|kotlin/Unit| } @@ -320,7 +320,7 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt public final const [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] val constant: R|kotlin/Int| = Int(0) public [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] get(): R|kotlin/Int| public final [ResolvedTo(STATUS)] class MyClass : R|kotlin/Any| { - public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) property: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|, [ResolvedTo(STATUS)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) unrelatedProperty: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|properties/MyClass| { + public [ResolvedTo(ANNOTATION_ARGUMENTS)] [ContainingClassKey=MyClass] constructor([ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=properties/MyClass.property] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](position = (String(param ), R|properties/constant|)) property: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|, [ResolvedTo(ANNOTATION_ARGUMENTS)] [CorrespondingProperty=properties/MyClass.unrelatedProperty] @CONSTRUCTOR_PARAMETER:R|properties/Anno|[Types](position = (String(param ), R|properties/constant|)) unrelatedProperty: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|): R|properties/MyClass| { LAZY_super } @@ -328,9 +328,9 @@ FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructor.kt @PROPERTY_GETTER:R|properties/Anno|[Types](position = (String(get ), R|properties/constant|)) public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=MyClass] get(): R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>| @PROPERTY_SETTER:R|properties/Anno|[Types](position = (String(set ), R|properties/constant|)) public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=MyClass] set([ResolvedTo(BODY_RESOLVE)] @SETTER_PARAMETER:R|properties/Anno|[Types](position = (String(set ), R|properties/constant|)) value: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|): R|kotlin/Unit| - @PROPERTY:R|properties/Anno|[Types](LAZY_EXPRESSION) field:@FIELD:R|properties/Anno|[Types](LAZY_EXPRESSION) public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] var unrelatedProperty: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>| = R|/unrelatedProperty| - @PROPERTY_GETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] get(): R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>| - @PROPERTY_SETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] set([ResolvedTo(STATUS)] @SETTER_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) value: R|@R|properties/Anno|((String(parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested parameter type: ), constant#)) kotlin/collections/List<@R|properties/Anno|((String(nested nested parameter type: ), constant#)) kotlin/Int>>|): R|kotlin/Unit| + @PROPERTY:R|properties/Anno|[Types](LAZY_EXPRESSION) field:@FIELD:R|properties/Anno|[Types](LAZY_EXPRESSION) public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] var unrelatedProperty: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>| = R|/unrelatedProperty| + @PROPERTY_GETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] get(): R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>| + @PROPERTY_SETTER:R|properties/Anno|[Types](LAZY_EXPRESSION) public [ResolvedTo(STATUS)] [ContainingClassKey=MyClass] set([ResolvedTo(STATUS)] @SETTER_PARAMETER:R|properties/Anno|[Types](LAZY_EXPRESSION) value: R|@R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>>|): R|kotlin/Unit| } diff --git a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructorScript.after.txt b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructorScript.after.txt index a1699a09df3..ceec63708a2 100644 --- a/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructorScript.after.txt +++ b/analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/generatedPropertyFromConstructorScript.after.txt @@ -4,11 +4,11 @@ @R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int> context -> FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int context -> FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>> context -> FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property @@ -16,11 +16,11 @@ @R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int> context -> FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int context -> FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>> context -> FirValueParameterSymbol /value from FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property @@ -28,11 +28,11 @@ @R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int> context -> FirValueParameterSymbol /value from FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int context -> FirValueParameterSymbol /value from FirPropertyAccessorSymbol special/accessor from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|(position = (String(parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int>> context -> FirBackingFieldSymbol /field from FirPropertySymbol properties/MyClass.property @@ -40,11 +40,11 @@ @R|properties/Anno|(position = (String(nested parameter type: ), R|properties/constant|)) kotlin/collections/List<@R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int> context -> FirBackingFieldSymbol /field from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] @R|properties/Anno|(position = (String(nested nested parameter type: ), R|properties/constant|)) kotlin/Int context -> FirBackingFieldSymbol /field from FirPropertySymbol properties/MyClass.property - anchor -> [FirPropertySymbol properties/MyClass.property] + anchor -> [FirValueParameterSymbol /property from FirConstructorSymbol properties/MyClass.MyClass] FILE: [ResolvedTo(IMPORTS)] generatedPropertyFromConstructorScript.kts context(