[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(
|
||||
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(
|
||||
|
||||
Reference in New Issue
Block a user