[LL FIR] rename testdata to testData to avoid copyright generation

We exclude testData pattern from copyright scope
This commit is contained in:
Dmitrii Gridin
2023-09-18 19:33:14 +02:00
committed by Space Team
parent aef5290210
commit 33e6a85a2d
1953 changed files with 2000 additions and 2000 deletions
@@ -0,0 +1,4 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtEnumEntry
enum class FooBar {
Baz;
}
@@ -0,0 +1,8 @@
KT element: KtEnumEntry
KT element text:
Baz;
FIR element: FirEnumEntryImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
public final static [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=FooBar] enum entry Baz: R|FooBar|
@@ -0,0 +1,4 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtNamedFunction
class FooBar {
fun <T> functionWithTAndAnyValue(otherVal: T & Any) {}
}
@@ -0,0 +1,8 @@
KT element: KtNamedFunction
KT element text:
public final fun <T> functionWithTAndAnyValue(otherVal: T & Any): kotlin.Unit { /* compiled code */ }
FIR element: FirSimpleFunctionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
public final [ResolvedTo(BODY_RESOLVE)] fun <[ResolvedTo(BODY_RESOLVE)] T> functionWithTAndAnyValue([ResolvedTo(BODY_RESOLVE)] otherVal: R|T & Any|): R|kotlin/Unit|
@@ -0,0 +1,2 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtParameter
fun doSmth(p: String) {}
@@ -0,0 +1,8 @@
KT element: KtParameter
KT element text:
p: kotlin.String
FIR element: FirValueParameterImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
[ResolvedTo(BODY_RESOLVE)] p: R|kotlin/String|
@@ -0,0 +1,3 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtClass
@PublishedApi
internal class Foo
@@ -0,0 +1,12 @@
KT element: KtClass
KT element text:
@kotlin.PublishedApi internal final class Foo public constructor() {
}
FIR element: FirRegularClassImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|kotlin/PublishedApi|() internal final [ResolvedTo(BODY_RESOLVE)] [LazyPublishedApiEffectiveVisibilityKey=public] class Foo : R|kotlin/Any| {
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Foo] constructor(): R|Foo|
}
@@ -0,0 +1,5 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtConstructor
@PublishedApi
internal class Foo {
@PublishedApi internal constructor() {}
}
@@ -0,0 +1,8 @@
KT element: KtSecondaryConstructor
KT element text:
@kotlin.PublishedApi internal constructor() { /* compiled code */ }
FIR element: FirConstructorImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|kotlin/PublishedApi|() internal [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Foo, LazyPublishedApiEffectiveVisibilityKey=public] constructor(): R|Foo|
@@ -0,0 +1,3 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtFunction
@PublishedApi
internal fun published() = "OK"
@@ -0,0 +1,8 @@
KT element: KtNamedFunction
KT element text:
@kotlin.PublishedApi internal fun published(): kotlin.String { /* compiled code */ }
FIR element: FirSimpleFunctionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|kotlin/PublishedApi|() internal final [ResolvedTo(BODY_RESOLVE)] [LazyPublishedApiEffectiveVisibilityKey=public] fun published(): R|kotlin/String|
@@ -0,0 +1,4 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtPrimaryConstructor
@PublishedApi
internal class Foo @PublishedApi internal constructor(val foo: String) {
}
@@ -0,0 +1,8 @@
KT element: KtPrimaryConstructor
KT element text:
@kotlin.PublishedApi internal constructor(foo: kotlin.String)
FIR element: FirPrimaryConstructor
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|kotlin/PublishedApi|() internal [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=Foo, LazyPublishedApiEffectiveVisibilityKey=public] constructor([ResolvedTo(BODY_RESOLVE)] foo: R|kotlin/String|): R|Foo|
@@ -0,0 +1,3 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtProperty
@PublishedApi
internal val published = "OK"
@@ -0,0 +1,8 @@
KT element: KtProperty
KT element text:
@kotlin.PublishedApi internal val published: kotlin.String /* compiled code */
FIR element: FirPropertyImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|kotlin/PublishedApi|() internal final [ResolvedTo(BODY_RESOLVE)] [LazyPublishedApiEffectiveVisibilityKey=public] val published: R|kotlin/String|
@@ -0,0 +1,3 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtPropertyAccessor
@PublishedApi
internal val published get() = "OK"
@@ -0,0 +1,8 @@
KT element: KtPropertyAccessor
KT element text:
internal final get
FIR element: FirPropertyAccessorImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
internal [ResolvedTo(BODY_RESOLVE)] [LazyPublishedApiEffectiveVisibilityKey=public] get(): R|kotlin/String|
@@ -0,0 +1,4 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtPropertyAccessor
@PublishedApi
internal var published = "OK"
set(value) {}
@@ -0,0 +1,8 @@
KT element: KtPropertyAccessor
KT element text:
internal final set(value: kotlin.String) {/* compiled code */ }
FIR element: FirPropertyAccessorImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
internal [ResolvedTo(BODY_RESOLVE)] [LazyPublishedApiEffectiveVisibilityKey=public] set([ResolvedTo(BODY_RESOLVE)] value: R|kotlin/String|): R|kotlin/Unit|
@@ -0,0 +1,10 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtConstructor
class FooBar {
val p: String
constructor(p: String) {
this.p = p
}
fun doSmth() {}
}
@@ -0,0 +1,8 @@
KT element: KtSecondaryConstructor
KT element text:
public constructor(p: kotlin.String) { /* compiled code */ }
FIR element: FirConstructorImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=FooBar] constructor([ResolvedTo(BODY_RESOLVE)] p: R|kotlin/String|): R|FooBar|
@@ -0,0 +1,4 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtClass
class FooBar {
fun doSmth() {}
}
@@ -0,0 +1,15 @@
KT element: KtClass
KT element text:
public final class FooBar public constructor() {
public final fun doSmth(): kotlin.Unit { /* compiled code */ }
}
FIR element: FirRegularClassImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
public final [ResolvedTo(BODY_RESOLVE)] class FooBar : R|kotlin/Any| {
public final [ResolvedTo(BODY_RESOLVE)] fun doSmth(): R|kotlin/Unit|
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=FooBar] constructor(): R|FooBar|
}
@@ -0,0 +1,4 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtConstructor
class FooBar(val p: String) {
fun doSmth() {}
}
@@ -0,0 +1,8 @@
KT element: KtPrimaryConstructor
KT element text:
public constructor(p: kotlin.String)
FIR element: FirPrimaryConstructor
FIR source kind: KtRealSourceElementKind
FIR element rendered:
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=FooBar] constructor([ResolvedTo(BODY_RESOLVE)] p: R|kotlin/String|): R|FooBar|
@@ -0,0 +1,4 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtNamedFunction
object FooBar {
fun doSmth() {}
}
@@ -0,0 +1,8 @@
KT element: KtNamedFunction
KT element text:
public final fun doSmth(): kotlin.Unit { /* compiled code */ }
FIR element: FirSimpleFunctionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
public final [ResolvedTo(BODY_RESOLVE)] fun doSmth(): R|kotlin/Unit|
@@ -0,0 +1,10 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtProperty
class FooBar {
val p: String
constructor(p: String) {
this.p = p
}
fun doSmth() {}
}
@@ -0,0 +1,8 @@
KT element: KtProperty
KT element text:
public final val p: kotlin.String /* compiled code */
FIR element: FirPropertyImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
public final [ResolvedTo(BODY_RESOLVE)] val p: R|kotlin/String|
@@ -0,0 +1,2 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtNamedFunction
fun doSmth() {}
@@ -0,0 +1,8 @@
KT element: KtNamedFunction
KT element text:
public fun doSmth(): kotlin.Unit { /* compiled code */ }
FIR element: FirSimpleFunctionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
public final [ResolvedTo(BODY_RESOLVE)] fun doSmth(): R|kotlin/Unit|
@@ -0,0 +1,4 @@
// DECLARATION_TYPE: org.jetbrains.kotlin.psi.KtTypeParameter
class FooBar<T> {
fun doSmth(t: T) {}
}
@@ -0,0 +1,8 @@
KT element: KtTypeParameter
KT element text:
T
FIR element: FirTypeParameterImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
[ResolvedTo(BODY_RESOLVE)] T