Create from usage: Renamed all references of 'method' to 'function'.

This commit is contained in:
Jack Zhou
2013-05-01 17:58:25 -04:00
parent d2ce58e912
commit ec15d5fee4
52 changed files with 114 additions and 112 deletions
@@ -1,7 +1,7 @@
// "Create method 'iterator' from usage" "true"
// "Create function 'iterator' from usage" "true"
class Foo<T> {
fun iterator(): Iterator<T> {
throw UnsupportedOperationException("not implemented") //To change body of created methods use File | Settings | File Templates.
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
fun foo() {
@@ -1,7 +1,7 @@
// "Create method 'iterator' from usage" "true"
// "Create function 'iterator' from usage" "true"
class Foo<T> {
fun iterator(): Iterator<String> {
throw UnsupportedOperationException("not implemented") //To change body of created methods use File | Settings | File Templates.
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
fun foo() {
@@ -1,4 +1,4 @@
// "Create method 'iterator' from usage" "true"
// "Create function 'iterator' from usage" "true"
class Foo<T>
fun foo() {
for (i: Int in Foo<caret><Int>()) { }
@@ -1,4 +1,4 @@
// "Create method 'iterator' from usage" "true"
// "Create function 'iterator' from usage" "true"
class Foo<T>
fun foo() {
for (i in Foo<caret><Int>()) {