[FIR] add more tests on annotations for local declarations

^KT-63842
This commit is contained in:
Dmitrii Gridin
2023-11-27 18:49:24 +01:00
committed by Space Team
parent 98e12b0d7b
commit fcb3f003dc
53 changed files with 4021 additions and 0 deletions
@@ -0,0 +1,100 @@
@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass
anchor -> []
@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>
context -> FirConstructorSymbol <local>/OriginalClass.OriginalClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>
context -> FirConstructorSymbol <local>/OriginalClass.OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int
context -> FirConstructorSymbol <local>/OriginalClass.OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> []
@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>
context -> FirConstructorSymbol <local>/OriginalClass.InnerClass.InnerClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>
context -> FirConstructorSymbol <local>/OriginalClass.InnerClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int
context -> FirConstructorSymbol <local>/OriginalClass.InnerClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>
context -> FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>
context -> FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int
context -> FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>
context -> FirRegularClassSymbol <local>/OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>
context -> FirRegularClassSymbol <local>/OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int
context -> FirRegularClassSymbol <local>/OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClass.kt
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.CLASS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public open [ResolvedTo(STATUS)] class A<[ResolvedTo(STATUS)] T> : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor<[ResolvedTo(STATUS)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(BODY_RESOLVE)] lval localProp: R|kotlin/Int| = Int(1)
@R|Anno|[Types](position = <strcat>(String(class ), R|<local>/localProp|)) local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|>(): R|<local>/OriginalClass<T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(class ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] class InnerClass<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|, @R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] Outer(T) : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=InnerClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|>(): R|<local>/OriginalClass.InnerClass<T, T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>|>()
}
}
}
}
@@ -0,0 +1,100 @@
@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass
anchor -> []
@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>
context -> FirConstructorSymbol <local>/OriginalClass.OriginalClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>
context -> FirConstructorSymbol <local>/OriginalClass.OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int
context -> FirConstructorSymbol <local>/OriginalClass.OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> []
@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>
context -> FirConstructorSymbol <local>/OriginalClass.InnerClass.InnerClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>
context -> FirConstructorSymbol <local>/OriginalClass.InnerClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int
context -> FirConstructorSymbol <local>/OriginalClass.InnerClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>
context -> FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>
context -> FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int
context -> FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>
context -> FirRegularClassSymbol <local>/OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>
context -> FirRegularClassSymbol <local>/OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int
context -> FirRegularClassSymbol <local>/OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClass.kt
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.CLASS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public open [ResolvedTo(STATUS)] class A<[ResolvedTo(STATUS)] T> : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor<[ResolvedTo(STATUS)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(BODY_RESOLVE)] lval localProp: R|kotlin/Int| = Int(1)
@R|Anno|[Types](position = <strcat>(String(class ), R|<local>/localProp|)) local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|>(): R|<local>/OriginalClass<T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(class ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] class InnerClass<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|, @R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] Outer(T) : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=InnerClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|>(): R|<local>/OriginalClass.InnerClass<T, T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>|>()
}
}
}
}
@@ -0,0 +1,16 @@
// BODY_RESOLVE
@Target(AnnotationTarget.TYPE, AnnotationTarget.CLASS, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.TYPE_PARAMETER)
annotation class Anno(val position: String)
open class A<T>
fun fo<caret>o() {
val localProp = 1
@Anno("class $localProp")
class OriginalClass<@Anno("type param $localProp") T : @Anno("bound $localProp") List<@Anno("nested bound $localProp") Int>> : @Anno("super type $localProp") A<@Anno("nested super type $localProp") List<@Anno("nested nested super type $localProp") Int>>() {
val prop = 0
@Anno("class $prop")
class InnerClass<@Anno("type param $prop") T : @Anno("bound $prop") List<@Anno("nested bound $prop") Int>> : @Anno("super type $prop") A<@Anno("nested super type $prop") List<@Anno("nested nested super type $prop") Int>>()
}
}
@@ -0,0 +1,341 @@
RAW_FIR:
FILE: [ResolvedTo(RAW_FIR)] classAnnotationsInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
IMPORTS:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPILER_REQUIRED_ANNOTATIONS:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public? final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPANION_GENERATION:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public? final? [ResolvedTo(COMPANION_GENERATION)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
SUPER_TYPES:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public? final? [ResolvedTo(SUPER_TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
TYPES:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public? final? [ResolvedTo(TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
STATUS:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(STATUS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
EXPECT_ACTUAL_MATCHING:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(EXPECT_ACTUAL_MATCHING)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
CONTRACTS:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(CONTRACTS)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lval localProp: <implicit> = IntegerLiteral(1)
@Anno[Unresolved](<strcat>(String(class ), localProp#)) local final? [ResolvedTo(RAW_FIR)] class OriginalClass<@Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>> : @Anno[Unresolved](<strcat>(String(super type ), localProp#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), localProp#)) Int>> {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor<@Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>>(): R|<local>/OriginalClass<T>| {
super<@Anno[Unresolved](<strcat>(String(super type ), localProp#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), localProp#)) Int>>>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(class ), prop#)) local final? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] class InnerClass<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) Int>, @Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] Outer(T) : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>> : @Anno[Unresolved](<strcat>(String(super type ), prop#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), prop#)) Int>> {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=InnerClass] constructor<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) Int>>(): R|<local>/OriginalClass.InnerClass<T, T>| {
super<@Anno[Unresolved](<strcat>(String(super type ), prop#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), prop#)) Int>>>()
}
}
}
}
IMPLICIT_TYPES_BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lval localProp: <implicit> = IntegerLiteral(1)
@Anno[Unresolved](<strcat>(String(class ), localProp#)) local final? [ResolvedTo(RAW_FIR)] class OriginalClass<@Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>> : @Anno[Unresolved](<strcat>(String(super type ), localProp#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), localProp#)) Int>> {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor<@Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>>(): R|<local>/OriginalClass<T>| {
super<@Anno[Unresolved](<strcat>(String(super type ), localProp#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), localProp#)) Int>>>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(class ), prop#)) local final? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] class InnerClass<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) Int>, @Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] Outer(T) : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>> : @Anno[Unresolved](<strcat>(String(super type ), prop#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), prop#)) Int>> {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=InnerClass] constructor<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) Int>>(): R|<local>/OriginalClass.InnerClass<T, T>| {
super<@Anno[Unresolved](<strcat>(String(super type ), prop#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), prop#)) Int>>>()
}
}
}
}
ANNOTATION_ARGUMENTS:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(ANNOTATION_ARGUMENTS)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lval localProp: <implicit> = IntegerLiteral(1)
@Anno[Unresolved](<strcat>(String(class ), localProp#)) local final? [ResolvedTo(RAW_FIR)] class OriginalClass<@Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>> : @Anno[Unresolved](<strcat>(String(super type ), localProp#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), localProp#)) Int>> {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor<@Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>>(): R|<local>/OriginalClass<T>| {
super<@Anno[Unresolved](<strcat>(String(super type ), localProp#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), localProp#)) Int>>>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(class ), prop#)) local final? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] class InnerClass<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) Int>, @Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] Outer(T) : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>> : @Anno[Unresolved](<strcat>(String(super type ), prop#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), prop#)) Int>> {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=InnerClass] constructor<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) Int>>(): R|<local>/OriginalClass.InnerClass<T, T>| {
super<@Anno[Unresolved](<strcat>(String(super type ), prop#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), prop#)) Int>>>()
}
}
}
}
BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClass.kt
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.CLASS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public open [ResolvedTo(STATUS)] class A<[ResolvedTo(STATUS)] T> : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor<[ResolvedTo(STATUS)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(BODY_RESOLVE)] lval localProp: R|kotlin/Int| = Int(1)
@R|Anno|[Types](position = <strcat>(String(class ), R|<local>/localProp|)) local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|>(): R|<local>/OriginalClass<T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(class ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] class InnerClass<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|, @R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] Outer(T) : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=InnerClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|>(): R|<local>/OriginalClass.InnerClass<T, T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>|>()
}
}
}
}
FILE RAW TO BODY:
FILE: [ResolvedTo(BODY_RESOLVE)] classAnnotationsInLocalClass.kt
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.CLASS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|)) public final [ResolvedTo(BODY_RESOLVE)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] constructor([ResolvedTo(BODY_RESOLVE)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public open [ResolvedTo(BODY_RESOLVE)] class A<[ResolvedTo(BODY_RESOLVE)] T> : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=A] constructor<[ResolvedTo(BODY_RESOLVE)] T>(): R|A<T>| {
super<R|kotlin/Any|>()
}
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(BODY_RESOLVE)] lval localProp: R|kotlin/Int| = Int(1)
@R|Anno|[Types](position = <strcat>(String(class ), R|<local>/localProp|)) local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|>(): R|<local>/OriginalClass<T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(class ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] class InnerClass<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|, @R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] Outer(T) : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=InnerClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|>(): R|<local>/OriginalClass.InnerClass<T, T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>|>()
}
}
}
}
@@ -0,0 +1,106 @@
@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass
anchor -> []
@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>
context -> FirConstructorSymbol <local>/OriginalClass.OriginalClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>
context -> FirConstructorSymbol <local>/OriginalClass.OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int
context -> FirConstructorSymbol <local>/OriginalClass.OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> []
@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>
context -> FirConstructorSymbol <local>/OriginalClass.InnerClass.InnerClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>
context -> FirConstructorSymbol <local>/OriginalClass.InnerClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int
context -> FirConstructorSymbol <local>/OriginalClass.InnerClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>
context -> FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>
context -> FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int
context -> FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>
context -> FirRegularClassSymbol <local>/OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>
context -> FirRegularClassSymbol <local>/OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int
context -> FirRegularClassSymbol <local>/OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.CLASS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public open [ResolvedTo(STATUS)] class A<[ResolvedTo(STATUS)] T> : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor<[ResolvedTo(STATUS)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(BODY_RESOLVE)] lval localProp: R|kotlin/Int| = Int(1)
@R|Anno|[Types](position = <strcat>(String(class ), R|<local>/localProp|)) local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|>(): R|<local>/OriginalClass<T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(class ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] class InnerClass<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|, @R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] Outer(T) : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=InnerClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|>(): R|<local>/OriginalClass.InnerClass<T, T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>|>()
}
}
}
}
@@ -0,0 +1,106 @@
@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass
anchor -> []
@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>
context -> FirConstructorSymbol <local>/OriginalClass.OriginalClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>
context -> FirConstructorSymbol <local>/OriginalClass.OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int
context -> FirConstructorSymbol <local>/OriginalClass.OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int
context -> FirTypeParameterSymbol T from FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> []
@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>
context -> FirConstructorSymbol <local>/OriginalClass.InnerClass.InnerClass
anchor -> []
@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>
context -> FirConstructorSymbol <local>/OriginalClass.InnerClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int
context -> FirConstructorSymbol <local>/OriginalClass.InnerClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>
context -> FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>
context -> FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int
context -> FirRegularClassSymbol <local>/OriginalClass.InnerClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass.InnerClass]
@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>
context -> FirRegularClassSymbol <local>/OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>
context -> FirRegularClassSymbol <local>/OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int
context -> FirRegularClassSymbol <local>/OriginalClass
anchor -> [FirRegularClassSymbol <local>/OriginalClass]
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.CLASS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public open [ResolvedTo(STATUS)] class A<[ResolvedTo(STATUS)] T> : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor<[ResolvedTo(STATUS)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(BODY_RESOLVE)] lval localProp: R|kotlin/Int| = Int(1)
@R|Anno|[Types](position = <strcat>(String(class ), R|<local>/localProp|)) local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|>(): R|<local>/OriginalClass<T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(class ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] class InnerClass<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|, @R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] Outer(T) : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=InnerClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|>(): R|<local>/OriginalClass.InnerClass<T, T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>|>()
}
}
}
}
@@ -0,0 +1,16 @@
// BODY_RESOLVE
@Target(AnnotationTarget.TYPE, AnnotationTarget.CLASS, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.TYPE_PARAMETER)
annotation class Anno(val position: String)
open class A<T>
fun fo<caret>o() {
val localProp = 1
@Anno("class $localProp")
class OriginalClass<@Anno("type param $localProp") T : @Anno("bound $localProp") List<@Anno("nested bound $localProp") Int>> : @Anno("super type $localProp") A<@Anno("nested super type $localProp") List<@Anno("nested nested super type $localProp") Int>>() {
val prop = 0
@Anno("class $prop")
class InnerClass<@Anno("type param $prop") T : @Anno("bound $prop") List<@Anno("nested bound $prop") Int>> : @Anno("super type $prop") A<@Anno("nested super type $prop") List<@Anno("nested nested super type $prop") Int>>()
}
}
@@ -0,0 +1,431 @@
RAW_FIR:
FILE: [ResolvedTo(RAW_FIR)] classAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
IMPORTS:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPILER_REQUIRED_ANNOTATIONS:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public? final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPANION_GENERATION:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public? final? [ResolvedTo(COMPANION_GENERATION)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
SUPER_TYPES:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public? final? [ResolvedTo(SUPER_TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
TYPES:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public? final? [ResolvedTo(TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
STATUS:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(STATUS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
EXPECT_ACTUAL_MATCHING:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(EXPECT_ACTUAL_MATCHING)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
CONTRACTS:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(CONTRACTS)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lval localProp: <implicit> = IntegerLiteral(1)
@Anno[Unresolved](<strcat>(String(class ), localProp#)) local final? [ResolvedTo(RAW_FIR)] class OriginalClass<@Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>> : @Anno[Unresolved](<strcat>(String(super type ), localProp#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), localProp#)) Int>> {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor<@Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>>(): R|<local>/OriginalClass<T>| {
super<@Anno[Unresolved](<strcat>(String(super type ), localProp#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), localProp#)) Int>>>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(class ), prop#)) local final? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] class InnerClass<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) Int>, @Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] Outer(T) : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>> : @Anno[Unresolved](<strcat>(String(super type ), prop#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), prop#)) Int>> {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=InnerClass] constructor<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) Int>>(): R|<local>/OriginalClass.InnerClass<T, T>| {
super<@Anno[Unresolved](<strcat>(String(super type ), prop#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), prop#)) Int>>>()
}
}
}
}
IMPLICIT_TYPES_BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lval localProp: <implicit> = IntegerLiteral(1)
@Anno[Unresolved](<strcat>(String(class ), localProp#)) local final? [ResolvedTo(RAW_FIR)] class OriginalClass<@Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>> : @Anno[Unresolved](<strcat>(String(super type ), localProp#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), localProp#)) Int>> {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor<@Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>>(): R|<local>/OriginalClass<T>| {
super<@Anno[Unresolved](<strcat>(String(super type ), localProp#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), localProp#)) Int>>>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(class ), prop#)) local final? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] class InnerClass<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) Int>, @Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] Outer(T) : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>> : @Anno[Unresolved](<strcat>(String(super type ), prop#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), prop#)) Int>> {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=InnerClass] constructor<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) Int>>(): R|<local>/OriginalClass.InnerClass<T, T>| {
super<@Anno[Unresolved](<strcat>(String(super type ), prop#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), prop#)) Int>>>()
}
}
}
}
ANNOTATION_ARGUMENTS:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? open [ResolvedTo(RAW_FIR)] class A<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor<[ResolvedTo(RAW_FIR)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(ANNOTATION_ARGUMENTS)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lval localProp: <implicit> = IntegerLiteral(1)
@Anno[Unresolved](<strcat>(String(class ), localProp#)) local final? [ResolvedTo(RAW_FIR)] class OriginalClass<@Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>> : @Anno[Unresolved](<strcat>(String(super type ), localProp#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), localProp#)) Int>> {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor<@Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>>(): R|<local>/OriginalClass<T>| {
super<@Anno[Unresolved](<strcat>(String(super type ), localProp#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), localProp#)) Int>>>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(class ), prop#)) local final? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] class InnerClass<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) Int>, @Anno[Unresolved](<strcat>(String(type param ), localProp#)) [ResolvedTo(RAW_FIR)] Outer(T) : @Anno[Unresolved](<strcat>(String(bound ), localProp#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), localProp#)) Int>> : @Anno[Unresolved](<strcat>(String(super type ), prop#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), prop#)) Int>> {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=InnerClass] constructor<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] T : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) Int>>(): R|<local>/OriginalClass.InnerClass<T, T>| {
super<@Anno[Unresolved](<strcat>(String(super type ), prop#)) A<@Anno[Unresolved](<strcat>(String(nested super type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested super type ), prop#)) Int>>>()
}
}
}
}
BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] classAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.CLASS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public open [ResolvedTo(STATUS)] class A<[ResolvedTo(STATUS)] T> : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor<[ResolvedTo(STATUS)] T>(): R|A<T>| {
LAZY_super<R|kotlin/Any|>
}
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(BODY_RESOLVE)] lval localProp: R|kotlin/Int| = Int(1)
@R|Anno|[Types](position = <strcat>(String(class ), R|<local>/localProp|)) local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|>(): R|<local>/OriginalClass<T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(class ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] class InnerClass<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|, @R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] Outer(T) : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=InnerClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|>(): R|<local>/OriginalClass.InnerClass<T, T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>|>()
}
}
}
}
FILE RAW TO BODY:
FILE: [ResolvedTo(BODY_RESOLVE)] classAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-classAnnotationsInLocalClassScript.kts>
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.CLASS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.VALUE_PARAMETER|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|)) public final [ResolvedTo(BODY_RESOLVE)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] constructor([ResolvedTo(BODY_RESOLVE)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public open [ResolvedTo(BODY_RESOLVE)] class A<[ResolvedTo(BODY_RESOLVE)] T> : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=A] constructor<[ResolvedTo(BODY_RESOLVE)] T>(): R|A<T>| {
super<R|kotlin/Any|>()
}
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(BODY_RESOLVE)] lval localProp: R|kotlin/Int| = Int(1)
@R|Anno|[Types](position = <strcat>(String(class ), R|<local>/localProp|)) local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|>(): R|<local>/OriginalClass<T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), R|<local>/localProp|)) A<@R|Anno|(position = <strcat>(String(nested super type ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), R|<local>/localProp|)) kotlin/Int>>|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(class ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] class InnerClass<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|, @R|Anno|[Types](position = <strcat>(String(type param ), R|<local>/localProp|)) [ResolvedTo(BODY_RESOLVE)] Outer(T) : R|@R|Anno|(position = <strcat>(String(bound ), R|<local>/localProp|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), R|<local>/localProp|)) kotlin/Int>|> : R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=InnerClass] constructor<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] T : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), <Unresolved name: prop>#)) kotlin/Int>|>(): R|<local>/OriginalClass.InnerClass<T, T>| {
super<R|@R|Anno|(position = <strcat>(String(super type ), <Unresolved name: prop>#)) A<@R|Anno|(position = <strcat>(String(nested super type ), <Unresolved name: prop>#)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested super type ), <Unresolved name: prop>#)) kotlin/Int>>|>()
}
}
}
}
@@ -0,0 +1,74 @@
@R|Anno|(position = <strcat>(String(explicitType return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/Collection<@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/ListIterator<@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>
context -> FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>
context -> FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String
context -> FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>
context -> FirTypeParameterSymbol F from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>
context -> FirTypeParameterSymbol F from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String
context -> FirTypeParameterSymbol F from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(function ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] fun <@R|Anno|[Types](position = <strcat>(String(type param ), this@R|<local>/OriginalClass|.R|<local>/prop|)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), this@R|<local>/OriginalClass|.R|<local>/prop|)) R|@R|Anno|(position = <strcat>(String(receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/Collection<@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|.explicitType([ResolvedTo(BODY_RESOLVE)] @R|Anno|[Types](position = <strcat>(String(parameter annotation ), this@R|<local>/OriginalClass|.R|<local>/prop|)) param: R|@R|Anno|(position = <strcat>(String(parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/ListIterator<@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|): R|@R|Anno|(position = <strcat>(String(explicitType return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>>| {
^explicitType Int(0)
}
}
}
@@ -0,0 +1,74 @@
@R|Anno|(position = <strcat>(String(explicitType return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/Collection<@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/ListIterator<@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>
context -> FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>
context -> FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String
context -> FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>
context -> FirTypeParameterSymbol F from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>
context -> FirTypeParameterSymbol F from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String
context -> FirTypeParameterSymbol F from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(function ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] fun <@R|Anno|[Types](position = <strcat>(String(type param ), this@R|<local>/OriginalClass|.R|<local>/prop|)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), this@R|<local>/OriginalClass|.R|<local>/prop|)) R|@R|Anno|(position = <strcat>(String(receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/Collection<@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|.explicitType([ResolvedTo(BODY_RESOLVE)] @R|Anno|[Types](position = <strcat>(String(parameter annotation ), this@R|<local>/OriginalClass|.R|<local>/prop|)) param: R|@R|Anno|(position = <strcat>(String(parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/ListIterator<@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|): R|@R|Anno|(position = <strcat>(String(explicitType return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>>| {
^explicitType Int(0)
}
}
}
@@ -0,0 +1,11 @@
// BODY_RESOLVE
annotation class Anno(val position: String)
fun fo<caret>o() {
class OriginalClass {
val prop = 0
@Anno("function $prop")
fun <@Anno("type param $prop") F : @Anno("bound $prop") List<@Anno("nested bound $prop") List<@Anno("nested nested bound $prop") String>>> @receiver:Anno("receiver annotation: $prop") @Anno("receiver type $prop") Collection<@Anno("nested receiver type $prop") List<@Anno("nested nested receiver type $prop")String>>.explicitType(@Anno("parameter annotation $prop") param: @Anno("parameter type $prop") ListIterator<@Anno("nested parameter type $prop") List<@Anno("nested nested parameter type $prop")String>>): @Anno("explicitType return type $prop") List<@Anno("explicitType nested return type $prop") List<@Anno("explicitType nested nested return type $prop") Int>> = 0
}
}
@@ -0,0 +1,243 @@
RAW_FIR:
FILE: [ResolvedTo(RAW_FIR)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
IMPORTS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPILER_REQUIRED_ANNOTATIONS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPANION_GENERATION:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(COMPANION_GENERATION)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
SUPER_TYPES:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(SUPER_TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
TYPES:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
STATUS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(STATUS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
EXPECT_ACTUAL_MATCHING:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(EXPECT_ACTUAL_MATCHING)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
CONTRACTS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(CONTRACTS)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(function ), prop#)) public? final? [ResolvedTo(RAW_FIR)] fun <@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] F : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested bound ), prop#)) String>>> @RECEIVER:Anno[Unresolved](<strcat>(String(receiver annotation: ), prop#)) @Anno[Unresolved](<strcat>(String(receiver type ), prop#)) Collection<@Anno[Unresolved](<strcat>(String(nested receiver type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested receiver type ), prop#)) String>>.explicitType([ResolvedTo(RAW_FIR)] @Anno[Unresolved](<strcat>(String(parameter annotation ), prop#)) param: @Anno[Unresolved](<strcat>(String(parameter type ), prop#)) ListIterator<@Anno[Unresolved](<strcat>(String(nested parameter type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested parameter type ), prop#)) String>>): @Anno[Unresolved](<strcat>(String(explicitType return type ), prop#)) List<@Anno[Unresolved](<strcat>(String(explicitType nested return type ), prop#)) List<@Anno[Unresolved](<strcat>(String(explicitType nested nested return type ), prop#)) Int>> {
^explicitType IntegerLiteral(0)
}
}
}
IMPLICIT_TYPES_BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(function ), prop#)) public? final? [ResolvedTo(RAW_FIR)] fun <@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] F : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested bound ), prop#)) String>>> @RECEIVER:Anno[Unresolved](<strcat>(String(receiver annotation: ), prop#)) @Anno[Unresolved](<strcat>(String(receiver type ), prop#)) Collection<@Anno[Unresolved](<strcat>(String(nested receiver type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested receiver type ), prop#)) String>>.explicitType([ResolvedTo(RAW_FIR)] @Anno[Unresolved](<strcat>(String(parameter annotation ), prop#)) param: @Anno[Unresolved](<strcat>(String(parameter type ), prop#)) ListIterator<@Anno[Unresolved](<strcat>(String(nested parameter type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested parameter type ), prop#)) String>>): @Anno[Unresolved](<strcat>(String(explicitType return type ), prop#)) List<@Anno[Unresolved](<strcat>(String(explicitType nested return type ), prop#)) List<@Anno[Unresolved](<strcat>(String(explicitType nested nested return type ), prop#)) Int>> {
^explicitType IntegerLiteral(0)
}
}
}
ANNOTATION_ARGUMENTS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(ANNOTATION_ARGUMENTS)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(function ), prop#)) public? final? [ResolvedTo(RAW_FIR)] fun <@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] F : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested bound ), prop#)) String>>> @RECEIVER:Anno[Unresolved](<strcat>(String(receiver annotation: ), prop#)) @Anno[Unresolved](<strcat>(String(receiver type ), prop#)) Collection<@Anno[Unresolved](<strcat>(String(nested receiver type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested receiver type ), prop#)) String>>.explicitType([ResolvedTo(RAW_FIR)] @Anno[Unresolved](<strcat>(String(parameter annotation ), prop#)) param: @Anno[Unresolved](<strcat>(String(parameter type ), prop#)) ListIterator<@Anno[Unresolved](<strcat>(String(nested parameter type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested parameter type ), prop#)) String>>): @Anno[Unresolved](<strcat>(String(explicitType return type ), prop#)) List<@Anno[Unresolved](<strcat>(String(explicitType nested return type ), prop#)) List<@Anno[Unresolved](<strcat>(String(explicitType nested nested return type ), prop#)) Int>> {
^explicitType IntegerLiteral(0)
}
}
}
BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(function ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] fun <@R|Anno|[Types](position = <strcat>(String(type param ), this@R|<local>/OriginalClass|.R|<local>/prop|)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), this@R|<local>/OriginalClass|.R|<local>/prop|)) R|@R|Anno|(position = <strcat>(String(receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/Collection<@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|.explicitType([ResolvedTo(BODY_RESOLVE)] @R|Anno|[Types](position = <strcat>(String(parameter annotation ), this@R|<local>/OriginalClass|.R|<local>/prop|)) param: R|@R|Anno|(position = <strcat>(String(parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/ListIterator<@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|): R|@R|Anno|(position = <strcat>(String(explicitType return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>>| {
^explicitType Int(0)
}
}
}
FILE RAW TO BODY:
FILE: [ResolvedTo(BODY_RESOLVE)] typeParameterAnnotationsInLocalClass.kt
public final [ResolvedTo(BODY_RESOLVE)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] constructor([ResolvedTo(BODY_RESOLVE)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(function ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] fun <@R|Anno|[Types](position = <strcat>(String(type param ), this@R|<local>/OriginalClass|.R|<local>/prop|)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), this@R|<local>/OriginalClass|.R|<local>/prop|)) R|@R|Anno|(position = <strcat>(String(receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/Collection<@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|.explicitType([ResolvedTo(BODY_RESOLVE)] @R|Anno|[Types](position = <strcat>(String(parameter annotation ), this@R|<local>/OriginalClass|.R|<local>/prop|)) param: R|@R|Anno|(position = <strcat>(String(parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/ListIterator<@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|): R|@R|Anno|(position = <strcat>(String(explicitType return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>>| {
^explicitType Int(0)
}
}
}
@@ -0,0 +1,79 @@
@R|Anno|(position = <strcat>(String(explicitType return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/Collection<@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/ListIterator<@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>
context -> FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>
context -> FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String
context -> FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>
context -> FirTypeParameterSymbol F from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>
context -> FirTypeParameterSymbol F from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String
context -> FirTypeParameterSymbol F from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(function ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] fun <@R|Anno|[Types](position = <strcat>(String(type param ), this@R|<local>/OriginalClass|.R|<local>/prop|)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), this@R|<local>/OriginalClass|.R|<local>/prop|)) R|@R|Anno|(position = <strcat>(String(receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/Collection<@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|.explicitType([ResolvedTo(BODY_RESOLVE)] @R|Anno|[Types](position = <strcat>(String(parameter annotation ), this@R|<local>/OriginalClass|.R|<local>/prop|)) param: R|@R|Anno|(position = <strcat>(String(parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/ListIterator<@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|): R|@R|Anno|(position = <strcat>(String(explicitType return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>>| {
^explicitType Int(0)
}
}
}
@@ -0,0 +1,79 @@
@R|Anno|(position = <strcat>(String(explicitType return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/Collection<@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String
context -> FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/ListIterator<@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>
context -> FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>
context -> FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String
context -> FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirValueParameterSymbol <local>/param from FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>
context -> FirTypeParameterSymbol F from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>
context -> FirTypeParameterSymbol F from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String
context -> FirTypeParameterSymbol F from FirNamedFunctionSymbol <local>/explicitType
anchor -> [FirNamedFunctionSymbol <local>/explicitType]
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(function ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] fun <@R|Anno|[Types](position = <strcat>(String(type param ), this@R|<local>/OriginalClass|.R|<local>/prop|)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), this@R|<local>/OriginalClass|.R|<local>/prop|)) R|@R|Anno|(position = <strcat>(String(receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/Collection<@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|.explicitType([ResolvedTo(BODY_RESOLVE)] @R|Anno|[Types](position = <strcat>(String(parameter annotation ), this@R|<local>/OriginalClass|.R|<local>/prop|)) param: R|@R|Anno|(position = <strcat>(String(parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/ListIterator<@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|): R|@R|Anno|(position = <strcat>(String(explicitType return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>>| {
^explicitType Int(0)
}
}
}
@@ -0,0 +1,11 @@
// BODY_RESOLVE
annotation class Anno(val position: String)
fun fo<caret>o() {
class OriginalClass {
val prop = 0
@Anno("function $prop")
fun <@Anno("type param $prop") F : @Anno("bound $prop") List<@Anno("nested bound $prop") List<@Anno("nested nested bound $prop") String>>> @receiver:Anno("receiver annotation: $prop") @Anno("receiver type $prop") Collection<@Anno("nested receiver type $prop") List<@Anno("nested nested receiver type $prop")String>>.explicitType(@Anno("parameter annotation $prop") param: @Anno("parameter type $prop") ListIterator<@Anno("nested parameter type $prop") List<@Anno("nested nested parameter type $prop")String>>): @Anno("explicitType return type $prop") List<@Anno("explicitType nested return type $prop") List<@Anno("explicitType nested nested return type $prop") Int>> = 0
}
}
@@ -0,0 +1,320 @@
RAW_FIR:
FILE: [ResolvedTo(RAW_FIR)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
IMPORTS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPILER_REQUIRED_ANNOTATIONS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPANION_GENERATION:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(COMPANION_GENERATION)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
SUPER_TYPES:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(SUPER_TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
TYPES:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
STATUS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(STATUS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
EXPECT_ACTUAL_MATCHING:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(EXPECT_ACTUAL_MATCHING)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
CONTRACTS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(CONTRACTS)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(function ), prop#)) public? final? [ResolvedTo(RAW_FIR)] fun <@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] F : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested bound ), prop#)) String>>> @RECEIVER:Anno[Unresolved](<strcat>(String(receiver annotation: ), prop#)) @Anno[Unresolved](<strcat>(String(receiver type ), prop#)) Collection<@Anno[Unresolved](<strcat>(String(nested receiver type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested receiver type ), prop#)) String>>.explicitType([ResolvedTo(RAW_FIR)] @Anno[Unresolved](<strcat>(String(parameter annotation ), prop#)) param: @Anno[Unresolved](<strcat>(String(parameter type ), prop#)) ListIterator<@Anno[Unresolved](<strcat>(String(nested parameter type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested parameter type ), prop#)) String>>): @Anno[Unresolved](<strcat>(String(explicitType return type ), prop#)) List<@Anno[Unresolved](<strcat>(String(explicitType nested return type ), prop#)) List<@Anno[Unresolved](<strcat>(String(explicitType nested nested return type ), prop#)) Int>> {
^explicitType IntegerLiteral(0)
}
}
}
IMPLICIT_TYPES_BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(function ), prop#)) public? final? [ResolvedTo(RAW_FIR)] fun <@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] F : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested bound ), prop#)) String>>> @RECEIVER:Anno[Unresolved](<strcat>(String(receiver annotation: ), prop#)) @Anno[Unresolved](<strcat>(String(receiver type ), prop#)) Collection<@Anno[Unresolved](<strcat>(String(nested receiver type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested receiver type ), prop#)) String>>.explicitType([ResolvedTo(RAW_FIR)] @Anno[Unresolved](<strcat>(String(parameter annotation ), prop#)) param: @Anno[Unresolved](<strcat>(String(parameter type ), prop#)) ListIterator<@Anno[Unresolved](<strcat>(String(nested parameter type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested parameter type ), prop#)) String>>): @Anno[Unresolved](<strcat>(String(explicitType return type ), prop#)) List<@Anno[Unresolved](<strcat>(String(explicitType nested return type ), prop#)) List<@Anno[Unresolved](<strcat>(String(explicitType nested nested return type ), prop#)) Int>> {
^explicitType IntegerLiteral(0)
}
}
}
ANNOTATION_ARGUMENTS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(ANNOTATION_ARGUMENTS)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(function ), prop#)) public? final? [ResolvedTo(RAW_FIR)] fun <@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] F : @Anno[Unresolved](<strcat>(String(bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested bound ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested bound ), prop#)) String>>> @RECEIVER:Anno[Unresolved](<strcat>(String(receiver annotation: ), prop#)) @Anno[Unresolved](<strcat>(String(receiver type ), prop#)) Collection<@Anno[Unresolved](<strcat>(String(nested receiver type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested receiver type ), prop#)) String>>.explicitType([ResolvedTo(RAW_FIR)] @Anno[Unresolved](<strcat>(String(parameter annotation ), prop#)) param: @Anno[Unresolved](<strcat>(String(parameter type ), prop#)) ListIterator<@Anno[Unresolved](<strcat>(String(nested parameter type ), prop#)) List<@Anno[Unresolved](<strcat>(String(nested nested parameter type ), prop#)) String>>): @Anno[Unresolved](<strcat>(String(explicitType return type ), prop#)) List<@Anno[Unresolved](<strcat>(String(explicitType nested return type ), prop#)) List<@Anno[Unresolved](<strcat>(String(explicitType nested nested return type ), prop#)) Int>> {
^explicitType IntegerLiteral(0)
}
}
}
BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(function ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] fun <@R|Anno|[Types](position = <strcat>(String(type param ), this@R|<local>/OriginalClass|.R|<local>/prop|)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), this@R|<local>/OriginalClass|.R|<local>/prop|)) R|@R|Anno|(position = <strcat>(String(receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/Collection<@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|.explicitType([ResolvedTo(BODY_RESOLVE)] @R|Anno|[Types](position = <strcat>(String(parameter annotation ), this@R|<local>/OriginalClass|.R|<local>/prop|)) param: R|@R|Anno|(position = <strcat>(String(parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/ListIterator<@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|): R|@R|Anno|(position = <strcat>(String(explicitType return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>>| {
^explicitType Int(0)
}
}
}
FILE RAW TO BODY:
FILE: [ResolvedTo(BODY_RESOLVE)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(BODY_RESOLVE)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] constructor([ResolvedTo(BODY_RESOLVE)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(function ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] fun <@R|Anno|[Types](position = <strcat>(String(type param ), this@R|<local>/OriginalClass|.R|<local>/prop|)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), this@R|<local>/OriginalClass|.R|<local>/prop|)) R|@R|Anno|(position = <strcat>(String(receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/Collection<@R|Anno|(position = <strcat>(String(nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested receiver type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|.explicitType([ResolvedTo(BODY_RESOLVE)] @R|Anno|[Types](position = <strcat>(String(parameter annotation ), this@R|<local>/OriginalClass|.R|<local>/prop|)) param: R|@R|Anno|(position = <strcat>(String(parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/ListIterator<@R|Anno|(position = <strcat>(String(nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(nested nested parameter type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/String>>|): R|@R|Anno|(position = <strcat>(String(explicitType return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/collections/List<@R|Anno|(position = <strcat>(String(explicitType nested nested return type ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int>>| {
^explicitType Int(0)
}
}
}
@@ -0,0 +1,47 @@
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(receiver type ), <Unresolved name: prop>#)) F
context -> FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirPropertyAccessorSymbol special/accessor from FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirBackingFieldSymbol <local>/field from FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number
context -> FirTypeParameterSymbol F from FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(property ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] val <@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), <Unresolved name: prop>#)) R|@R|Anno|(position = <strcat>(String(receiver type ), <Unresolved name: prop>#)) F|.explicitType: R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int| {
^ Int(1)
}
}
}
@@ -0,0 +1,47 @@
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(receiver type ), <Unresolved name: prop>#)) F
context -> FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirPropertyAccessorSymbol special/accessor from FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirBackingFieldSymbol <local>/field from FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number
context -> FirTypeParameterSymbol F from FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(property ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] val <@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), <Unresolved name: prop>#)) R|@R|Anno|(position = <strcat>(String(receiver type ), <Unresolved name: prop>#)) F|.explicitType: R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int| {
^ Int(1)
}
}
}
@@ -0,0 +1,11 @@
// BODY_RESOLVE
annotation class Anno(val position: String)
fun fo<caret>o() {
class OriginalClass {
val prop = 0
@Anno("property $prop")
val <@Anno("type param $prop") F : @Anno("bound $prop") Number> @receiver:Anno("receiver annotation: $prop") @Anno("receiver type $prop") F.explicitType: @Anno("bound $prop") Int get() = 1
}
}
@@ -0,0 +1,248 @@
RAW_FIR:
FILE: [ResolvedTo(RAW_FIR)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
IMPORTS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPILER_REQUIRED_ANNOTATIONS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPANION_GENERATION:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(COMPANION_GENERATION)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
SUPER_TYPES:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(SUPER_TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
TYPES:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
STATUS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(STATUS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
EXPECT_ACTUAL_MATCHING:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(EXPECT_ACTUAL_MATCHING)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
CONTRACTS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(CONTRACTS)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(property ), prop#)) public? final? [ResolvedTo(RAW_FIR)] val <@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] F : @Anno[Unresolved](<strcat>(String(bound ), prop#)) Number> @RECEIVER:Anno[Unresolved](<strcat>(String(receiver annotation: ), prop#)) @Anno[Unresolved](<strcat>(String(receiver type ), prop#)) F.explicitType: @Anno[Unresolved](<strcat>(String(bound ), prop#)) Int
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): @Anno[Unresolved](<strcat>(String(bound ), prop#)) Int {
^ IntegerLiteral(1)
}
}
}
IMPLICIT_TYPES_BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(property ), prop#)) public? final? [ResolvedTo(RAW_FIR)] val <@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] F : @Anno[Unresolved](<strcat>(String(bound ), prop#)) Number> @RECEIVER:Anno[Unresolved](<strcat>(String(receiver annotation: ), prop#)) @Anno[Unresolved](<strcat>(String(receiver type ), prop#)) F.explicitType: @Anno[Unresolved](<strcat>(String(bound ), prop#)) Int
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): @Anno[Unresolved](<strcat>(String(bound ), prop#)) Int {
^ IntegerLiteral(1)
}
}
}
ANNOTATION_ARGUMENTS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(ANNOTATION_ARGUMENTS)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(property ), prop#)) public? final? [ResolvedTo(RAW_FIR)] val <@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] F : @Anno[Unresolved](<strcat>(String(bound ), prop#)) Number> @RECEIVER:Anno[Unresolved](<strcat>(String(receiver annotation: ), prop#)) @Anno[Unresolved](<strcat>(String(receiver type ), prop#)) F.explicitType: @Anno[Unresolved](<strcat>(String(bound ), prop#)) Int
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): @Anno[Unresolved](<strcat>(String(bound ), prop#)) Int {
^ IntegerLiteral(1)
}
}
}
BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClass.kt
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(property ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] val <@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), <Unresolved name: prop>#)) R|@R|Anno|(position = <strcat>(String(receiver type ), <Unresolved name: prop>#)) F|.explicitType: R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int| {
^ Int(1)
}
}
}
FILE RAW TO BODY:
FILE: [ResolvedTo(BODY_RESOLVE)] typeParameterAnnotationsInLocalClass.kt
public final [ResolvedTo(BODY_RESOLVE)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] constructor([ResolvedTo(BODY_RESOLVE)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(property ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] val <@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), <Unresolved name: prop>#)) R|@R|Anno|(position = <strcat>(String(receiver type ), <Unresolved name: prop>#)) F|.explicitType: R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int| {
^ Int(1)
}
}
}
@@ -0,0 +1,52 @@
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(receiver type ), <Unresolved name: prop>#)) F
context -> FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirPropertyAccessorSymbol special/accessor from FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirBackingFieldSymbol <local>/field from FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number
context -> FirTypeParameterSymbol F from FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(property ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] val <@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), <Unresolved name: prop>#)) R|@R|Anno|(position = <strcat>(String(receiver type ), <Unresolved name: prop>#)) F|.explicitType: R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int| {
^ Int(1)
}
}
}
@@ -0,0 +1,52 @@
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(receiver type ), <Unresolved name: prop>#)) F
context -> FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirPropertyAccessorSymbol special/accessor from FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int
context -> FirBackingFieldSymbol <local>/field from FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number
context -> FirTypeParameterSymbol F from FirPropertySymbol <local>/explicitType
anchor -> [FirPropertySymbol <local>/explicitType]
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(property ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] val <@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), <Unresolved name: prop>#)) R|@R|Anno|(position = <strcat>(String(receiver type ), <Unresolved name: prop>#)) F|.explicitType: R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int| {
^ Int(1)
}
}
}
@@ -0,0 +1,11 @@
// BODY_RESOLVE
annotation class Anno(val position: String)
fun fo<caret>o() {
class OriginalClass {
val prop = 0
@Anno("property $prop")
val <@Anno("type param $prop") F : @Anno("bound $prop") Number> @receiver:Anno("receiver annotation: $prop") @Anno("receiver type $prop") F.explicitType: @Anno("bound $prop") Int get() = 1
}
}
@@ -0,0 +1,325 @@
RAW_FIR:
FILE: [ResolvedTo(RAW_FIR)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
IMPORTS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPILER_REQUIRED_ANNOTATIONS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPANION_GENERATION:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(COMPANION_GENERATION)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
SUPER_TYPES:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(SUPER_TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
TYPES:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
STATUS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(STATUS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
EXPECT_ACTUAL_MATCHING:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(EXPECT_ACTUAL_MATCHING)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
CONTRACTS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(CONTRACTS)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(property ), prop#)) public? final? [ResolvedTo(RAW_FIR)] val <@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] F : @Anno[Unresolved](<strcat>(String(bound ), prop#)) Number> @RECEIVER:Anno[Unresolved](<strcat>(String(receiver annotation: ), prop#)) @Anno[Unresolved](<strcat>(String(receiver type ), prop#)) F.explicitType: @Anno[Unresolved](<strcat>(String(bound ), prop#)) Int
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): @Anno[Unresolved](<strcat>(String(bound ), prop#)) Int {
^ IntegerLiteral(1)
}
}
}
IMPLICIT_TYPES_BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(property ), prop#)) public? final? [ResolvedTo(RAW_FIR)] val <@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] F : @Anno[Unresolved](<strcat>(String(bound ), prop#)) Number> @RECEIVER:Anno[Unresolved](<strcat>(String(receiver annotation: ), prop#)) @Anno[Unresolved](<strcat>(String(receiver type ), prop#)) F.explicitType: @Anno[Unresolved](<strcat>(String(bound ), prop#)) Int
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): @Anno[Unresolved](<strcat>(String(bound ), prop#)) Int {
^ IntegerLiteral(1)
}
}
}
ANNOTATION_ARGUMENTS:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(ANNOTATION_ARGUMENTS)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(property ), prop#)) public? final? [ResolvedTo(RAW_FIR)] val <@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] F : @Anno[Unresolved](<strcat>(String(bound ), prop#)) Number> @RECEIVER:Anno[Unresolved](<strcat>(String(receiver annotation: ), prop#)) @Anno[Unresolved](<strcat>(String(receiver type ), prop#)) F.explicitType: @Anno[Unresolved](<strcat>(String(bound ), prop#)) Int
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): @Anno[Unresolved](<strcat>(String(bound ), prop#)) Int {
^ IntegerLiteral(1)
}
}
}
BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(property ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] val <@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), <Unresolved name: prop>#)) R|@R|Anno|(position = <strcat>(String(receiver type ), <Unresolved name: prop>#)) F|.explicitType: R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int| {
^ Int(1)
}
}
}
FILE RAW TO BODY:
FILE: [ResolvedTo(BODY_RESOLVE)] typeParameterAnnotationsInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-typeParameterAnnotationsInLocalClassScript.kts>
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(BODY_RESOLVE)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] constructor([ResolvedTo(BODY_RESOLVE)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor(): R|<local>/OriginalClass| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(property ), this@R|<local>/OriginalClass|.R|<local>/prop|)) public final [ResolvedTo(BODY_RESOLVE)] val <@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] F : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> @RECEIVER:R|Anno|[Types](position = <strcat>(String(receiver annotation: ), <Unresolved name: prop>#)) R|@R|Anno|(position = <strcat>(String(receiver type ), <Unresolved name: prop>#)) F|.explicitType: R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|@R|Anno|(position = <strcat>(String(bound ), this@R|<local>/OriginalClass|.R|<local>/prop|)) kotlin/Int| {
^ Int(1)
}
}
}
@@ -0,0 +1,32 @@
@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number
context -> FirTypeParameterSymbol A from FirTypeAliasSymbol <local>/OriginalClass.NestedTypeAlias
anchor -> []
@R|Anno|(position = <strcat>(String(type ), <Unresolved name: prop>#)) <local>/OriginalClass<A>
context -> FirTypeAliasSymbol <local>/OriginalClass.NestedTypeAlias
anchor -> [FirTypeAliasSymbol <local>/OriginalClass.NestedTypeAlias]
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClass.kt
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPEALIAS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<[ResolvedTo(BODY_RESOLVE)] T> : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<[ResolvedTo(BODY_RESOLVE)] T>(): R|<local>/OriginalClass<T>| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(alias ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] typealias NestedTypeAlias<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] A : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> = R|@R|Anno|(position = <strcat>(String(type ), <Unresolved name: prop>#)) <local>/OriginalClass<A>|
}
}
@@ -0,0 +1,32 @@
@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number
context -> FirTypeParameterSymbol A from FirTypeAliasSymbol <local>/OriginalClass.NestedTypeAlias
anchor -> []
@R|Anno|(position = <strcat>(String(type ), <Unresolved name: prop>#)) <local>/OriginalClass<A>
context -> FirTypeAliasSymbol <local>/OriginalClass.NestedTypeAlias
anchor -> [FirTypeAliasSymbol <local>/OriginalClass.NestedTypeAlias]
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClass.kt
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPEALIAS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<[ResolvedTo(BODY_RESOLVE)] T> : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<[ResolvedTo(BODY_RESOLVE)] T>(): R|<local>/OriginalClass<T>| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(alias ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] typealias NestedTypeAlias<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] A : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> = R|@R|Anno|(position = <strcat>(String(type ), <Unresolved name: prop>#)) <local>/OriginalClass<A>|
}
}
@@ -0,0 +1,12 @@
// BODY_RESOLVE
@Target(AnnotationTarget.TYPE, AnnotationTarget.TYPEALIAS, AnnotationTarget.TYPE_PARAMETER)
annotation class Anno(val position: String)
fun f<caret>oo() {
class OriginalClass<T> {
val prop = 0
@Anno("alias $prop")
typealias NestedTypeAlias <@Anno("type param $prop") A : @Anno("bound $prop") Number> = @Anno("type $prop") OriginalClass<A>
}
}
@@ -0,0 +1,233 @@
RAW_FIR:
FILE: [ResolvedTo(RAW_FIR)] nestedAliasWithNestedAnnotationInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
IMPORTS:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPILER_REQUIRED_ANNOTATIONS:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPANION_GENERATION:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(COMPANION_GENERATION)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
SUPER_TYPES:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(SUPER_TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
TYPES:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
STATUS:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(STATUS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
EXPECT_ACTUAL_MATCHING:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(EXPECT_ACTUAL_MATCHING)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
CONTRACTS:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(CONTRACTS)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor<[ResolvedTo(RAW_FIR)] T>(): R|<local>/OriginalClass<T>| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(alias ), prop#)) local final [ResolvedTo(RAW_FIR)] typealias NestedTypeAlias<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] A : @Anno[Unresolved](<strcat>(String(bound ), prop#)) Number> = @Anno[Unresolved](<strcat>(String(type ), prop#)) OriginalClass<A>
}
}
IMPLICIT_TYPES_BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor<[ResolvedTo(RAW_FIR)] T>(): R|<local>/OriginalClass<T>| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(alias ), prop#)) local final [ResolvedTo(RAW_FIR)] typealias NestedTypeAlias<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] A : @Anno[Unresolved](<strcat>(String(bound ), prop#)) Number> = @Anno[Unresolved](<strcat>(String(type ), prop#)) OriginalClass<A>
}
}
ANNOTATION_ARGUMENTS:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClass.kt
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(ANNOTATION_ARGUMENTS)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor<[ResolvedTo(RAW_FIR)] T>(): R|<local>/OriginalClass<T>| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(alias ), prop#)) local final [ResolvedTo(RAW_FIR)] typealias NestedTypeAlias<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] A : @Anno[Unresolved](<strcat>(String(bound ), prop#)) Number> = @Anno[Unresolved](<strcat>(String(type ), prop#)) OriginalClass<A>
}
}
BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClass.kt
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPEALIAS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<[ResolvedTo(BODY_RESOLVE)] T> : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<[ResolvedTo(BODY_RESOLVE)] T>(): R|<local>/OriginalClass<T>| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(alias ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] typealias NestedTypeAlias<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] A : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> = R|@R|Anno|(position = <strcat>(String(type ), <Unresolved name: prop>#)) <local>/OriginalClass<A>|
}
}
FILE RAW TO BODY:
FILE: [ResolvedTo(BODY_RESOLVE)] nestedAliasWithNestedAnnotationInLocalClass.kt
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPEALIAS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|)) public final [ResolvedTo(BODY_RESOLVE)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] constructor([ResolvedTo(BODY_RESOLVE)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<[ResolvedTo(BODY_RESOLVE)] T> : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<[ResolvedTo(BODY_RESOLVE)] T>(): R|<local>/OriginalClass<T>| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(alias ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] typealias NestedTypeAlias<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] A : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> = R|@R|Anno|(position = <strcat>(String(type ), <Unresolved name: prop>#)) <local>/OriginalClass<A>|
}
}
@@ -0,0 +1,37 @@
@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number
context -> FirTypeParameterSymbol A from FirTypeAliasSymbol <local>/OriginalClass.NestedTypeAlias
anchor -> []
@R|Anno|(position = <strcat>(String(type ), <Unresolved name: prop>#)) <local>/OriginalClass<A>
context -> FirTypeAliasSymbol <local>/OriginalClass.NestedTypeAlias
anchor -> [FirTypeAliasSymbol <local>/OriginalClass.NestedTypeAlias]
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPEALIAS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<[ResolvedTo(BODY_RESOLVE)] T> : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<[ResolvedTo(BODY_RESOLVE)] T>(): R|<local>/OriginalClass<T>| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(alias ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] typealias NestedTypeAlias<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] A : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> = R|@R|Anno|(position = <strcat>(String(type ), <Unresolved name: prop>#)) <local>/OriginalClass<A>|
}
}
@@ -0,0 +1,37 @@
@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number
context -> FirTypeParameterSymbol A from FirTypeAliasSymbol <local>/OriginalClass.NestedTypeAlias
anchor -> []
@R|Anno|(position = <strcat>(String(type ), <Unresolved name: prop>#)) <local>/OriginalClass<A>
context -> FirTypeAliasSymbol <local>/OriginalClass.NestedTypeAlias
anchor -> [FirTypeAliasSymbol <local>/OriginalClass.NestedTypeAlias]
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPEALIAS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<[ResolvedTo(BODY_RESOLVE)] T> : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<[ResolvedTo(BODY_RESOLVE)] T>(): R|<local>/OriginalClass<T>| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(alias ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] typealias NestedTypeAlias<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] A : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> = R|@R|Anno|(position = <strcat>(String(type ), <Unresolved name: prop>#)) <local>/OriginalClass<A>|
}
}
@@ -0,0 +1,12 @@
// BODY_RESOLVE
@Target(AnnotationTarget.TYPE, AnnotationTarget.TYPEALIAS, AnnotationTarget.TYPE_PARAMETER)
annotation class Anno(val position: String)
fun f<caret>oo() {
class OriginalClass<T> {
val prop = 0
@Anno("alias $prop")
typealias NestedTypeAlias <@Anno("type param $prop") A : @Anno("bound $prop") Number> = @Anno("type $prop") OriginalClass<A>
}
}
@@ -0,0 +1,310 @@
RAW_FIR:
FILE: [ResolvedTo(RAW_FIR)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
IMPORTS:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPILER_REQUIRED_ANNOTATIONS:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(COMPILER_REQUIRED_ANNOTATIONS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
COMPANION_GENERATION:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(COMPANION_GENERATION)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
SUPER_TYPES:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(SUPER_TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
TYPES:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public? final? [ResolvedTo(TYPES)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
STATUS:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(STATUS)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
EXPECT_ACTUAL_MATCHING:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(RAW_FIR)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(EXPECT_ACTUAL_MATCHING)] fun foo(): R|kotlin/Unit| { LAZY_BLOCK }
CONTRACTS:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(CONTRACTS)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor<[ResolvedTo(RAW_FIR)] T>(): R|<local>/OriginalClass<T>| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(alias ), prop#)) local final [ResolvedTo(RAW_FIR)] typealias NestedTypeAlias<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] A : @Anno[Unresolved](<strcat>(String(bound ), prop#)) Number> = @Anno[Unresolved](<strcat>(String(type ), prop#)) OriginalClass<A>
}
}
IMPLICIT_TYPES_BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor<[ResolvedTo(RAW_FIR)] T>(): R|<local>/OriginalClass<T>| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(alias ), prop#)) local final [ResolvedTo(RAW_FIR)] typealias NestedTypeAlias<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] A : @Anno[Unresolved](<strcat>(String(bound ), prop#)) Number> = @Anno[Unresolved](<strcat>(String(type ), prop#)) OriginalClass<A>
}
}
ANNOTATION_ARGUMENTS:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@Target[Unresolved](LAZY_EXPRESSION, LAZY_EXPRESSION, LAZY_EXPRESSION) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.position] position: String): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val position: String = R|<local>/position|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
public final [ResolvedTo(ANNOTATION_ARGUMENTS)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class OriginalClass<[ResolvedTo(RAW_FIR)] T> : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] constructor<[ResolvedTo(RAW_FIR)] T>(): R|<local>/OriginalClass<T>| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] val prop: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=OriginalClass] get(): <implicit>
@Anno[Unresolved](<strcat>(String(alias ), prop#)) local final [ResolvedTo(RAW_FIR)] typealias NestedTypeAlias<@Anno[Unresolved](<strcat>(String(type param ), prop#)) [ResolvedTo(RAW_FIR)] A : @Anno[Unresolved](<strcat>(String(bound ), prop#)) Number> = @Anno[Unresolved](<strcat>(String(type ), prop#)) OriginalClass<A>
}
}
BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(TYPES)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPEALIAS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
LAZY_super<R|kotlin/Any|>
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<[ResolvedTo(BODY_RESOLVE)] T> : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<[ResolvedTo(BODY_RESOLVE)] T>(): R|<local>/OriginalClass<T>| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(alias ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] typealias NestedTypeAlias<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] A : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> = R|@R|Anno|(position = <strcat>(String(type ), <Unresolved name: prop>#)) <local>/OriginalClass<A>|
}
}
FILE RAW TO BODY:
FILE: [ResolvedTo(BODY_RESOLVE)] nestedAliasWithNestedAnnotationInLocalClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-nestedAliasWithNestedAnnotationInLocalClassScript.kts>
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPEALIAS|, Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|)) public final [ResolvedTo(BODY_RESOLVE)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] constructor([ResolvedTo(BODY_RESOLVE)] [CorrespondingProperty=/Anno.position] position: R|kotlin/String|): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] [IsFromPrimaryConstructor=true] val position: R|kotlin/String| = R|<local>/position|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Anno] get(): R|kotlin/String|
}
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(BODY_RESOLVE)] class OriginalClass<[ResolvedTo(BODY_RESOLVE)] T> : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] constructor<[ResolvedTo(BODY_RESOLVE)] T>(): R|<local>/OriginalClass<T>| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(BODY_RESOLVE)] val prop: R|kotlin/Int| = Int(0)
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=OriginalClass] get(): R|kotlin/Int|
@R|Anno|[Types](position = <strcat>(String(alias ), <Unresolved name: prop>#)) local final [ResolvedTo(BODY_RESOLVE)] typealias NestedTypeAlias<@R|Anno|[Types](position = <strcat>(String(type param ), <Unresolved name: prop>#)) [ResolvedTo(BODY_RESOLVE)] A : R|@R|Anno|(position = <strcat>(String(bound ), <Unresolved name: prop>#)) kotlin/Number|> = R|@R|Anno|(position = <strcat>(String(type ), <Unresolved name: prop>#)) <local>/OriginalClass<A>|
}
}
@@ -33,6 +33,12 @@ public class OutOfContentRootLazyDeclarationResolveForTypeAnnotationsTestGenerat
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/class"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
}
@Test
@TestMetadata("classAnnotationsInLocalClass.kt")
public void testClassAnnotationsInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/class/classAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("delegateFieldWithAnnotationClash.kt")
public void testDelegateFieldWithAnnotationClash() throws Exception {
@@ -361,6 +367,12 @@ public class OutOfContentRootLazyDeclarationResolveForTypeAnnotationsTestGenerat
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/typeParameterAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClass.kt")
public void testTypeParameterAnnotationsInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/typeParameterAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("typePropagationFromFunctionWithInaccessibleAnnotationArgument.kt")
public void testTypePropagationFromFunctionWithInaccessibleAnnotationArgument() throws Exception {
@@ -454,6 +466,12 @@ public class OutOfContentRootLazyDeclarationResolveForTypeAnnotationsTestGenerat
public void testPropertyTypeCollisionAndAnnotations() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/propertyTypeCollisionAndAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClass.kt")
public void testTypeParameterAnnotationsInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/typeParameterAnnotationsInLocalClass.kt");
}
}
@Nested
@@ -581,6 +599,12 @@ public class OutOfContentRootLazyDeclarationResolveForTypeAnnotationsTestGenerat
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/typeAlias/insideFunctionComplex.kt");
}
@Test
@TestMetadata("nestedAliasWithNestedAnnotationInLocalClass.kt")
public void testNestedAliasWithNestedAnnotationInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/typeAlias/nestedAliasWithNestedAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -33,6 +33,12 @@ public class OutOfContentRootLazyTypeAnnotationsTestGenerated extends AbstractOu
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/class"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
}
@Test
@TestMetadata("classAnnotationsInLocalClass.kt")
public void testClassAnnotationsInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/class/classAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("delegateFieldWithAnnotationClash.kt")
public void testDelegateFieldWithAnnotationClash() throws Exception {
@@ -361,6 +367,12 @@ public class OutOfContentRootLazyTypeAnnotationsTestGenerated extends AbstractOu
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/typeParameterAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClass.kt")
public void testTypeParameterAnnotationsInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/typeParameterAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("typePropagationFromFunctionWithInaccessibleAnnotationArgument.kt")
public void testTypePropagationFromFunctionWithInaccessibleAnnotationArgument() throws Exception {
@@ -454,6 +466,12 @@ public class OutOfContentRootLazyTypeAnnotationsTestGenerated extends AbstractOu
public void testPropertyTypeCollisionAndAnnotations() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/propertyTypeCollisionAndAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClass.kt")
public void testTypeParameterAnnotationsInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/typeParameterAnnotationsInLocalClass.kt");
}
}
@Nested
@@ -581,6 +599,12 @@ public class OutOfContentRootLazyTypeAnnotationsTestGenerated extends AbstractOu
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/typeAlias/insideFunctionComplex.kt");
}
@Test
@TestMetadata("nestedAliasWithNestedAnnotationInLocalClass.kt")
public void testNestedAliasWithNestedAnnotationInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/typeAlias/nestedAliasWithNestedAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -33,6 +33,12 @@ public class ScriptLazyDeclarationResolveForTypeAnnotationsTestGenerated extends
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/class"), Pattern.compile("^(.+)\\.(kts)$"), null, true);
}
@Test
@TestMetadata("classAnnotationsInLocalClassScript.kts")
public void testClassAnnotationsInLocalClassScript() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/class/classAnnotationsInLocalClassScript.kts");
}
@Test
@TestMetadata("delegateFieldWithAnnotationClashScript.kts")
public void testDelegateFieldWithAnnotationClashScript() throws Exception {
@@ -318,6 +324,12 @@ public class ScriptLazyDeclarationResolveForTypeAnnotationsTestGenerated extends
public void testSuperTypeCallNestedNameClashWithAnnotationScript() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/superTypeCallNestedNameClashWithAnnotationScript.kts");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClassScript.kts")
public void testTypeParameterAnnotationsInLocalClassScript() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/typeParameterAnnotationsInLocalClassScript.kts");
}
}
@Nested
@@ -388,6 +400,12 @@ public class ScriptLazyDeclarationResolveForTypeAnnotationsTestGenerated extends
public void testResultWithPropagatedTypeUnavailable() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/resultWithPropagatedTypeUnavailable.kts");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClassScript.kts")
public void testTypeParameterAnnotationsInLocalClassScript() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/typeParameterAnnotationsInLocalClassScript.kts");
}
}
@Nested
@@ -497,6 +515,12 @@ public class ScriptLazyDeclarationResolveForTypeAnnotationsTestGenerated extends
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/typeAlias/insideFunctionScript.kts");
}
@Test
@TestMetadata("nestedAliasWithNestedAnnotationInLocalClassScript.kts")
public void testNestedAliasWithNestedAnnotationInLocalClassScript() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/typeAlias/nestedAliasWithNestedAnnotationInLocalClassScript.kts");
}
@Test
@TestMetadata("simpleScript.kts")
public void testSimpleScript() throws Exception {
@@ -33,6 +33,12 @@ public class ScriptLazyTypeAnnotationsTestGenerated extends AbstractScriptLazyTy
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/class"), Pattern.compile("^(.+)\\.(kts)$"), null, true);
}
@Test
@TestMetadata("classAnnotationsInLocalClassScript.kts")
public void testClassAnnotationsInLocalClassScript() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/class/classAnnotationsInLocalClassScript.kts");
}
@Test
@TestMetadata("delegateFieldWithAnnotationClashScript.kts")
public void testDelegateFieldWithAnnotationClashScript() throws Exception {
@@ -318,6 +324,12 @@ public class ScriptLazyTypeAnnotationsTestGenerated extends AbstractScriptLazyTy
public void testSuperTypeCallNestedNameClashWithAnnotationScript() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/superTypeCallNestedNameClashWithAnnotationScript.kts");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClassScript.kts")
public void testTypeParameterAnnotationsInLocalClassScript() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/typeParameterAnnotationsInLocalClassScript.kts");
}
}
@Nested
@@ -388,6 +400,12 @@ public class ScriptLazyTypeAnnotationsTestGenerated extends AbstractScriptLazyTy
public void testResultWithPropagatedTypeUnavailable() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/resultWithPropagatedTypeUnavailable.kts");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClassScript.kts")
public void testTypeParameterAnnotationsInLocalClassScript() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/typeParameterAnnotationsInLocalClassScript.kts");
}
}
@Nested
@@ -497,6 +515,12 @@ public class ScriptLazyTypeAnnotationsTestGenerated extends AbstractScriptLazyTy
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/typeAlias/insideFunctionScript.kts");
}
@Test
@TestMetadata("nestedAliasWithNestedAnnotationInLocalClassScript.kts")
public void testNestedAliasWithNestedAnnotationInLocalClassScript() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/typeAlias/nestedAliasWithNestedAnnotationInLocalClassScript.kts");
}
@Test
@TestMetadata("simpleScript.kts")
public void testSimpleScript() throws Exception {
@@ -33,6 +33,12 @@ public class SourceLazyDeclarationResolveForTypeAnnotationsTestGenerated extends
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/class"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
}
@Test
@TestMetadata("classAnnotationsInLocalClass.kt")
public void testClassAnnotationsInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/class/classAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("delegateFieldWithAnnotationClash.kt")
public void testDelegateFieldWithAnnotationClash() throws Exception {
@@ -361,6 +367,12 @@ public class SourceLazyDeclarationResolveForTypeAnnotationsTestGenerated extends
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/typeParameterAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClass.kt")
public void testTypeParameterAnnotationsInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/typeParameterAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("typePropagationFromFunctionWithInaccessibleAnnotationArgument.kt")
public void testTypePropagationFromFunctionWithInaccessibleAnnotationArgument() throws Exception {
@@ -454,6 +466,12 @@ public class SourceLazyDeclarationResolveForTypeAnnotationsTestGenerated extends
public void testPropertyTypeCollisionAndAnnotations() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/propertyTypeCollisionAndAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClass.kt")
public void testTypeParameterAnnotationsInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/typeParameterAnnotationsInLocalClass.kt");
}
}
@Nested
@@ -581,6 +599,12 @@ public class SourceLazyDeclarationResolveForTypeAnnotationsTestGenerated extends
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/typeAlias/insideFunctionComplex.kt");
}
@Test
@TestMetadata("nestedAliasWithNestedAnnotationInLocalClass.kt")
public void testNestedAliasWithNestedAnnotationInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/typeAlias/nestedAliasWithNestedAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -33,6 +33,12 @@ public class SourceLazyTypeAnnotationsTestGenerated extends AbstractSourceLazyTy
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/class"), Pattern.compile("^(.+)\\.(kt)$"), null, true);
}
@Test
@TestMetadata("classAnnotationsInLocalClass.kt")
public void testClassAnnotationsInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/class/classAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("delegateFieldWithAnnotationClash.kt")
public void testDelegateFieldWithAnnotationClash() throws Exception {
@@ -361,6 +367,12 @@ public class SourceLazyTypeAnnotationsTestGenerated extends AbstractSourceLazyTy
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/typeParameterAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClass.kt")
public void testTypeParameterAnnotationsInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/function/typeParameterAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("typePropagationFromFunctionWithInaccessibleAnnotationArgument.kt")
public void testTypePropagationFromFunctionWithInaccessibleAnnotationArgument() throws Exception {
@@ -454,6 +466,12 @@ public class SourceLazyTypeAnnotationsTestGenerated extends AbstractSourceLazyTy
public void testPropertyTypeCollisionAndAnnotations() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/propertyTypeCollisionAndAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClass.kt")
public void testTypeParameterAnnotationsInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/property/typeParameterAnnotationsInLocalClass.kt");
}
}
@Nested
@@ -581,6 +599,12 @@ public class SourceLazyTypeAnnotationsTestGenerated extends AbstractSourceLazyTy
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/typeAlias/insideFunctionComplex.kt");
}
@Test
@TestMetadata("nestedAliasWithNestedAnnotationInLocalClass.kt")
public void testNestedAliasWithNestedAnnotationInLocalClass() throws Exception {
runTest("analysis/low-level-api-fir/testData/lazyResolveTypeAnnotations/typeAlias/nestedAliasWithNestedAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
@@ -1740,6 +1740,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/annotations/blockLevelOnTheSameLineWarning.kt");
}
@Test
@TestMetadata("classAnnotationsInLocalClass.kt")
public void testClassAnnotationsInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/classAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("constantFromOuterScopeAsAnnotaionParameter.kt")
public void testConstantFromOuterScopeAsAnnotaionParameter() throws Exception {
@@ -1878,6 +1884,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/annotations/danglingAnnotation.kt");
}
@Test
@TestMetadata("danglingAnnotationInLocalClass.kt")
public void testDanglingAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/danglingAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("DanglingInScript.kts")
public void testDanglingInScript() throws Exception {
@@ -1974,6 +1986,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/annotations/initializerWithNestedAnnotation.kt");
}
@Test
@TestMetadata("initializerWithNestedAnnotationInLocalClass.kt")
public void testInitializerWithNestedAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/initializerWithNestedAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("invalidTypesInAnnotationConstructor.kt")
public void testInvalidTypesInAnnotationConstructor() throws Exception {
@@ -2052,6 +2070,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/annotations/nestedAliasWithNestedAnnotation.kt");
}
@Test
@TestMetadata("nestedAliasWithNestedAnnotationInLocalClass.kt")
public void testNestedAliasWithNestedAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/nestedAliasWithNestedAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("nestedClassAsAnnotationParameter.kt")
public void testNestedClassAsAnnotationParameter() throws Exception {
@@ -2226,6 +2250,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/annotations/typeParameterAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClass.kt")
public void testTypeParameterAnnotationsInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/typeParameterAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("typeParameterAsAnnotation.kt")
public void testTypeParameterAsAnnotation() throws Exception {
@@ -1740,6 +1740,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/annotations/blockLevelOnTheSameLineWarning.kt");
}
@Test
@TestMetadata("classAnnotationsInLocalClass.kt")
public void testClassAnnotationsInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/classAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("constantFromOuterScopeAsAnnotaionParameter.kt")
public void testConstantFromOuterScopeAsAnnotaionParameter() throws Exception {
@@ -1878,6 +1884,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/annotations/danglingAnnotation.kt");
}
@Test
@TestMetadata("danglingAnnotationInLocalClass.kt")
public void testDanglingAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/danglingAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("DanglingInScript.kts")
public void testDanglingInScript() throws Exception {
@@ -1974,6 +1986,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/annotations/initializerWithNestedAnnotation.kt");
}
@Test
@TestMetadata("initializerWithNestedAnnotationInLocalClass.kt")
public void testInitializerWithNestedAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/initializerWithNestedAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("invalidTypesInAnnotationConstructor.kt")
public void testInvalidTypesInAnnotationConstructor() throws Exception {
@@ -2052,6 +2070,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/annotations/nestedAliasWithNestedAnnotation.kt");
}
@Test
@TestMetadata("nestedAliasWithNestedAnnotationInLocalClass.kt")
public void testNestedAliasWithNestedAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/nestedAliasWithNestedAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("nestedClassAsAnnotationParameter.kt")
public void testNestedClassAsAnnotationParameter() throws Exception {
@@ -2226,6 +2250,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/annotations/typeParameterAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClass.kt")
public void testTypeParameterAnnotationsInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/typeParameterAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("typeParameterAsAnnotation.kt")
public void testTypeParameterAsAnnotation() throws Exception {
@@ -1740,6 +1740,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
runTest("compiler/testData/diagnostics/tests/annotations/blockLevelOnTheSameLineWarning.kt");
}
@Test
@TestMetadata("classAnnotationsInLocalClass.kt")
public void testClassAnnotationsInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/classAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("constantFromOuterScopeAsAnnotaionParameter.kt")
public void testConstantFromOuterScopeAsAnnotaionParameter() throws Exception {
@@ -1878,6 +1884,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
runTest("compiler/testData/diagnostics/tests/annotations/danglingAnnotation.kt");
}
@Test
@TestMetadata("danglingAnnotationInLocalClass.kt")
public void testDanglingAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/danglingAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("DanglingMixed.kt")
public void testDanglingMixed() throws Exception {
@@ -1968,6 +1980,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
runTest("compiler/testData/diagnostics/tests/annotations/initializerWithNestedAnnotation.kt");
}
@Test
@TestMetadata("initializerWithNestedAnnotationInLocalClass.kt")
public void testInitializerWithNestedAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/initializerWithNestedAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("invalidTypesInAnnotationConstructor.kt")
public void testInvalidTypesInAnnotationConstructor() throws Exception {
@@ -2046,6 +2064,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
runTest("compiler/testData/diagnostics/tests/annotations/nestedAliasWithNestedAnnotation.kt");
}
@Test
@TestMetadata("nestedAliasWithNestedAnnotationInLocalClass.kt")
public void testNestedAliasWithNestedAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/nestedAliasWithNestedAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("nestedClassAsAnnotationParameter.kt")
public void testNestedClassAsAnnotationParameter() throws Exception {
@@ -2220,6 +2244,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
runTest("compiler/testData/diagnostics/tests/annotations/typeParameterAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClass.kt")
public void testTypeParameterAnnotationsInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/typeParameterAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("typeParameterAsAnnotation.kt")
public void testTypeParameterAsAnnotation() throws Exception {
@@ -1740,6 +1740,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
runTest("compiler/testData/diagnostics/tests/annotations/blockLevelOnTheSameLineWarning.kt");
}
@Test
@TestMetadata("classAnnotationsInLocalClass.kt")
public void testClassAnnotationsInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/classAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("constantFromOuterScopeAsAnnotaionParameter.kt")
public void testConstantFromOuterScopeAsAnnotaionParameter() throws Exception {
@@ -1878,6 +1884,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
runTest("compiler/testData/diagnostics/tests/annotations/danglingAnnotation.kt");
}
@Test
@TestMetadata("danglingAnnotationInLocalClass.kt")
public void testDanglingAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/danglingAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("DanglingInScript.kts")
public void testDanglingInScript() throws Exception {
@@ -1974,6 +1986,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
runTest("compiler/testData/diagnostics/tests/annotations/initializerWithNestedAnnotation.kt");
}
@Test
@TestMetadata("initializerWithNestedAnnotationInLocalClass.kt")
public void testInitializerWithNestedAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/initializerWithNestedAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("invalidTypesInAnnotationConstructor.kt")
public void testInvalidTypesInAnnotationConstructor() throws Exception {
@@ -2052,6 +2070,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
runTest("compiler/testData/diagnostics/tests/annotations/nestedAliasWithNestedAnnotation.kt");
}
@Test
@TestMetadata("nestedAliasWithNestedAnnotationInLocalClass.kt")
public void testNestedAliasWithNestedAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/nestedAliasWithNestedAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("nestedClassAsAnnotationParameter.kt")
public void testNestedClassAsAnnotationParameter() throws Exception {
@@ -2226,6 +2250,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
runTest("compiler/testData/diagnostics/tests/annotations/typeParameterAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClass.kt")
public void testTypeParameterAnnotationsInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/typeParameterAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("typeParameterAsAnnotation.kt")
public void testTypeParameterAsAnnotation() throws Exception {
@@ -0,0 +1,15 @@
@Target(AnnotationTarget.TYPE, AnnotationTarget.CLASS, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.TYPE_PARAMETER)
annotation class Anno(val position: String)
open class A<T>
fun foo() {
val localProp = 1
@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"class $localProp"<!>)
class OriginalClass<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"type param $localProp"<!>) T : @Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"bound $localProp"<!>) List<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested bound $localProp"<!>) Int>> : @Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"super type $localProp"<!>) A<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested super type $localProp"<!>) List<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested nested super type $localProp"<!>) Int>>() {
val prop = 0
@Anno("class $<!UNRESOLVED_REFERENCE!>prop<!>")
<!NESTED_CLASS_NOT_ALLOWED!>class InnerClass<!><@Anno("type param $<!UNRESOLVED_REFERENCE!>prop<!>") T : @Anno("bound $<!UNRESOLVED_REFERENCE!>prop<!>") List<@Anno("nested bound $<!UNRESOLVED_REFERENCE!>prop<!>") Int>> : @Anno("super type $<!UNRESOLVED_REFERENCE!>prop<!>") A<@Anno("nested super type $<!UNRESOLVED_REFERENCE!>prop<!>") List<@Anno("nested nested super type $<!UNRESOLVED_REFERENCE!>prop<!>") Int>>()
}
}
@@ -0,0 +1,15 @@
@Target(AnnotationTarget.TYPE, AnnotationTarget.CLASS, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.TYPE_PARAMETER)
annotation class Anno(val position: String)
open class A<T>
fun foo() {
val localProp = 1
@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"class $localProp"<!>)
class OriginalClass<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"type param $localProp"<!>) T : @Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"bound $localProp"<!>) List<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested bound $localProp"<!>) Int>> : @Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"super type $localProp"<!>) A<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested super type $localProp"<!>) List<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested nested super type $localProp"<!>) Int>>() {
val prop = 0
@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"class $<!UNRESOLVED_REFERENCE!>prop<!>"<!>)
<!NESTED_CLASS_NOT_ALLOWED!>class InnerClass<!><@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"type param $<!UNRESOLVED_REFERENCE!>prop<!>"<!>) T : @Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"bound $<!UNRESOLVED_REFERENCE!>prop<!>"<!>) List<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested bound $<!UNRESOLVED_REFERENCE!>prop<!>"<!>) Int>> : @Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"super type $<!UNRESOLVED_REFERENCE!>prop<!>"<!>) A<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested super type $<!UNRESOLVED_REFERENCE!>prop<!>"<!>) List<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested nested super type $<!UNRESOLVED_REFERENCE!>prop<!>"<!>) Int>>()
}
}
@@ -0,0 +1,9 @@
annotation class Anno(val position: String)
fun foo() {
class OriginalClass {
val prop = 0
@Anno("dangling $<!UNRESOLVED_REFERENCE!>prop<!>")<!SYNTAX!><!>
}
}
@@ -0,0 +1,9 @@
annotation class Anno(val position: String)
fun foo() {
class OriginalClass {
val prop = 0
@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"dangling $prop"<!>)<!SYNTAX!><!>
}
}
@@ -0,0 +1,11 @@
annotation class Anno(val position: String)
fun foo() {
class MyClass {
val prop = 0
<!WRONG_ANNOTATION_TARGET!>@Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"init $prop"<!>)<!> init {
}
}
}
@@ -0,0 +1,11 @@
annotation class Anno(val position: String)
fun foo() {
class MyClass {
val prop = 0
<!WRONG_ANNOTATION_TARGET!>@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"init $prop"<!>)<!> init {
}
}
}
@@ -0,0 +1,11 @@
@Target(AnnotationTarget.TYPE, AnnotationTarget.TYPEALIAS, AnnotationTarget.TYPE_PARAMETER)
annotation class Anno(val position: String)
fun foo() {
class OriginalClass<T> {
val prop = 0
<!TOPLEVEL_TYPEALIASES_ONLY!>@Anno("alias $<!UNRESOLVED_REFERENCE!>prop<!>")
typealias NestedTypeAlias <@Anno("type param $<!UNRESOLVED_REFERENCE!>prop<!>") A : <!BOUND_ON_TYPE_ALIAS_PARAMETER_NOT_ALLOWED!>@Anno("bound $<!UNRESOLVED_REFERENCE!>prop<!>") Number<!>> = @Anno("type $<!UNRESOLVED_REFERENCE!>prop<!>") OriginalClass<A><!>
}
}
@@ -0,0 +1,11 @@
@Target(AnnotationTarget.TYPE, AnnotationTarget.TYPEALIAS, AnnotationTarget.TYPE_PARAMETER)
annotation class Anno(val position: String)
fun foo() {
class OriginalClass<T> {
val prop = 0
<!TOPLEVEL_TYPEALIASES_ONLY!>@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"alias $prop"<!>)
typealias NestedTypeAlias <@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"type param $prop"<!>) A : <!BOUND_ON_TYPE_ALIAS_PARAMETER_NOT_ALLOWED!>@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"bound $prop"<!>) Number<!>> = @Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"type $prop"<!>) OriginalClass<A><!>
}
}
@@ -0,0 +1,15 @@
// WITH_STDLIB
@Target(AnnotationTarget.TYPE, AnnotationTarget.FUNCTION, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.TYPE_PARAMETER, AnnotationTarget.PROPERTY)
annotation class Anno(val position: String)
fun foo() {
class OriginalClass {
val prop = 0
@Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"function $prop"<!>)
fun <@Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"type param $prop"<!>) F : @Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"bound $prop"<!>) List<@Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"nested bound $prop"<!>) List<@Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"nested nested bound $prop"<!>) String>>> @receiver:Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"receiver annotation: $prop"<!>) @Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"receiver type $prop"<!>) Collection<@Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"nested receiver type $prop"<!>) List<@Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"nested nested receiver type $prop"<!>)String>>.explicitType(@Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"parameter annotation $prop"<!>) param: @Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"parameter type $prop"<!>) ListIterator<@Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"nested parameter type $prop"<!>) List<@Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"nested nested parameter type $prop"<!>)String>>): @Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"explicitType return type $prop"<!>) List<@Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"explicitType nested return type $prop"<!>) List<@Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"explicitType nested nested return type $prop"<!>) Int>> = emptyList()
@Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"property $prop"<!>)
val <@Anno("type param $<!UNRESOLVED_REFERENCE!>prop<!>") F : @Anno("bound $<!UNRESOLVED_REFERENCE!>prop<!>") Number> @receiver:Anno("receiver annotation: $<!UNRESOLVED_REFERENCE!>prop<!>") @Anno("receiver type $<!UNRESOLVED_REFERENCE!>prop<!>") F.explicitType: @Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"bound $prop"<!>) Int get() = 1
}
}
@@ -0,0 +1,15 @@
// WITH_STDLIB
@Target(AnnotationTarget.TYPE, AnnotationTarget.FUNCTION, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.TYPE_PARAMETER, AnnotationTarget.PROPERTY)
annotation class Anno(val position: String)
fun foo() {
class OriginalClass {
val prop = 0
@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"function $prop"<!>)
fun <@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"type param $prop"<!>) F : @Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"bound $prop"<!>) List<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested bound $prop"<!>) List<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested nested bound $prop"<!>) String>>> @receiver:Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"receiver annotation: $prop"<!>) <!REPEATED_ANNOTATION!>@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"receiver type $prop"<!>)<!> Collection<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested receiver type $prop"<!>) List<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested nested receiver type $prop"<!>)String>>.explicitType(@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"parameter annotation $prop"<!>) param: @Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"parameter type $prop"<!>) ListIterator<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested parameter type $prop"<!>) List<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"nested nested parameter type $prop"<!>)String>>): @Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"explicitType return type $prop"<!>) List<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"explicitType nested return type $prop"<!>) List<@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"explicitType nested nested return type $prop"<!>) Int>> = emptyList()
@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"property $prop"<!>)
val <@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"type param $prop"<!>) F : @Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"bound $prop"<!>) Number> @receiver:Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"receiver annotation: $prop"<!>) <!REPEATED_ANNOTATION!>@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"receiver type $prop"<!>)<!> F.explicitType: @Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>"bound $prop"<!>) Int get() = 1
}
}
@@ -1740,6 +1740,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
runTest("compiler/testData/diagnostics/tests/annotations/blockLevelOnTheSameLineWarning.kt");
}
@Test
@TestMetadata("classAnnotationsInLocalClass.kt")
public void testClassAnnotationsInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/classAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("constantFromOuterScopeAsAnnotaionParameter.kt")
public void testConstantFromOuterScopeAsAnnotaionParameter() throws Exception {
@@ -1878,6 +1884,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
runTest("compiler/testData/diagnostics/tests/annotations/danglingAnnotation.kt");
}
@Test
@TestMetadata("danglingAnnotationInLocalClass.kt")
public void testDanglingAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/danglingAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("DanglingInScript.kts")
public void testDanglingInScript() throws Exception {
@@ -1974,6 +1986,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
runTest("compiler/testData/diagnostics/tests/annotations/initializerWithNestedAnnotation.kt");
}
@Test
@TestMetadata("initializerWithNestedAnnotationInLocalClass.kt")
public void testInitializerWithNestedAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/initializerWithNestedAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("invalidTypesInAnnotationConstructor.kt")
public void testInvalidTypesInAnnotationConstructor() throws Exception {
@@ -2052,6 +2070,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
runTest("compiler/testData/diagnostics/tests/annotations/nestedAliasWithNestedAnnotation.kt");
}
@Test
@TestMetadata("nestedAliasWithNestedAnnotationInLocalClass.kt")
public void testNestedAliasWithNestedAnnotationInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/nestedAliasWithNestedAnnotationInLocalClass.kt");
}
@Test
@TestMetadata("nestedClassAsAnnotationParameter.kt")
public void testNestedClassAsAnnotationParameter() throws Exception {
@@ -2226,6 +2250,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
runTest("compiler/testData/diagnostics/tests/annotations/typeParameterAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAnnotationsInLocalClass.kt")
public void testTypeParameterAnnotationsInLocalClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/typeParameterAnnotationsInLocalClass.kt");
}
@Test
@TestMetadata("typeParameterAsAnnotation.kt")
public void testTypeParameterAsAnnotation() throws Exception {