renaming KtLightParameter to KtLightParameterImpl
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ open class KtLightMethodImpl protected constructor(
|
||||
protected open fun buildParametersForList(): List<PsiParameter> {
|
||||
val clsParameters by lazyPub { clsDelegate.parameterList.parameters }
|
||||
return (dummyDelegate?.parameterList?.parameters ?: clsParameters).mapIndexed { index, dummyParameter ->
|
||||
KtLightParameter(
|
||||
KtLightParameterImpl(
|
||||
dummyParameter,
|
||||
{ clsParameters.getOrNull(index) },
|
||||
index,
|
||||
|
||||
+2
-2
@@ -22,7 +22,7 @@ import org.jetbrains.kotlin.psi.KtProperty
|
||||
import org.jetbrains.kotlin.psi.KtPropertyAccessor
|
||||
import org.jetbrains.kotlin.psi.psiUtil.isExtensionDeclaration
|
||||
|
||||
class KtLightParameter(
|
||||
class KtLightParameterImpl(
|
||||
private val dummyDelegate: PsiParameter,
|
||||
private val clsDelegateProvider: () -> PsiParameter?,
|
||||
private val index: Int,
|
||||
@@ -108,7 +108,7 @@ class KtLightParameter(
|
||||
if (kotlinOrigin?.isEquivalentTo(another) == true) return@Computable true
|
||||
}
|
||||
|
||||
if (another is KtLightParameter) {
|
||||
if (another is KtLightParameterImpl) {
|
||||
return@Computable kotlinOrigin != null && kotlinOrigin == another.kotlinOrigin && clsDelegate == another.clsDelegate
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user