[SLC] SymbolLightMemberBase: cleanup code

^KT-54051
This commit is contained in:
Dmitrii Gridin
2022-10-03 19:18:19 +02:00
committed by Space Team
parent a25922f054
commit 3764fa5454
@@ -37,11 +37,9 @@ internal abstract class SymbolLightMemberBase<T : PsiMember>(
abstract override fun getName(): String
override fun isValid(): Boolean =
parent.isValid && lightMemberOrigin?.isValid() != false
override fun isValid(): Boolean = parent.isValid && lightMemberOrigin?.isValid() != false
override fun isEquivalentTo(another: PsiElement?): Boolean =
basicIsEquivalentTo(this, another as? PsiMethod)
override fun isEquivalentTo(another: PsiElement?): Boolean = basicIsEquivalentTo(this, another as? PsiMethod)
abstract override fun hashCode(): Int