Synthetic classes created for enum entries

This commit is contained in:
Andrey Breslav
2013-12-27 12:31:49 +04:00
parent c4fe79f81e
commit a26c37419e
5 changed files with 37 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.CLASS)
@interface Foo {
}

View File

@@ -0,0 +1,8 @@
import java.lang.annotation.*
Foo class Bar
fun box(): String {
Bar()
return "OK"
}