[LL FIR] add more tests on getOrBuildFirFor
^KT-59266
This commit is contained in:
committed by
Space Team
parent
aad99fd6eb
commit
b9e24e9b19
+8
@@ -0,0 +1,8 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtStringTemplateExpression
|
||||
|
||||
class ResolveMe(
|
||||
addCommaWarning: @Anno(<expr>"abc"</expr>) Boolean = false
|
||||
)
|
||||
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class Anno(val s: String)
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
KT element: KtStringTemplateExpression
|
||||
FIR element: FirConstExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
String(abc)
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnConstructorParameterExpression.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(STATUS)] class ResolveMe : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] constructor([ResolvedTo(BODY_RESOLVE)] addCommaWarning: R|@R|Anno|(s = String(abc)) kotlin/Boolean| = Boolean(false)): R|ResolveMe| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] constructor([ResolvedTo(STATUS)] s: R|kotlin/String|): R|Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] val s: R|kotlin/String| = R|<local>/s|
|
||||
public [ResolvedTo(STATUS)] get(): R|kotlin/String|
|
||||
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtAnnotationEntry
|
||||
|
||||
fun <expr>@Anno("ab")</expr> Int.check() = 1
|
||||
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class Anno(val s: String)
|
||||
analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReceiverFunction.txt
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
KT element: KtAnnotationEntry
|
||||
FIR element: FirAnnotationCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
@R|Anno|[Types](s = String(ab))
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnReceiverFunction.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun R|@R|Anno|(s = String(ab)) kotlin/Int|.check(): R|kotlin/Int| {
|
||||
^check Int(1)
|
||||
}
|
||||
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] constructor([ResolvedTo(STATUS)] s: R|kotlin/String|): R|Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] val s: R|kotlin/String| = R|<local>/s|
|
||||
public [ResolvedTo(STATUS)] get(): R|kotlin/String|
|
||||
|
||||
}
|
||||
analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReceiverParameter.kt
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtAnnotationEntry
|
||||
|
||||
fun <expr>@receiver:Anno("ab")</expr> Int.check() = 1
|
||||
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class Anno(val s: String)
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
KT element: KtAnnotationEntry
|
||||
FIR element: FirAnnotationCallImpl
|
||||
FIR source kind: FromUseSiteTarget
|
||||
|
||||
FIR element rendered:
|
||||
@RECEIVER:R|Anno|[Types](s = String(ab))
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnReceiverParameter.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun @RECEIVER:R|Anno|[Types](s = String(ab)) R|kotlin/Int|.check(): R|kotlin/Int| {
|
||||
^check Int(1)
|
||||
}
|
||||
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] constructor([ResolvedTo(STATUS)] s: R|kotlin/String|): R|Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] val s: R|kotlin/String| = R|<local>/s|
|
||||
public [ResolvedTo(STATUS)] get(): R|kotlin/String|
|
||||
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtAnnotationEntry
|
||||
|
||||
val <expr>@Anno("a")</expr> Int.i: String get() = ""
|
||||
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class Anno(val s: String)
|
||||
analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReceiverProperty.txt
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
KT element: KtAnnotationEntry
|
||||
FIR element: FirAnnotationCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
@R|Anno|[Types](s = String(a))
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnReceiverProperty.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val R|@R|Anno|(s = String(a)) kotlin/Int|.i: R|kotlin/String|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/String| {
|
||||
^ String()
|
||||
}
|
||||
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] constructor([ResolvedTo(STATUS)] s: R|kotlin/String|): R|Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] val s: R|kotlin/String| = R|<local>/s|
|
||||
public [ResolvedTo(STATUS)] get(): R|kotlin/String|
|
||||
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtTypeReference
|
||||
|
||||
val @<expr>Anno</expr>("a") Int.i: String get() = ""
|
||||
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class Anno(val s: String)
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
KT element: KtTypeReference
|
||||
FIR element: FirResolvedTypeRefImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|Anno|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnReceiverPropertyCall.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val R|@R|Anno|(s = String(a)) kotlin/Int|.i: R|kotlin/String|
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/String| {
|
||||
^ String()
|
||||
}
|
||||
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] constructor([ResolvedTo(STATUS)] s: R|kotlin/String|): R|Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] val s: R|kotlin/String| = R|<local>/s|
|
||||
public [ResolvedTo(STATUS)] get(): R|kotlin/String|
|
||||
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtAnnotationEntry
|
||||
|
||||
fun check(): <expr>@Anno("ab")</expr> Int = 1
|
||||
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class Anno(val s: String)
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
KT element: KtAnnotationEntry
|
||||
FIR element: FirAnnotationCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
@R|Anno|[Types](s = String(ab))
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnReturnFunction.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun check(): R|@R|Anno|(s = String(ab)) kotlin/Int| {
|
||||
^check Int(1)
|
||||
}
|
||||
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] constructor([ResolvedTo(STATUS)] s: R|kotlin/String|): R|Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] val s: R|kotlin/String| = R|<local>/s|
|
||||
public [ResolvedTo(STATUS)] get(): R|kotlin/String|
|
||||
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtAnnotationEntry
|
||||
|
||||
val i: <expr>@Anno("ab")</expr> Int = 1
|
||||
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class Anno(val s: String)
|
||||
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
KT element: KtAnnotationEntry
|
||||
FIR element: FirAnnotationCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
@R|Anno|[Types](s = String(ab))
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnReturnProperty.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val i: R|@R|Anno|(s = String(ab)) kotlin/Int| = Int(1)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|@R|Anno|(s = String(ab)) kotlin/Int|
|
||||
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] constructor([ResolvedTo(STATUS)] s: R|kotlin/String|): R|Anno| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(STATUS)] val s: R|kotlin/String| = R|<local>/s|
|
||||
public [ResolvedTo(STATUS)] get(): R|kotlin/String|
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
open class Foo {
|
||||
class Nested
|
||||
}
|
||||
|
||||
class Bar : Foo() {
|
||||
fun create(): <expr>Nested</expr> {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
KT element: KtTypeReference
|
||||
FIR element: FirResolvedTypeRefImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|Foo.Nested|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] nestedClassType.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public open [ResolvedTo(STATUS)] class Foo : R|kotlin/Any| {
|
||||
public [ResolvedTo(STATUS)] constructor(): R|Foo| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public? final? [ResolvedTo(RAW_FIR)] class Nested : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] constructor(): R|Foo.Nested| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public final [ResolvedTo(STATUS)] class Bar : R|Foo| {
|
||||
public [ResolvedTo(STATUS)] constructor(): R|Bar| {
|
||||
LAZY_super<R|Foo|>
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun create(): R|Foo.Nested| {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: org.jetbrains.kotlin.psi.KtNameReferenceExpression
|
||||
fun <@A T> <expr>T</expr>.test() {}
|
||||
|
||||
@Target(AnnotationTarget.TYPE_PARAMETER) annotation class A
|
||||
@@ -0,0 +1,18 @@
|
||||
KT element: KtNameReferenceExpression
|
||||
FIR element: FirResolvedTypeRefImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|T|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] receiverType.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun <@R|A|[Types]() [ResolvedTo(BODY_RESOLVE)] T> R|T|.test(): R|kotlin/Unit| {
|
||||
}
|
||||
@R|kotlin/annotation/Target|[Types](Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|) public final [ResolvedTo(STATUS)] annotation class A : R|kotlin/Annotation| {
|
||||
public [ResolvedTo(STATUS)] constructor(): R|A| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun <T : <expr>Number</expr>> check(t: T) {
|
||||
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
KT element: KtTypeReference
|
||||
FIR element: FirResolvedTypeRefImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|kotlin/Number|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] typeParameterBound.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun <[ResolvedTo(BODY_RESOLVE)] T : R|kotlin/Number|> check([ResolvedTo(BODY_RESOLVE)] t: R|T|): R|kotlin/Unit| {
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun <T : List<List<<expr>Int</expr>>>> check(t: T) {
|
||||
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
KT element: KtTypeProjection
|
||||
FIR element: FirTypeProjectionWithVarianceImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|kotlin/Int|
|
||||
|
||||
FIR FILE:
|
||||
FILE: [ResolvedTo(IMPORTS)] typeParameterBoundNested.kt
|
||||
[ResolvedTo(BODY_RESOLVE)] annotations container
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun <[ResolvedTo(BODY_RESOLVE)] T : R|kotlin/collections/List<kotlin/collections/List<kotlin/Int>>|> check([ResolvedTo(BODY_RESOLVE)] t: R|T|): R|kotlin/Unit| {
|
||||
}
|
||||
+66
@@ -129,6 +129,12 @@ public class OutOfContentRootGetOrBuildFirTestGenerated extends AbstractOutOfCon
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnConstructorParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnConstructorParameterExpression.kt")
|
||||
public void testTypeOnAnnotationOnConstructorParameterExpression() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnConstructorParameterExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnConstructorProperty.kt")
|
||||
public void testTypeOnAnnotationOnConstructorProperty() throws Exception {
|
||||
@@ -159,6 +165,42 @@ public class OutOfContentRootGetOrBuildFirTestGenerated extends AbstractOutOfCon
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnFunctionParameterWithArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnReceiverFunction.kt")
|
||||
public void testTypeOnAnnotationOnReceiverFunction() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReceiverFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnReceiverParameter.kt")
|
||||
public void testTypeOnAnnotationOnReceiverParameter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReceiverParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnReceiverProperty.kt")
|
||||
public void testTypeOnAnnotationOnReceiverProperty() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReceiverProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnReceiverPropertyCall.kt")
|
||||
public void testTypeOnAnnotationOnReceiverPropertyCall() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReceiverPropertyCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnReturnFunction.kt")
|
||||
public void testTypeOnAnnotationOnReturnFunction() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReturnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnReturnProperty.kt")
|
||||
public void testTypeOnAnnotationOnReturnProperty() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReturnProperty.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/useSite")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -921,6 +963,12 @@ public class OutOfContentRootGetOrBuildFirTestGenerated extends AbstractOutOfCon
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/types/invalidTypeArgumentsCountLastArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClassType.kt")
|
||||
public void testNestedClassType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/types/nestedClassType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedTypeArgument.kt")
|
||||
public void testNestedTypeArgument() throws Exception {
|
||||
@@ -939,12 +987,30 @@ public class OutOfContentRootGetOrBuildFirTestGenerated extends AbstractOutOfCon
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/types/nullableTypeWithooutQuestionMark.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("receiverType.kt")
|
||||
public void testReceiverType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/types/receiverType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeArgument.kt")
|
||||
public void testTypeArgument() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/types/typeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameterBound.kt")
|
||||
public void testTypeParameterBound() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/types/typeParameterBound.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameterBoundNested.kt")
|
||||
public void testTypeParameterBoundNested() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/types/typeParameterBoundNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedTypeArgumentResolvedTypeConsturctor.kt")
|
||||
public void testUnresolvedTypeArgumentResolvedTypeConsturctor() throws Exception {
|
||||
|
||||
+66
@@ -129,6 +129,12 @@ public class SourceGetOrBuildFirTestGenerated extends AbstractSourceGetOrBuildFi
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnConstructorParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnConstructorParameterExpression.kt")
|
||||
public void testTypeOnAnnotationOnConstructorParameterExpression() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnConstructorParameterExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnConstructorProperty.kt")
|
||||
public void testTypeOnAnnotationOnConstructorProperty() throws Exception {
|
||||
@@ -159,6 +165,42 @@ public class SourceGetOrBuildFirTestGenerated extends AbstractSourceGetOrBuildFi
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnFunctionParameterWithArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnReceiverFunction.kt")
|
||||
public void testTypeOnAnnotationOnReceiverFunction() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReceiverFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnReceiverParameter.kt")
|
||||
public void testTypeOnAnnotationOnReceiverParameter() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReceiverParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnReceiverProperty.kt")
|
||||
public void testTypeOnAnnotationOnReceiverProperty() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReceiverProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnReceiverPropertyCall.kt")
|
||||
public void testTypeOnAnnotationOnReceiverPropertyCall() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReceiverPropertyCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnReturnFunction.kt")
|
||||
public void testTypeOnAnnotationOnReturnFunction() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReturnFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeOnAnnotationOnReturnProperty.kt")
|
||||
public void testTypeOnAnnotationOnReturnProperty() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/typeOnAnnotationOnReturnProperty.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("analysis/low-level-api-fir/testdata/getOrBuildFir/annotations/useSite")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@@ -921,6 +963,12 @@ public class SourceGetOrBuildFirTestGenerated extends AbstractSourceGetOrBuildFi
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/types/invalidTypeArgumentsCountLastArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClassType.kt")
|
||||
public void testNestedClassType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/types/nestedClassType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedTypeArgument.kt")
|
||||
public void testNestedTypeArgument() throws Exception {
|
||||
@@ -939,12 +987,30 @@ public class SourceGetOrBuildFirTestGenerated extends AbstractSourceGetOrBuildFi
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/types/nullableTypeWithooutQuestionMark.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("receiverType.kt")
|
||||
public void testReceiverType() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/types/receiverType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeArgument.kt")
|
||||
public void testTypeArgument() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/types/typeArgument.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameterBound.kt")
|
||||
public void testTypeParameterBound() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/types/typeParameterBound.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeParameterBoundNested.kt")
|
||||
public void testTypeParameterBoundNested() throws Exception {
|
||||
runTest("analysis/low-level-api-fir/testdata/getOrBuildFir/types/typeParameterBoundNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unresolvedTypeArgumentResolvedTypeConsturctor.kt")
|
||||
public void testUnresolvedTypeArgumentResolvedTypeConsturctor() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user