diff --git a/analysis/low-level-api-fir/testdata/fileStructure/withoutName.kt b/analysis/low-level-api-fir/testdata/fileStructure/withoutName.kt new file mode 100644 index 00000000000..7d2bfc6bfa4 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/fileStructure/withoutName.kt @@ -0,0 +1,29 @@ +fun (a: Int = 1): String = "str"/* NonReanalyzableNonClassDeclarationStructureElement */ + +fun () {/* NonReanalyzableNonClassDeclarationStructureElement */ + +} + +val : Int = 4/* NonReanalyzableNonClassDeclarationStructureElement */ + +var : Int/* NonReanalyzableNonClassDeclarationStructureElement */ + get() = 4 + set(value) { + + } + +class A {/* NonReanalyzableClassDeclarationStructureElement */ + fun (a: Int = 1): String = "str"/* NonReanalyzableNonClassDeclarationStructureElement */ + + fun () {/* NonReanalyzableNonClassDeclarationStructureElement */ + + } + + val : Int = 4/* NonReanalyzableNonClassDeclarationStructureElement */ + + var : Boolean/* NonReanalyzableNonClassDeclarationStructureElement */ + get() = true + set(value) { + + } +} diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithBodyWithoutTypeWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithBodyWithoutTypeWithoutName.kt new file mode 100644 index 00000000000..8a17d89d375 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithBodyWithoutTypeWithoutName.kt @@ -0,0 +1,7 @@ +class A { + fun () { + val a = doSmth("str") + } +} + +fun doSmth(i: String) = 4 \ No newline at end of file diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithBodyWithoutTypeWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithBodyWithoutTypeWithoutName.txt new file mode 100644 index 00000000000..ace1111236c --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithBodyWithoutTypeWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtNamedFunction DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithTypeWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithTypeWithoutName.kt new file mode 100644 index 00000000000..9502ef9ea81 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithTypeWithoutName.kt @@ -0,0 +1,5 @@ +class A { + fun (): Int = doSmth("str") +} + +fun doSmth(i: String) = 4 \ No newline at end of file diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithTypeWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithTypeWithoutName.txt new file mode 100644 index 00000000000..ace1111236c --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithTypeWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtNamedFunction DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithoutTypeWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithoutTypeWithoutName.kt new file mode 100644 index 00000000000..c54c341693f --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithoutTypeWithoutName.kt @@ -0,0 +1,5 @@ +class A { + fun () = doSmth("str") +} + +fun doSmth(i: String) = 4 \ No newline at end of file diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithoutTypeWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithoutTypeWithoutName.txt new file mode 100644 index 00000000000..ace1111236c --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithoutTypeWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtNamedFunction DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithBodyWithContractWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithBodyWithContractWithoutName.kt new file mode 100644 index 00000000000..e39ff583c20 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithBodyWithContractWithoutName.kt @@ -0,0 +1,14 @@ +import kotlin.contracts.contract + +class A { + var : Int + get() { + contract { + req + } + + fun doSmth(i: String) = 4 + return doSmth("str") + } + set(value) = Unit +} diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithBodyWithContractWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithBodyWithContractWithoutName.txt new file mode 100644 index 00000000000..1bd196cec5a --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithBodyWithContractWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithTypeWithoutBodyWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithTypeWithoutBodyWithoutName.kt new file mode 100644 index 00000000000..8df005f1957 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithTypeWithoutBodyWithoutName.kt @@ -0,0 +1,5 @@ +class A { + val : Int get() = doSmth("str") +} + +fun doSmth(i: String) = 4 diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithTypeWithoutBodyWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithTypeWithoutBodyWithoutName.txt new file mode 100644 index 00000000000..1bd196cec5a --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithTypeWithoutBodyWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInDelegateWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInDelegateWithoutName.kt new file mode 100644 index 00000000000..6edf6dc0205 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInDelegateWithoutName.kt @@ -0,0 +1,6 @@ +class A { + val : Int by lazy { + fun doSmth(i: String) = 4 + doSmth("str") + } +} diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInDelegateWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInDelegateWithoutName.txt new file mode 100644 index 00000000000..b94e2395f70 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInDelegateWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtProperty DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInInitializerWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInInitializerWithoutName.kt new file mode 100644 index 00000000000..a7b275ea559 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInInitializerWithoutName.kt @@ -0,0 +1,6 @@ +class A { + val : Int = run { + fun doSmth(i: String) = 4 + doSmth("str") + } +} diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInInitializerWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInInitializerWithoutName.txt new file mode 100644 index 00000000000..b94e2395f70 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInInitializerWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtProperty DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithBodyWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithBodyWithoutName.kt new file mode 100644 index 00000000000..e76721eb7f0 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithBodyWithoutName.kt @@ -0,0 +1,8 @@ +class A { + var : Int = 1 + set(value) { + doSmth(value) + } +} + +fun doSmth(i: String) = 4 \ No newline at end of file diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithBodyWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithBodyWithoutName.txt new file mode 100644 index 00000000000..1bd196cec5a --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithBodyWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithoutBodyWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithoutBodyWithoutName.kt new file mode 100644 index 00000000000..1ecc8a3eb19 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithoutBodyWithoutName.kt @@ -0,0 +1,6 @@ +class A { + var : Int = 1 + set(value) = doSmth(value) +} + +fun doSmth(i: String) = 4 \ No newline at end of file diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithoutBodyWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithoutBodyWithoutName.txt new file mode 100644 index 00000000000..1bd196cec5a --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithoutBodyWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithBodyWithoutTypeWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithBodyWithoutTypeWithoutName.kt new file mode 100644 index 00000000000..97ecde4fc99 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithBodyWithoutTypeWithoutName.kt @@ -0,0 +1,5 @@ +fun () { + val a = doSmth("str") +} + +fun doSmth(i: String) = 4 \ No newline at end of file diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithBodyWithoutTypeWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithBodyWithoutTypeWithoutName.txt new file mode 100644 index 00000000000..ace1111236c --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithBodyWithoutTypeWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtNamedFunction DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithTypeWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithTypeWithoutName.kt new file mode 100644 index 00000000000..c29ece2ae49 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithTypeWithoutName.kt @@ -0,0 +1,3 @@ +fun (): Int = doSmth("str") + +fun doSmth(i: String) = 4 \ No newline at end of file diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithTypeWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithTypeWithoutName.txt new file mode 100644 index 00000000000..ace1111236c --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithTypeWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtNamedFunction DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithoutTypeWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithoutTypeWithoutName.kt new file mode 100644 index 00000000000..5743c743d33 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithoutTypeWithoutName.kt @@ -0,0 +1,3 @@ +fun () = doSmth("str") + +fun doSmth(i: String) = 4 \ No newline at end of file diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithoutTypeWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithoutTypeWithoutName.txt new file mode 100644 index 00000000000..ace1111236c --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithoutTypeWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtNamedFunction DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBodyWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBodyWithoutName.kt new file mode 100644 index 00000000000..fe4568150a0 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBodyWithoutName.kt @@ -0,0 +1,5 @@ + val : Int + get() { + fun doSmth(i: String) = 4 + return doSmth("str") + } diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBodyWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBodyWithoutName.txt new file mode 100644 index 00000000000..1bd196cec5a --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBodyWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithoutBodyWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithoutBodyWithoutName.kt new file mode 100644 index 00000000000..8e9eea37809 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithoutBodyWithoutName.kt @@ -0,0 +1,3 @@ +val : Int get() = doSmth("str") + +fun doSmth(i: String) = 4 \ No newline at end of file diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithoutBodyWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithoutBodyWithoutName.txt new file mode 100644 index 00000000000..1bd196cec5a --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithoutBodyWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInDelegateWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInDelegateWithoutName.kt new file mode 100644 index 00000000000..e0155da139e --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInDelegateWithoutName.kt @@ -0,0 +1,4 @@ +val : Int by lazy { + fun doSmth(i: String) = 4 + doSmth("str") +} diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInDelegateWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInDelegateWithoutName.txt new file mode 100644 index 00000000000..b94e2395f70 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInDelegateWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtProperty DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInInititalzerWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInInititalzerWithoutName.kt new file mode 100644 index 00000000000..3adf9cd6129 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInInititalzerWithoutName.kt @@ -0,0 +1,3 @@ +val : Int = doSmth("str") + +fun doSmth(i: String) = 4 diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInInititalzerWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInInititalzerWithoutName.txt new file mode 100644 index 00000000000..b94e2395f70 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInInititalzerWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtProperty DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBodyWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBodyWithoutName.kt new file mode 100644 index 00000000000..cae81fbf07c --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBodyWithoutName.kt @@ -0,0 +1,6 @@ +var : Int = 1 + set(value) { + doSmth(value) + } + +fun doSmth(i: String): Unit = 4 \ No newline at end of file diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBodyWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBodyWithoutName.txt new file mode 100644 index 00000000000..1bd196cec5a --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBodyWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithoutBodyWithoutName.kt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithoutBodyWithoutName.kt new file mode 100644 index 00000000000..796f3db6b66 --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithoutBodyWithoutName.kt @@ -0,0 +1,4 @@ +var : Int = 1 + set(value) = doSmth(value) + +fun doSmth(i: String): Unit = 4 \ No newline at end of file diff --git a/analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithoutBodyWithoutName.txt b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithoutBodyWithoutName.txt new file mode 100644 index 00000000000..1bd196cec5a --- /dev/null +++ b/analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithoutBodyWithoutName.txt @@ -0,0 +1 @@ +IN-BLOCK MODIFICATION IS NOT APPLICABLE FOR THIS KtPropertyAccessor DECLARATION diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/FirOutOfContentRootContextCollectionTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/FirOutOfContentRootContextCollectionTestGenerated.java index 369cc2b2d7a..cafd87ebc51 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/FirOutOfContentRootContextCollectionTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/FirOutOfContentRootContextCollectionTestGenerated.java @@ -155,4 +155,10 @@ public class FirOutOfContentRootContextCollectionTestGenerated extends AbstractF public void testTypeAlias() throws Exception { runTest("analysis/low-level-api-fir/testdata/fileStructure/typeAlias.kt"); } + + @Test + @TestMetadata("withoutName.kt") + public void testWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/fileStructure/withoutName.kt"); + } } diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/FirSourceContextCollectionTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/FirSourceContextCollectionTestGenerated.java index 213ba852859..d65e5d0e535 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/FirSourceContextCollectionTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/FirSourceContextCollectionTestGenerated.java @@ -155,4 +155,10 @@ public class FirSourceContextCollectionTestGenerated extends AbstractFirSourceCo public void testTypeAlias() throws Exception { runTest("analysis/low-level-api-fir/testdata/fileStructure/typeAlias.kt"); } + + @Test + @TestMetadata("withoutName.kt") + public void testWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/fileStructure/withoutName.kt"); + } } diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/OutOfContentRootFileStructureTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/OutOfContentRootFileStructureTestGenerated.java index a1c70392fcd..227bb122bac 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/OutOfContentRootFileStructureTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/OutOfContentRootFileStructureTestGenerated.java @@ -155,4 +155,10 @@ public class OutOfContentRootFileStructureTestGenerated extends AbstractOutOfCon public void testTypeAlias() throws Exception { runTest("analysis/low-level-api-fir/testdata/fileStructure/typeAlias.kt"); } + + @Test + @TestMetadata("withoutName.kt") + public void testWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/fileStructure/withoutName.kt"); + } } diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/OutOfContentRootInBlockModificationTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/OutOfContentRootInBlockModificationTestGenerated.java index 39205534168..fec486eb50f 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/OutOfContentRootInBlockModificationTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/OutOfContentRootInBlockModificationTestGenerated.java @@ -72,12 +72,30 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithBodyWithoutType.kt"); } + @Test + @TestMetadata("memberFunWithBodyWithoutTypeWithoutName.kt") + public void testMemberFunWithBodyWithoutTypeWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithBodyWithoutTypeWithoutName.kt"); + } + @Test @TestMetadata("memberFunWithTypeWithoutBody.kt") public void testMemberFunWithTypeWithoutBody() throws Exception { runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithTypeWithoutBody.kt"); } + @Test + @TestMetadata("memberFunWithoutBodyWithTypeWithoutName.kt") + public void testMemberFunWithoutBodyWithTypeWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithTypeWithoutName.kt"); + } + + @Test + @TestMetadata("memberFunWithoutBodyWithoutTypeWithoutName.kt") + public void testMemberFunWithoutBodyWithoutTypeWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithoutTypeWithoutName.kt"); + } + @Test @TestMetadata("memberFunWithoutTypeWithoutBody.kt") public void testMemberFunWithoutTypeWithoutBody() throws Exception { @@ -90,6 +108,12 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithBodyWithContract.kt"); } + @Test + @TestMetadata("memberGetterWithBodyWithContractWithoutName.kt") + public void testMemberGetterWithBodyWithContractWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithBodyWithContractWithoutName.kt"); + } + @Test @TestMetadata("memberGetterWithTypeWithBody.kt") public void testMemberGetterWithTypeWithBody() throws Exception { @@ -102,6 +126,12 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithTypeWithoutBody.kt"); } + @Test + @TestMetadata("memberGetterWithTypeWithoutBodyWithoutName.kt") + public void testMemberGetterWithTypeWithoutBodyWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithTypeWithoutBodyWithoutName.kt"); + } + @Test @TestMetadata("memberGetterWithoutTypeWithBody.kt") public void testMemberGetterWithoutTypeWithBody() throws Exception { @@ -120,6 +150,12 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInDelegate.kt"); } + @Test + @TestMetadata("memberPropertyWithTypeInDelegateWithoutName.kt") + public void testMemberPropertyWithTypeInDelegateWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInDelegateWithoutName.kt"); + } + @Test @TestMetadata("memberPropertyWithTypeInErrorDelegate.kt") public void testMemberPropertyWithTypeInErrorDelegate() throws Exception { @@ -132,6 +168,12 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInInitializer.kt"); } + @Test + @TestMetadata("memberPropertyWithTypeInInitializerWithoutName.kt") + public void testMemberPropertyWithTypeInInitializerWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInInitializerWithoutName.kt"); + } + @Test @TestMetadata("memberPropertyWithoutTypeInDelegate.kt") public void testMemberPropertyWithoutTypeInDelegate() throws Exception { @@ -156,12 +198,24 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithBody.kt"); } + @Test + @TestMetadata("memberSetterWithTypeWithBodyWithoutName.kt") + public void testMemberSetterWithTypeWithBodyWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithBodyWithoutName.kt"); + } + @Test @TestMetadata("memberSetterWithTypeWithoutBody.kt") public void testMemberSetterWithTypeWithoutBody() throws Exception { runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithoutBody.kt"); } + @Test + @TestMetadata("memberSetterWithTypeWithoutBodyWithoutName.kt") + public void testMemberSetterWithTypeWithoutBodyWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithoutBodyWithoutName.kt"); + } + @Test @TestMetadata("memberSetterWithoutTypeWithBody.kt") public void testMemberSetterWithoutTypeWithBody() throws Exception { @@ -180,6 +234,12 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu runTest("analysis/low-level-api-fir/testdata/inBlockModification/rawContract.kt"); } + @Test + @TestMetadata("topLevelFunctionWithBodyWithoutTypeWithoutName.kt") + public void testTopLevelFunctionWithBodyWithoutTypeWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithBodyWithoutTypeWithoutName.kt"); + } + @Test @TestMetadata("topLevelFunctionWithTypeWithBody.kt") public void testTopLevelFunctionWithTypeWithBody() throws Exception { @@ -192,6 +252,18 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithTypeWithoutBody.kt"); } + @Test + @TestMetadata("topLevelFunctionWithoutBodyWithTypeWithoutName.kt") + public void testTopLevelFunctionWithoutBodyWithTypeWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithTypeWithoutName.kt"); + } + + @Test + @TestMetadata("topLevelFunctionWithoutBodyWithoutTypeWithoutName.kt") + public void testTopLevelFunctionWithoutBodyWithoutTypeWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithoutTypeWithoutName.kt"); + } + @Test @TestMetadata("topLevelFunctionWithoutTypeWithBody.kt") public void testTopLevelFunctionWithoutTypeWithBody() throws Exception { @@ -210,12 +282,24 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBody.kt"); } + @Test + @TestMetadata("topLevelGetterWithTypeWithBodyWithoutName.kt") + public void testTopLevelGetterWithTypeWithBodyWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBodyWithoutName.kt"); + } + @Test @TestMetadata("topLevelGetterWithTypeWithoutBody.kt") public void testTopLevelGetterWithTypeWithoutBody() throws Exception { runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithoutBody.kt"); } + @Test + @TestMetadata("topLevelGetterWithTypeWithoutBodyWithoutName.kt") + public void testTopLevelGetterWithTypeWithoutBodyWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithoutBodyWithoutName.kt"); + } + @Test @TestMetadata("topLevelGetterWithoutTypeWithBody.kt") public void testTopLevelGetterWithoutTypeWithBody() throws Exception { @@ -234,6 +318,12 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInDelegate.kt"); } + @Test + @TestMetadata("topLevelPropertyWithTypeInDelegateWithoutName.kt") + public void testTopLevelPropertyWithTypeInDelegateWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInDelegateWithoutName.kt"); + } + @Test @TestMetadata("topLevelPropertyWithTypeInErrorDelegate.kt") public void testTopLevelPropertyWithTypeInErrorDelegate() throws Exception { @@ -246,6 +336,12 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInInititalzer.kt"); } + @Test + @TestMetadata("topLevelPropertyWithTypeInInititalzerWithoutName.kt") + public void testTopLevelPropertyWithTypeInInititalzerWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInInititalzerWithoutName.kt"); + } + @Test @TestMetadata("topLevelPropertyWithoutTypeInDelegate.kt") public void testTopLevelPropertyWithoutTypeInDelegate() throws Exception { @@ -270,12 +366,24 @@ public class OutOfContentRootInBlockModificationTestGenerated extends AbstractOu runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBody.kt"); } + @Test + @TestMetadata("topLevelSetterWithTypeWithBodyWithoutName.kt") + public void testTopLevelSetterWithTypeWithBodyWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBodyWithoutName.kt"); + } + @Test @TestMetadata("topLevelSetterWithTypeWithoutBody.kt") public void testTopLevelSetterWithTypeWithoutBody() throws Exception { runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithoutBody.kt"); } + @Test + @TestMetadata("topLevelSetterWithTypeWithoutBodyWithoutName.kt") + public void testTopLevelSetterWithTypeWithoutBodyWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithoutBodyWithoutName.kt"); + } + @Test @TestMetadata("topLevelSetterWithoutTypeWithBody.kt") public void testTopLevelSetterWithoutTypeWithBody() throws Exception { diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/SourceFileStructureTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/SourceFileStructureTestGenerated.java index 7d1ef64c6b9..9f15c023ef2 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/SourceFileStructureTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/SourceFileStructureTestGenerated.java @@ -155,4 +155,10 @@ public class SourceFileStructureTestGenerated extends AbstractSourceFileStructur public void testTypeAlias() throws Exception { runTest("analysis/low-level-api-fir/testdata/fileStructure/typeAlias.kt"); } + + @Test + @TestMetadata("withoutName.kt") + public void testWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/fileStructure/withoutName.kt"); + } } diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/SourceInBlockModificationTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/SourceInBlockModificationTestGenerated.java index 0e2abd6fdcd..ba494a07eb9 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/SourceInBlockModificationTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/file/structure/SourceInBlockModificationTestGenerated.java @@ -72,12 +72,30 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithBodyWithoutType.kt"); } + @Test + @TestMetadata("memberFunWithBodyWithoutTypeWithoutName.kt") + public void testMemberFunWithBodyWithoutTypeWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithBodyWithoutTypeWithoutName.kt"); + } + @Test @TestMetadata("memberFunWithTypeWithoutBody.kt") public void testMemberFunWithTypeWithoutBody() throws Exception { runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithTypeWithoutBody.kt"); } + @Test + @TestMetadata("memberFunWithoutBodyWithTypeWithoutName.kt") + public void testMemberFunWithoutBodyWithTypeWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithTypeWithoutName.kt"); + } + + @Test + @TestMetadata("memberFunWithoutBodyWithoutTypeWithoutName.kt") + public void testMemberFunWithoutBodyWithoutTypeWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberFunWithoutBodyWithoutTypeWithoutName.kt"); + } + @Test @TestMetadata("memberFunWithoutTypeWithoutBody.kt") public void testMemberFunWithoutTypeWithoutBody() throws Exception { @@ -90,6 +108,12 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithBodyWithContract.kt"); } + @Test + @TestMetadata("memberGetterWithBodyWithContractWithoutName.kt") + public void testMemberGetterWithBodyWithContractWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithBodyWithContractWithoutName.kt"); + } + @Test @TestMetadata("memberGetterWithTypeWithBody.kt") public void testMemberGetterWithTypeWithBody() throws Exception { @@ -102,6 +126,12 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithTypeWithoutBody.kt"); } + @Test + @TestMetadata("memberGetterWithTypeWithoutBodyWithoutName.kt") + public void testMemberGetterWithTypeWithoutBodyWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberGetterWithTypeWithoutBodyWithoutName.kt"); + } + @Test @TestMetadata("memberGetterWithoutTypeWithBody.kt") public void testMemberGetterWithoutTypeWithBody() throws Exception { @@ -120,6 +150,12 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInDelegate.kt"); } + @Test + @TestMetadata("memberPropertyWithTypeInDelegateWithoutName.kt") + public void testMemberPropertyWithTypeInDelegateWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInDelegateWithoutName.kt"); + } + @Test @TestMetadata("memberPropertyWithTypeInErrorDelegate.kt") public void testMemberPropertyWithTypeInErrorDelegate() throws Exception { @@ -132,6 +168,12 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInInitializer.kt"); } + @Test + @TestMetadata("memberPropertyWithTypeInInitializerWithoutName.kt") + public void testMemberPropertyWithTypeInInitializerWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberPropertyWithTypeInInitializerWithoutName.kt"); + } + @Test @TestMetadata("memberPropertyWithoutTypeInDelegate.kt") public void testMemberPropertyWithoutTypeInDelegate() throws Exception { @@ -156,12 +198,24 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithBody.kt"); } + @Test + @TestMetadata("memberSetterWithTypeWithBodyWithoutName.kt") + public void testMemberSetterWithTypeWithBodyWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithBodyWithoutName.kt"); + } + @Test @TestMetadata("memberSetterWithTypeWithoutBody.kt") public void testMemberSetterWithTypeWithoutBody() throws Exception { runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithoutBody.kt"); } + @Test + @TestMetadata("memberSetterWithTypeWithoutBodyWithoutName.kt") + public void testMemberSetterWithTypeWithoutBodyWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/memberSetterWithTypeWithoutBodyWithoutName.kt"); + } + @Test @TestMetadata("memberSetterWithoutTypeWithBody.kt") public void testMemberSetterWithoutTypeWithBody() throws Exception { @@ -180,6 +234,12 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc runTest("analysis/low-level-api-fir/testdata/inBlockModification/rawContract.kt"); } + @Test + @TestMetadata("topLevelFunctionWithBodyWithoutTypeWithoutName.kt") + public void testTopLevelFunctionWithBodyWithoutTypeWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithBodyWithoutTypeWithoutName.kt"); + } + @Test @TestMetadata("topLevelFunctionWithTypeWithBody.kt") public void testTopLevelFunctionWithTypeWithBody() throws Exception { @@ -192,6 +252,18 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithTypeWithoutBody.kt"); } + @Test + @TestMetadata("topLevelFunctionWithoutBodyWithTypeWithoutName.kt") + public void testTopLevelFunctionWithoutBodyWithTypeWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithTypeWithoutName.kt"); + } + + @Test + @TestMetadata("topLevelFunctionWithoutBodyWithoutTypeWithoutName.kt") + public void testTopLevelFunctionWithoutBodyWithoutTypeWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelFunctionWithoutBodyWithoutTypeWithoutName.kt"); + } + @Test @TestMetadata("topLevelFunctionWithoutTypeWithBody.kt") public void testTopLevelFunctionWithoutTypeWithBody() throws Exception { @@ -210,12 +282,24 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBody.kt"); } + @Test + @TestMetadata("topLevelGetterWithTypeWithBodyWithoutName.kt") + public void testTopLevelGetterWithTypeWithBodyWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithBodyWithoutName.kt"); + } + @Test @TestMetadata("topLevelGetterWithTypeWithoutBody.kt") public void testTopLevelGetterWithTypeWithoutBody() throws Exception { runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithoutBody.kt"); } + @Test + @TestMetadata("topLevelGetterWithTypeWithoutBodyWithoutName.kt") + public void testTopLevelGetterWithTypeWithoutBodyWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelGetterWithTypeWithoutBodyWithoutName.kt"); + } + @Test @TestMetadata("topLevelGetterWithoutTypeWithBody.kt") public void testTopLevelGetterWithoutTypeWithBody() throws Exception { @@ -234,6 +318,12 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInDelegate.kt"); } + @Test + @TestMetadata("topLevelPropertyWithTypeInDelegateWithoutName.kt") + public void testTopLevelPropertyWithTypeInDelegateWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInDelegateWithoutName.kt"); + } + @Test @TestMetadata("topLevelPropertyWithTypeInErrorDelegate.kt") public void testTopLevelPropertyWithTypeInErrorDelegate() throws Exception { @@ -246,6 +336,12 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInInititalzer.kt"); } + @Test + @TestMetadata("topLevelPropertyWithTypeInInititalzerWithoutName.kt") + public void testTopLevelPropertyWithTypeInInititalzerWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelPropertyWithTypeInInititalzerWithoutName.kt"); + } + @Test @TestMetadata("topLevelPropertyWithoutTypeInDelegate.kt") public void testTopLevelPropertyWithoutTypeInDelegate() throws Exception { @@ -270,12 +366,24 @@ public class SourceInBlockModificationTestGenerated extends AbstractSourceInBloc runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBody.kt"); } + @Test + @TestMetadata("topLevelSetterWithTypeWithBodyWithoutName.kt") + public void testTopLevelSetterWithTypeWithBodyWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithBodyWithoutName.kt"); + } + @Test @TestMetadata("topLevelSetterWithTypeWithoutBody.kt") public void testTopLevelSetterWithTypeWithoutBody() throws Exception { runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithoutBody.kt"); } + @Test + @TestMetadata("topLevelSetterWithTypeWithoutBodyWithoutName.kt") + public void testTopLevelSetterWithTypeWithoutBodyWithoutName() throws Exception { + runTest("analysis/low-level-api-fir/testdata/inBlockModification/topLevelSetterWithTypeWithoutBodyWithoutName.kt"); + } + @Test @TestMetadata("topLevelSetterWithoutTypeWithBody.kt") public void testTopLevelSetterWithoutTypeWithBody() throws Exception {