181: Change Signature: Restore node generation method
#KT-22817 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
aee9938c70
commit
4934b45b61
+2
@@ -54,6 +54,8 @@ class KotlinCallerChooser(
|
|||||||
previousTree: Tree?,
|
previousTree: Tree?,
|
||||||
callback: Consumer<Set<PsiElement>>
|
callback: Consumer<Set<PsiElement>>
|
||||||
): CallerChooserBase<PsiElement>(declaration, project, title, previousTree, "dummy." + KotlinFileType.EXTENSION, callback) {
|
): CallerChooserBase<PsiElement>(declaration, project, title, previousTree, "dummy." + KotlinFileType.EXTENSION, callback) {
|
||||||
|
override fun createTreeNodeFor(method: PsiElement?, called: HashSet<PsiElement>?, cancelCallback: Runnable?) =
|
||||||
|
KotlinMethodNode(method, called ?: HashSet(), myProject, cancelCallback ?: Runnable {})
|
||||||
|
|
||||||
override fun findDeepestSuperMethods(method: PsiElement) =
|
override fun findDeepestSuperMethods(method: PsiElement) =
|
||||||
method.toLightMethods().singleOrNull()?.findDeepestSuperMethods()
|
method.toLightMethods().singleOrNull()?.findDeepestSuperMethods()
|
||||||
|
|||||||
Reference in New Issue
Block a user