[SLC] rename SymbolLazyAnnotationParameterList to SymbolLightLazyAnnotationParameterList
^KT-56046
This commit is contained in:
committed by
Space Team
parent
871bfab6da
commit
a8f3cdcb80
+1
-1
@@ -24,7 +24,7 @@ internal class SymbolLightAnnotationForAnnotationCall(
|
||||
PsiImplUtil.findDeclaredAttributeValue(this, attributeName)
|
||||
|
||||
private val _parameterList: PsiAnnotationParameterList by lazyPub {
|
||||
SymbolLazyAnnotationParameterList(this, lazyOf(annotationCall.arguments))
|
||||
SymbolLightLazyAnnotationParameterList(this, lazyOf(annotationCall.arguments))
|
||||
}
|
||||
|
||||
override fun getParameterList(): PsiAnnotationParameterList = _parameterList
|
||||
|
||||
+1
-1
@@ -76,7 +76,7 @@ internal class SymbolLightLazyAnnotation private constructor(
|
||||
override fun getQualifiedName(): String = classId.asFqNameString()
|
||||
|
||||
private val _parameterList: PsiAnnotationParameterList by lazyPub {
|
||||
SymbolLazyAnnotationParameterList(this, lazyPub { annotationApplication.value.arguments })
|
||||
SymbolLightLazyAnnotationParameterList(this, lazyPub { annotationApplication.value.arguments })
|
||||
}
|
||||
|
||||
override fun getParameterList(): PsiAnnotationParameterList = _parameterList
|
||||
|
||||
+2
-2
@@ -12,7 +12,7 @@ import org.jetbrains.kotlin.asJava.classes.lazyPub
|
||||
import org.jetbrains.kotlin.asJava.elements.KtLightElementBase
|
||||
import org.jetbrains.kotlin.psi.KtElement
|
||||
|
||||
internal class SymbolLazyAnnotationParameterList(
|
||||
internal class SymbolLightLazyAnnotationParameterList(
|
||||
parent: SymbolLightAbstractAnnotation,
|
||||
private val lazyArguments: Lazy<List<KtNamedAnnotationValue>>,
|
||||
) : KtLightElementBase(parent),
|
||||
@@ -30,6 +30,6 @@ internal class SymbolLazyAnnotationParameterList(
|
||||
|
||||
override fun getAttributes(): Array<PsiNameValuePair> = _attributes
|
||||
|
||||
override fun equals(other: Any?): Boolean = other === this || other is SymbolLazyAnnotationParameterList && other.parent == parent
|
||||
override fun equals(other: Any?): Boolean = other === this || other is SymbolLightLazyAnnotationParameterList && other.parent == parent
|
||||
override fun hashCode(): Int = parent.hashCode()
|
||||
}
|
||||
+1
-1
@@ -37,7 +37,7 @@ internal class SymbolLightSimpleAnnotation(
|
||||
PsiImplUtil.findDeclaredAttributeValue(this, attributeName)
|
||||
|
||||
private val _parameterList: PsiAnnotationParameterList by lazyPub {
|
||||
SymbolLazyAnnotationParameterList(this, lazyOf(arguments))
|
||||
SymbolLightLazyAnnotationParameterList(this, lazyOf(arguments))
|
||||
}
|
||||
|
||||
override fun getParameterList(): PsiAnnotationParameterList = _parameterList
|
||||
|
||||
Reference in New Issue
Block a user