[SLC] SymbolLightAbstractAnnotationParameterList: drop redundant equals/hashCode

^KT-56046
This commit is contained in:
Dmitrii Gridin
2023-02-02 12:09:17 +01:00
committed by Space Team
parent a36e476900
commit ef566ab479
@@ -13,11 +13,7 @@ import org.jetbrains.kotlin.psi.KtElement
internal sealed class SymbolLightAbstractAnnotationParameterList(
parent: SymbolLightAbstractAnnotation,
) : KtLightElementBase(parent), PsiAnnotationParameterList {
override val kotlinOrigin: KtElement?
get() = (parent as SymbolLightAbstractAnnotation).kotlinOrigin?.valueArgumentList
override fun equals(other: Any?): Boolean = other === this || other is SymbolLightLazyAnnotationParameterList && other.parent == parent
override fun hashCode(): Int = parent.hashCode()
override val kotlinOrigin: KtElement? get() = (parent as SymbolLightAbstractAnnotation).kotlinOrigin?.valueArgumentList
}
internal fun SymbolLightAbstractAnnotation.symbolLightAnnotationParameterList(