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,11 @@
package test
annotation class Anno
class Class {
class object {
Anno class Nested
Anno inner class Inner
}
}
@@ -0,0 +1,21 @@
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 inner class Inner {
/*primary*/ public constructor Inner()
}
test.Anno() internal final class Nested {
/*primary*/ public constructor Nested()
}
}
}
@@ -0,0 +1,7 @@
package test
annotation class Anno
class Class {
Anno class object
}
@@ -0,0 +1,13 @@
package test
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno()
}
internal final class Class {
/*primary*/ public constructor Class()
test.Anno() internal class object <class-object-for-Class> {
/*primary*/ private constructor <class-object-for-Class>()
}
}
@@ -0,0 +1,9 @@
package test
deprecated("Class") class Class {
deprecated("Nested") class Nested
deprecated("Inner") inner class Inner
deprecated("class object") class object
}
@@ -0,0 +1,17 @@
package test
jet.deprecated(value = "Class": jet.String) internal final class Class {
/*primary*/ public constructor Class()
jet.deprecated(value = "class object": jet.String) internal class object <class-object-for-Class> {
/*primary*/ private constructor <class-object-for-Class>()
}
jet.deprecated(value = "Inner": jet.String) internal final inner class Inner {
/*primary*/ public constructor Inner()
}
jet.deprecated(value = "Nested": jet.String) internal final class Nested {
/*primary*/ public constructor Nested()
}
}
@@ -0,0 +1,13 @@
package test
import java.lang.annotation.ElementType
annotation class Anno(t: ElementType)
Anno(ElementType.METHOD) class Class {
Anno(ElementType.PARAMETER) inner class Inner
Anno(ElementType.TYPE) class Nested
Anno(ElementType.ANNOTATION_TYPE) class object
}
@@ -0,0 +1,21 @@
package test
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno(/*0*/ t: java.lang.annotation.ElementType)
}
test.Anno(t = ElementType.METHOD: java.lang.annotation.ElementType) internal final class Class {
/*primary*/ public constructor Class()
test.Anno(t = ElementType.ANNOTATION_TYPE: java.lang.annotation.ElementType) internal class object <class-object-for-Class> {
/*primary*/ private constructor <class-object-for-Class>()
}
test.Anno(t = ElementType.PARAMETER: java.lang.annotation.ElementType) internal final inner class Inner {
/*primary*/ public constructor Inner()
}
test.Anno(t = ElementType.TYPE: java.lang.annotation.ElementType) internal final class Nested {
/*primary*/ public constructor Nested()
}
}
@@ -0,0 +1,7 @@
package test
annotation class A1
annotation class A2
annotation class A3
A1 A2 A3 class Class
@@ -0,0 +1,17 @@
package test
internal final annotation class A1 : jet.Annotation {
/*primary*/ public constructor A1()
}
internal final annotation class A2 : jet.Annotation {
/*primary*/ public constructor A2()
}
internal final annotation class A3 : jet.Annotation {
/*primary*/ public constructor A3()
}
test.A1() test.A2() test.A3() internal final class Class {
/*primary*/ public constructor Class()
}
@@ -0,0 +1,9 @@
package test
annotation class Anno
class Class {
Anno class Nested
Anno inner class Inner
}
@@ -0,0 +1,17 @@
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 inner class Inner {
/*primary*/ public constructor Inner()
}
test.Anno() internal final class Nested {
/*primary*/ public constructor Nested()
}
}
@@ -0,0 +1,5 @@
package test
import java.lang.annotation.*
Retention(RetentionPolicy.RUNTIME) annotation class Anno
@@ -0,0 +1,5 @@
package test
java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME: java.lang.annotation.RetentionPolicy) internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno()
}
@@ -0,0 +1,5 @@
package test
annotation class Anno
Anno class X
@@ -0,0 +1,9 @@
package test
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno()
}
test.Anno() internal final class X {
/*primary*/ public constructor X()
}
@@ -0,0 +1,20 @@
package test
annotation class IntAnno(val value: Int)
annotation class ShortAnno(val value: Short)
annotation class ByteAnno(val value: Byte)
annotation class LongAnno(val value: Long)
annotation class CharAnno(val value: Char)
annotation class BooleanAnno(val value: Boolean)
annotation class FloatAnno(val value: Float)
annotation class DoubleAnno(val value: Double)
IntAnno(42.toInt())
ShortAnno(42.toShort())
ByteAnno(42.toByte())
LongAnno(42.toLong())
CharAnno('A')
BooleanAnno(false)
FloatAnno(3.14.toFloat())
DoubleAnno(3.14)
class Class
@@ -0,0 +1,53 @@
package test
internal final annotation class BooleanAnno : jet.Annotation {
/*primary*/ public constructor BooleanAnno(/*0*/ value: jet.Boolean)
internal final val value: jet.Boolean
internal final fun <get-value>(): jet.Boolean
}
internal final annotation class ByteAnno : jet.Annotation {
/*primary*/ public constructor ByteAnno(/*0*/ value: jet.Byte)
internal final val value: jet.Byte
internal final fun <get-value>(): jet.Byte
}
internal final annotation class CharAnno : jet.Annotation {
/*primary*/ public constructor CharAnno(/*0*/ value: jet.Char)
internal final val value: jet.Char
internal final fun <get-value>(): jet.Char
}
test.IntAnno(value = 42.toInt(): jet.Int) test.ShortAnno(value = 42.toShort(): jet.Short) test.ByteAnno(value = 42.toByte(): jet.Byte) test.LongAnno(value = 42.toLong(): jet.Long) test.CharAnno(value = #65(A): jet.Char) test.BooleanAnno(value = false: jet.Boolean) test.FloatAnno(value = 3.14.toFloat(): jet.Float) test.DoubleAnno(value = 3.14.toDouble(): jet.Double) internal final class Class {
/*primary*/ public constructor Class()
}
internal final annotation class DoubleAnno : jet.Annotation {
/*primary*/ public constructor DoubleAnno(/*0*/ value: jet.Double)
internal final val value: jet.Double
internal final fun <get-value>(): jet.Double
}
internal final annotation class FloatAnno : jet.Annotation {
/*primary*/ public constructor FloatAnno(/*0*/ value: jet.Float)
internal final val value: jet.Float
internal final fun <get-value>(): jet.Float
}
internal final annotation class IntAnno : jet.Annotation {
/*primary*/ public constructor IntAnno(/*0*/ value: jet.Int)
internal final val value: jet.Int
internal final fun <get-value>(): jet.Int
}
internal final annotation class LongAnno : jet.Annotation {
/*primary*/ public constructor LongAnno(/*0*/ value: jet.Long)
internal final val value: jet.Long
internal final fun <get-value>(): jet.Long
}
internal final annotation class ShortAnno : jet.Annotation {
/*primary*/ public constructor ShortAnno(/*0*/ value: jet.Short)
internal final val value: jet.Short
internal final fun <get-value>(): jet.Short
}
@@ -0,0 +1,5 @@
package test
annotation class Anno(val int: Int, val string: String, val double: Double)
Anno(42.toInt(), "OK", 3.14.toDouble()) class Class
@@ -0,0 +1,15 @@
package test
internal final annotation class Anno : jet.Annotation {
/*primary*/ public constructor Anno(/*0*/ int: jet.Int, /*1*/ string: jet.String, /*2*/ double: jet.Double)
internal final val double: jet.Double
internal final fun <get-double>(): jet.Double
internal final val int: jet.Int
internal final fun <get-int>(): jet.Int
internal final val string: jet.String
internal final fun <get-string>(): jet.String
}
test.Anno(double = 3.14.toDouble(): jet.Double, int = 42.toInt(): jet.Int, string = "OK": jet.String) internal final class Class {
/*primary*/ public constructor Class()
}