From 3e1d05f1462207ef8b1e9b73f4582e1cab039000 Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Fri, 20 Apr 2018 21:23:05 +0300 Subject: [PATCH] Update KotlinUMethod for 172/181/as32 branches --- .../jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.172 | 3 +++ .../jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.181 | 3 +++ .../jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.as32 | 3 +++ 3 files changed, 9 insertions(+) diff --git a/plugins/uast-kotlin/src/org/jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.172 b/plugins/uast-kotlin/src/org/jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.172 index 2cc3868f908..75ca810f498 100644 --- a/plugins/uast-kotlin/src/org/jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.172 +++ b/plugins/uast-kotlin/src/org/jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.172 @@ -36,6 +36,9 @@ open class KotlinUMethod( psi: KtLightMethod, givenParent: UElement? ) : KotlinAbstractUElement(givenParent), UAnnotationMethod, JavaUElementWithComments, PsiMethod by psi { + override val comments: List + get() = super.comments + override val psi: KtLightMethod = unwrap(psi) override val uastDefaultValue by lz { diff --git a/plugins/uast-kotlin/src/org/jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.181 b/plugins/uast-kotlin/src/org/jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.181 index cf4c8f155c7..908675a061d 100644 --- a/plugins/uast-kotlin/src/org/jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.181 +++ b/plugins/uast-kotlin/src/org/jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.181 @@ -33,6 +33,9 @@ open class KotlinUMethod( psi: KtLightMethod, givenParent: UElement? ) : KotlinAbstractUElement(givenParent), UAnnotationMethod, UMethodTypeSpecific, UAnchorOwner, JavaUElementWithComments, PsiMethod by psi { + override val comments: List + get() = super.comments + override val psi: KtLightMethod = unwrap(psi) override val javaPsi = psi diff --git a/plugins/uast-kotlin/src/org/jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.as32 b/plugins/uast-kotlin/src/org/jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.as32 index 5a2d576619e..7d68de53c03 100644 --- a/plugins/uast-kotlin/src/org/jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.as32 +++ b/plugins/uast-kotlin/src/org/jetbrains/uast/kotlin/declarations/KotlinUMethod.kt.as32 @@ -36,6 +36,9 @@ open class KotlinUMethod( psi: KtLightMethod, givenParent: UElement? ) : KotlinAbstractUElement(givenParent), UAnnotationMethod, JavaUElementWithComments, PsiMethod by psi { + override val comments: List + get() = super.comments + override val psi: KtLightMethod = unwrap(psi) override val javaPsi = psi