Merged LoadCompiledKotlin test int LoadJavaTest.

This commit is contained in:
Evgeny Gerashchenko
2013-12-06 16:48:03 +04:00
parent 62f44f7ed0
commit b7cfd676bf
491 changed files with 2032 additions and 2103 deletions
@@ -0,0 +1,9 @@
package test
annotation class Anno
class Class {
class object {
[Anno] var property: Int = 42
}
}
@@ -0,0 +1,16 @@
package test
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno()
}
internal final class Class {
/*primary*/ public constructor Class()
internal class object <class-object-for-Class> {
/*primary*/ private constructor <class-object-for-Class>()
test.Anno() internal final var property: jet.Int
internal final fun <get-property>(): jet.Int
internal final fun <set-property>(/*0*/ <set-?>: jet.Int): jet.Unit
}
}
@@ -0,0 +1,9 @@
package test
annotation class Anno
class Class {
Anno val x: Int by object {
fun get(thiz: Class, data: PropertyMetadata) = null!!
}
}
@@ -0,0 +1,11 @@
package test
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno()
}
internal final class Class {
/*primary*/ public constructor Class()
test.Anno() internal final val x: jet.Int
internal final fun <get-x>(): jet.Int
}
@@ -0,0 +1,11 @@
package test
import java.lang.annotation.ElementType
annotation class Anno(t: ElementType)
class Class {
Anno(ElementType.METHOD) fun foo() {}
Anno(ElementType.FIELD) var bar = 42
}
@@ -0,0 +1,13 @@
package test
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno(/*0*/ t: java.lang.annotation.ElementType)
}
internal final class Class {
/*primary*/ public constructor Class()
test.Anno(t = ElementType.FIELD: java.lang.annotation.ElementType) internal final var bar: jet.Int
internal final fun <get-bar>(): jet.Int
internal final fun <set-bar>(/*0*/ <set-?>: jet.Int): jet.Unit
test.Anno(t = ElementType.METHOD: java.lang.annotation.ElementType) internal final fun foo(): jet.Unit
}
@@ -0,0 +1,7 @@
package test
annotation class Anno
class Class {
Anno fun foo() { }
}
@@ -0,0 +1,10 @@
package test
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno()
}
internal final class Class {
/*primary*/ public constructor Class()
test.Anno() internal final fun foo(): jet.Unit
}
@@ -0,0 +1,8 @@
package test
annotation class Anno
class Class {
val property: Int
[Anno] get() = 42
}
@@ -0,0 +1,11 @@
package test
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno()
}
internal final class Class {
/*primary*/ public constructor Class()
internal final val property: jet.Int
test.Anno() internal final fun <get-property>(): jet.Int
}
@@ -0,0 +1,7 @@
package test
annotation class Anno
class Class {
[Anno] var property: Int = 42
}
@@ -0,0 +1,12 @@
package test
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno()
}
internal final class Class {
/*primary*/ public constructor Class()
test.Anno() internal final var property: jet.Int
internal final fun <get-property>(): jet.Int
internal final fun <set-property>(/*0*/ <set-?>: jet.Int): jet.Unit
}
@@ -0,0 +1,8 @@
package test
annotation class Anno
class Class {
var property: Int = 42
[Anno] set(value) { }
}
@@ -0,0 +1,12 @@
package test
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno()
}
internal final class Class {
/*primary*/ public constructor Class()
internal final var property: jet.Int
internal final fun <get-property>(): jet.Int
test.Anno() internal final fun <set-property>(/*0*/ value: jet.Int): jet.Unit
}