Fixed getPsiMethodWrappers for KtLightMethodForDecompiledDeclaration
#KT-40960 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
ee0250bd35
commit
e2a12602a3
@@ -131,7 +131,7 @@ object LightClassUtil {
|
||||
private fun getPsiMethodWrappers(declaration: KtDeclaration): Sequence<KtLightMethod> =
|
||||
getWrappingClasses(declaration).flatMap { it.methods.asSequence() }
|
||||
.filterIsInstance<KtLightMethod>()
|
||||
.filter { it.kotlinOrigin === declaration }
|
||||
.filter { it.kotlinOrigin === declaration || it.navigationElement === declaration }
|
||||
|
||||
private fun getWrappingClass(declaration: KtDeclaration): PsiClass? {
|
||||
if (declaration is KtParameter) {
|
||||
|
||||
Reference in New Issue
Block a user