OverrideImplementMethodsHandler: J2K

This commit is contained in:
Dmitry Jemerov
2015-04-24 14:05:58 +02:00
parent 5ba89206b7
commit e9c669c841
3 changed files with 262 additions and 303 deletions
@@ -26,7 +26,7 @@ import org.jetbrains.kotlin.psi.JetWithExpressionInitializer
import org.jetbrains.kotlin.psi.JetProperty
import org.jetbrains.kotlin.psi.psiUtil.siblings
private fun moveCaretIntoGeneratedElement(editor: Editor, element: PsiElement): Boolean {
public fun moveCaretIntoGeneratedElement(editor: Editor, element: PsiElement): Boolean {
// Inspired by GenerateMembersUtils.positionCaret()
if (element is JetDeclarationWithBody && element.hasBody()) {