[LL FIR] add getOrBuildFir for KtAnnotation
^KT-65780
This commit is contained in:
committed by
Space Team
parent
16878ca20d
commit
62ec189924
+4
@@ -0,0 +1,4 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: KtAnnotation
|
||||
// WITH_STDLIB
|
||||
|
||||
<expr>@file:[Suppress("")]</expr>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
KT element: KtAnnotation
|
||||
FIR element: null
|
||||
FIR source kind: null
|
||||
|
||||
FIR element rendered:
|
||||
null
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] fileAnnotation.kt
|
||||
@FILE:R|kotlin/Suppress|[Types](names = vararg(String()))
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: KtAnnotation
|
||||
// WITH_STDLIB
|
||||
|
||||
<expr>@file:[Suppress("")]</expr>
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
KT element: KtAnnotation
|
||||
FIR element: null
|
||||
FIR source kind: null
|
||||
|
||||
FIR element rendered:
|
||||
null
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(BODY_RESOLVE)] fileAnnotationScript.kts
|
||||
@FILE:R|kotlin/Suppress|[Types](names = vararg(String()))
|
||||
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
|
||||
SCRIPT: [ResolvedTo(RAW_FIR)] <script-fileAnnotationScript.kts>
|
||||
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
+6
@@ -1305,6 +1305,12 @@ public class OutOfContentRootGetOrBuildFirTestGenerated extends AbstractOutOfCon
|
||||
runTest("analysis/low-level-api-fir/testData/getOrBuildFir/wholeDeclaration/externalJavaAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fileAnnotation.kt")
|
||||
public void testFileAnnotation() {
|
||||
runTest("analysis/low-level-api-fir/testData/getOrBuildFir/wholeDeclaration/fileAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fileAnnotationList.kt")
|
||||
public void testFileAnnotationList() {
|
||||
|
||||
+6
@@ -843,6 +843,12 @@ public class ScriptGetOrBuildFirTestGenerated extends AbstractScriptGetOrBuildFi
|
||||
runTest("analysis/low-level-api-fir/testData/getOrBuildFir/wholeDeclaration/fileAnnotationListScript.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fileAnnotationScript.kts")
|
||||
public void testFileAnnotationScript() {
|
||||
runTest("analysis/low-level-api-fir/testData/getOrBuildFir/wholeDeclaration/fileAnnotationScript.kts");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("function.kts")
|
||||
public void testFunction() {
|
||||
|
||||
+6
@@ -1305,6 +1305,12 @@ public class SourceGetOrBuildFirTestGenerated extends AbstractSourceGetOrBuildFi
|
||||
runTest("analysis/low-level-api-fir/testData/getOrBuildFir/wholeDeclaration/externalJavaAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fileAnnotation.kt")
|
||||
public void testFileAnnotation() {
|
||||
runTest("analysis/low-level-api-fir/testData/getOrBuildFir/wholeDeclaration/fileAnnotation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fileAnnotationList.kt")
|
||||
public void testFileAnnotationList() {
|
||||
|
||||
Reference in New Issue
Block a user