Converter:

Functions are final by default in plugin mode
This commit is contained in:
Pavel V. Talanov
2013-11-19 16:52:57 +04:00
parent bf4e27b152
commit d98d8cfa7f
88 changed files with 168 additions and 162 deletions
@@ -1,13 +1,13 @@
package test
public class Test(str : String) {
var myStr : String = "String2"
public open fun sout(str : String) {
public fun sout(str : String) {
System.out.println(str)
}
public open fun dummy(str : String) : String {
public fun dummy(str : String) : String {
return str
}
public open fun test() {
public fun test() {
sout("String")
val test = "String2"
sout(test)
@@ -1,6 +1,6 @@
package test
class Foo() {
open fun execute() {
fun execute() {
}
}
class Bar() {
@@ -8,7 +8,7 @@ var fooNotNull : Foo = Foo()
var fooNullable : Foo = null
}
class Test() {
public open fun test(barNotNull : Bar, barNullable : Bar) {
public fun test(barNotNull : Bar, barNullable : Bar) {
barNotNull.fooNotNull.execute()
barNotNull.fooNullable.execute()
barNullable.fooNotNull.execute()