[SLC] SymbolLightAbstractAnnotationParameterList: drop redundant equals/hashCode
^KT-56046
This commit is contained in:
committed by
Space Team
parent
a36e476900
commit
ef566ab479
+1
-5
@@ -13,11 +13,7 @@ import org.jetbrains.kotlin.psi.KtElement
|
|||||||
internal sealed class SymbolLightAbstractAnnotationParameterList(
|
internal sealed class SymbolLightAbstractAnnotationParameterList(
|
||||||
parent: SymbolLightAbstractAnnotation,
|
parent: SymbolLightAbstractAnnotation,
|
||||||
) : KtLightElementBase(parent), PsiAnnotationParameterList {
|
) : KtLightElementBase(parent), PsiAnnotationParameterList {
|
||||||
override val kotlinOrigin: KtElement?
|
override val kotlinOrigin: KtElement? get() = (parent as SymbolLightAbstractAnnotation).kotlinOrigin?.valueArgumentList
|
||||||
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()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
internal fun SymbolLightAbstractAnnotation.symbolLightAnnotationParameterList(
|
internal fun SymbolLightAbstractAnnotation.symbolLightAnnotationParameterList(
|
||||||
|
|||||||
Reference in New Issue
Block a user