Better texts for quickfixes to change return type

This commit is contained in:
Valentin Kipyatkov
2016-09-20 19:15:05 +03:00
parent 8d67a65ed9
commit dab6f7d13d
86 changed files with 145 additions and 115 deletions
@@ -1,4 +1,4 @@
// "Change 'A.foo' function return type to 'Long'" "true"
// "Change return type of overridden function 'A.foo' to 'Long'" "true"
interface A {
fun foo(): Int
}
@@ -1,4 +1,4 @@
// "Change 'A.foo' function return type to 'Long'" "true"
// "Change return type of overridden function 'A.foo' to 'Long'" "true"
interface A {
fun foo(): Long
}
@@ -1,4 +1,4 @@
// "Change 'foo' function return type to 'Boolean'" "true"
// "Change return type to 'Boolean'" "true"
interface A {
fun foo(): Boolean
@@ -1,4 +1,4 @@
// "Change 'foo' function return type to 'Boolean'" "true"
// "Change return type to 'Boolean'" "true"
interface A {
fun foo(): Boolean
@@ -1,4 +1,4 @@
// "Change 'B.foo' function return type to 'T'" "true"
// "Change return type to 'T'" "true"
open class S {}
open class T : S() {}
@@ -1,4 +1,4 @@
// "Change 'B.foo' function return type to 'T'" "true"
// "Change return type to 'T'" "true"
open class S {}
open class T : S() {}
@@ -1,4 +1,4 @@
// "Change 'B.foo' function return type to 'Int'" "true"
// "Change return type to 'Int'" "true"
abstract class A {
abstract fun foo() : Int;
}
@@ -1,4 +1,4 @@
// "Change 'B.foo' function return type to 'Int'" "true"
// "Change return type to 'Int'" "true"
abstract class A {
abstract fun foo() : Int;
}
@@ -1,4 +1,4 @@
// "Change 'B.foo' function return type to 'Int'" "true"
// "Change return type to 'Int'" "true"
abstract class A {
abstract fun foo() : Int;
}
@@ -1,4 +1,4 @@
// "Change 'B.foo' function return type to 'Int'" "true"
// "Change return type to 'Int'" "true"
abstract class A {
abstract fun foo() : Int;
}
@@ -1,4 +1,4 @@
// "Remove explicitly specified return type in 'A.remove' function" "true"
// "Remove explicitly specified return type" "true"
abstract class A : java.util.Iterator<Int> {
public abstract override fun remove() : Int<caret>;
}
@@ -1,4 +1,4 @@
// "Remove explicitly specified return type in 'A.remove' function" "true"
// "Remove explicitly specified return type" "true"
abstract class A : java.util.Iterator<Int> {
public abstract override fun remove();
}