@@ -12,6 +12,7 @@ import org.jetbrains.annotations.NonNls
12
12
import org.jetbrains.kotlin.asJava.elements.KtLightAbstractAnnotation
13
13
import org.jetbrains.kotlin.asJava.elements.KtLightMethod
14
14
import org.jetbrains.kotlin.asJava.elements.KtLightSimpleModifierList
15
+ import org.jetbrains.kotlin.asJava.elements.LightParameter
15
16
import org.jetbrains.kotlin.builtins.KotlinBuiltIns
16
17
import org.jetbrains.kotlin.builtins.isSuspendFunctionType
17
18
import org.jetbrains.kotlin.types.KotlinType
@@ -22,9 +23,9 @@ import org.jetbrains.kotlin.psi.*
22
23
23
24
internal class KtUltraLightSuspendContinuationParameter (
24
25
private val ktFunction : KtFunction ,
25
- support : KtUltraLightSupport ,
26
+ private val support : KtUltraLightSupport ,
26
27
method : KtLightMethod
27
- ) : org.jetbrains.kotlin.asJava.elements. LightParameter(SUSPEND_FUNCTION_CONTINUATION_PARAMETER , PsiType .NULL , method, method.language),
28
+ ) : LightParameter(SUSPEND_FUNCTION_CONTINUATION_PARAMETER , PsiType .NULL , method, method.language),
28
29
KtUltraLightElementWithNullabilityAnnotation <KtDeclaration , PsiParameter > {
29
30
30
31
override val kotlinTypeForNullabilityAnnotation: KotlinType ? get() = ktType
@@ -61,6 +62,8 @@ internal class KtUltraLightSuspendContinuationParameter(
61
62
62
63
override fun isEquivalentTo (another : PsiElement ? ): Boolean =
63
64
another is KtUltraLightSuspendContinuationParameter && another.psiType == this .psiType
65
+
66
+ override fun copy (): PsiElement = KtUltraLightSuspendContinuationParameter (ktFunction, support, method)
64
67
}
65
68
66
69
internal abstract class KtUltraLightParameter (
0 commit comments