This commit is contained in:
Valentin Kipyatkov
2015-10-14 17:51:21 +03:00
parent 0542ef30e3
commit 79375fa5e1
2 changed files with 1 additions and 3 deletions
@@ -60,7 +60,6 @@ change.primary.constructor.parameter.type=Change parameter ''{0}'' type of prima
change.type=Change type from ''{0}'' to ''{1}''
change.type.family=Change Type
change.function.signature=Change the signature of function ''{0}''
change.function.literal.signature=Change the signature of function literal
cast.expression.to.type=Cast expression ''{0}'' to ''{1}''
cast.expression.family=Cast Expression
@@ -20,7 +20,6 @@ import com.intellij.openapi.editor.Editor
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiElement
import org.jetbrains.kotlin.descriptors.FunctionDescriptor
import org.jetbrains.kotlin.idea.JetBundle
import org.jetbrains.kotlin.idea.core.CollectingNameValidator
import org.jetbrains.kotlin.idea.core.KotlinNameSuggester
import org.jetbrains.kotlin.idea.refactoring.changeSignature.*
@@ -34,7 +33,7 @@ class ChangeFunctionLiteralSignatureFix(
private val parameterTypes: List<JetType>
) : ChangeFunctionSignatureFix(functionLiteral, functionDescriptor) {
override fun getText() = JetBundle.message("change.function.literal.signature")
override fun getText() = "Change the signature of function literal"
override fun invoke(project: Project, editor: Editor?, file: JetFile) {
runChangeSignature(