Types are no more rendered for annotation arguments + a swarm of tests corrected accordingly

This commit is contained in:
Mikhail Glukhikh
2015-06-29 19:54:43 +03:00
parent dde295011b
commit bae9a7d7f8
213 changed files with 604 additions and 552 deletions
@@ -9,27 +9,27 @@ public abstract class ClassDoesNotOverrideMethod : java.util.Date {
public open override /*1*/ /*fake_override*/ fun clone(): kotlin.Any!
public open override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: java.util.Date!): kotlin.Int
invisible_fake final override /*1*/ /*fake_override*/ fun getCalendarDate(): sun.util.calendar.BaseCalendar.Date!
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getDate(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getDay(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getHours(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getMinutes(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getMonth(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getSeconds(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getDate(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getDay(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getHours(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getMinutes(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getMonth(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getSeconds(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun getTime(): kotlin.Long
invisible_fake final override /*1*/ /*fake_override*/ fun getTimeImpl(): kotlin.Long
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getTimezoneOffset(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getYear(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getTimezoneOffset(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getYear(): kotlin.Int
invisible_fake final override /*1*/ /*fake_override*/ fun normalize(): sun.util.calendar.BaseCalendar.Date!
invisible_fake final override /*1*/ /*fake_override*/ fun normalize(/*0*/ p0: sun.util.calendar.BaseCalendar.Date!): sun.util.calendar.BaseCalendar.Date!
invisible_fake open override /*1*/ /*fake_override*/ fun readObject(/*0*/ p0: java.io.ObjectInputStream!): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setDate(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setHours(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setMinutes(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setMonth(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setSeconds(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setDate(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setHours(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setMinutes(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setMonth(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setSeconds(/*0*/ p0: kotlin.Int): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun setTime(/*0*/ p0: kotlin.Long): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setYear(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun toGMTString(): kotlin.String!
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun toLocaleString(): kotlin.String!
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setYear(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun toGMTString(): kotlin.String!
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun toLocaleString(): kotlin.String!
invisible_fake open override /*1*/ /*fake_override*/ fun writeObject(/*0*/ p0: java.io.ObjectOutputStream!): kotlin.Unit
}
@@ -1,7 +1,7 @@
package test
public open class AnnotatedConstructor {
test.AnnotatedConstructor.Anno(value = "constructor": kotlin.String) public constructor AnnotatedConstructor()
test.AnnotatedConstructor.Anno(value = "constructor") public constructor AnnotatedConstructor()
public final annotation class Anno : kotlin.Annotation {
public constructor Anno(/*0*/ value: kotlin.String)
@@ -2,7 +2,7 @@ package test
public open class AnnotatedField {
public constructor AnnotatedField()
test.AnnotatedField.Anno(value = "member": kotlin.String) public final val y: kotlin.Int = 0
test.AnnotatedField.Anno(value = "member") public final val y: kotlin.Int = 0
public final annotation class Anno : kotlin.Annotation {
public constructor Anno(/*0*/ value: kotlin.String)
@@ -11,5 +11,5 @@ public open class AnnotatedField {
}
// Static members
test.AnnotatedField.Anno(value = "static": kotlin.String) public final val x: kotlin.Int = 0
test.AnnotatedField.Anno(value = "static") public final val x: kotlin.Int = 0
}
@@ -2,7 +2,7 @@ package test
public open class AnnotatedMethod {
public constructor AnnotatedMethod()
test.AnnotatedMethod.Anno(value = 42: kotlin.Int) public open fun f(): kotlin.Unit
test.AnnotatedMethod.Anno(value = 42) public open fun f(): kotlin.Unit
public final annotation class Anno : kotlin.Annotation {
public constructor Anno(/*0*/ value: kotlin.Int)
@@ -2,7 +2,7 @@ package test
public open class AnnotatedValueParameter {
public constructor AnnotatedValueParameter()
public open fun f(/*0*/ test.AnnotatedValueParameter.Anno(value = "non-empty": kotlin.String) p0: kotlin.(Mutable)List<kotlin.String!>!): kotlin.Unit
public open fun f(/*0*/ test.AnnotatedValueParameter.Anno(value = "non-empty") p0: kotlin.(Mutable)List<kotlin.String!>!): kotlin.Unit
public final annotation class Anno : kotlin.Annotation {
public constructor Anno(/*0*/ value: kotlin.String)
@@ -2,15 +2,15 @@ package test
public interface AnnotationInParam {
test.AnnotationInParam.MyAnnotationWithParam(value = test.AnnotationInParam.MyAnnotation(value = "test": kotlin.String): test.AnnotationInParam.MyAnnotation) public open class A {
test.AnnotationInParam.MyAnnotationWithParam(value = test.AnnotationInParam.MyAnnotation(value = "test")) public open class A {
public constructor A()
}
test.AnnotationInParam.MyAnnotationWithParam2(value = test.AnnotationInParam.MyAnnotation2(value = {"test", "test2"}: kotlin.Array<out kotlin.String>): test.AnnotationInParam.MyAnnotation2) public open class B {
test.AnnotationInParam.MyAnnotationWithParam2(value = test.AnnotationInParam.MyAnnotation2(value = {"test", "test2"})) public open class B {
public constructor B()
}
test.AnnotationInParam.MyAnnotationWithParam3(value = test.AnnotationInParam.MyAnnotation3(first = "f": kotlin.String, second = "s": kotlin.String): test.AnnotationInParam.MyAnnotation3) public open class C {
test.AnnotationInParam.MyAnnotationWithParam3(value = test.AnnotationInParam.MyAnnotation3(first = "f", second = "s")) public open class C {
public constructor C()
}
@@ -9,7 +9,7 @@ public open class ArithmeticExpressionInParam {
public abstract fun value(): kotlin.Int
}
test.ArithmeticExpressionInParam.Anno(value = 42: kotlin.Int) public open class Class {
test.ArithmeticExpressionInParam.Anno(value = 42) public open class Class {
public constructor Class()
}
}
@@ -2,7 +2,7 @@ package test
public interface ArrayOfEnumInParam {
java.lang.annotation.Target(value = {ElementType.FIELD, ElementType.CONSTRUCTOR}: kotlin.Array<out java.lang.annotation.ElementType>) public final annotation class targetAnnotation : kotlin.Annotation {
java.lang.annotation.Target(value = {ElementType.FIELD, ElementType.CONSTRUCTOR}) public final annotation class targetAnnotation : kotlin.Annotation {
public constructor targetAnnotation(/*0*/ value: kotlin.String)
public final val value: kotlin.String
public abstract fun value(): kotlin.String
@@ -2,7 +2,7 @@ package test
public interface ArrayOfStringInParam {
test.ArrayOfStringInParam.MyAnnotation(value = {"a", "b", "c"}: kotlin.Array<out kotlin.String>) public open class A {
test.ArrayOfStringInParam.MyAnnotation(value = {"a", "b", "c"}) public open class A {
public constructor A()
}
@@ -9,7 +9,7 @@ public open class ClassObjectArrayInParam {
public abstract fun value(): kotlin.Array<kotlin.reflect.KClass<*>>
}
test.ClassObjectArrayInParam.Anno(value = {test.ClassObjectArrayInParam::class, test.ClassObjectArrayInParam.Nested::class, kotlin.String::class}: kotlin.Array<out kotlin.reflect.KClass<*>>) public open class Nested {
test.ClassObjectArrayInParam.Anno(value = {test.ClassObjectArrayInParam::class, test.ClassObjectArrayInParam.Nested::class, kotlin.String::class}) public open class Nested {
public constructor Nested()
}
}
@@ -9,7 +9,7 @@ public open class ClassObjectInParam {
public abstract fun value(): kotlin.reflect.KClass<*>
}
test.ClassObjectInParam.Anno(value = test.ClassObjectInParam::class: java.lang.Class<test.ClassObjectInParam>) public open class Nested {
test.ClassObjectInParam.Anno(value = test.ClassObjectInParam::class) public open class Nested {
public constructor Nested()
}
}
@@ -11,7 +11,7 @@ public open class ClassObjectInParamRaw {
public abstract fun value(): kotlin.reflect.KClass<*>
}
test.ClassObjectInParamRaw.Anno(arg = {}: kotlin.Array<kotlin.reflect.KClass<*>>, value = test.ClassObjectInParamRaw::class: java.lang.Class<test.ClassObjectInParamRaw>) public open class Nested {
test.ClassObjectInParamRaw.Anno(arg = {}, value = test.ClassObjectInParamRaw::class) public open class Nested {
public constructor Nested()
}
}
@@ -26,7 +26,7 @@ public interface CustomAnnotation {
public final /*synthesized*/ fun values(): kotlin.Array<test.CustomAnnotation.MyEnum>
}
test.CustomAnnotation.MyAnnotation(value = MyEnum.ONE: test.CustomAnnotation.MyEnum) public open class MyTest {
test.CustomAnnotation.MyAnnotation(value = MyEnum.ONE) public open class MyTest {
public constructor MyTest()
}
}
@@ -10,7 +10,7 @@ public interface CustomAnnotationWithDefaultParameter {
public abstract fun second(): kotlin.String
}
test.CustomAnnotationWithDefaultParameter.MyAnnotation(first = "f": kotlin.String, second = "s": kotlin.String) public open class MyTest {
test.CustomAnnotationWithDefaultParameter.MyAnnotation(first = "f", second = "s") public open class MyTest {
public constructor MyTest()
}
}
@@ -2,7 +2,7 @@ package test
public interface EmptyArrayInParam {
test.EmptyArrayInParam.MyAnnotation(value = {}: kotlin.Array<out kotlin.String>) public open class A {
test.EmptyArrayInParam.MyAnnotation(value = {}) public open class A {
public constructor A()
}
@@ -2,7 +2,7 @@ package test
public open class EnumArgumentWithCustomToString {
public constructor EnumArgumentWithCustomToString()
test.EnumArgumentWithCustomToString.EnumAnno(value = E.CAKE: test.EnumArgumentWithCustomToString.E) test.EnumArgumentWithCustomToString.EnumArrayAnno(value = {E.CAKE, E.CAKE}: kotlin.Array<out test.EnumArgumentWithCustomToString.E>) public/*package*/ open fun annotated(): kotlin.Unit
test.EnumArgumentWithCustomToString.EnumAnno(value = E.CAKE) test.EnumArgumentWithCustomToString.EnumArrayAnno(value = {E.CAKE, E.CAKE}) public/*package*/ open fun annotated(): kotlin.Unit
public open enum class E : kotlin.Enum<test.EnumArgumentWithCustomToString.E!> {
public enum entry CAKE : test.EnumArgumentWithCustomToString.E {
@@ -9,7 +9,7 @@ public final enum class EnumConstructorParameter : kotlin.Enum<test.EnumConstruc
}
private constructor EnumConstructorParameter(/*0*/ p0: kotlin.Int)
private constructor EnumConstructorParameter(/*0*/ test.EnumConstructorParameter.Anno(value = "string": kotlin.String) p0: kotlin.String!)
private constructor EnumConstructorParameter(/*0*/ test.EnumConstructorParameter.Anno(value = "string") p0: kotlin.String!)
public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: test.EnumConstructorParameter!): kotlin.Int
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
@@ -8,7 +8,7 @@ public interface EnumInParam {
public abstract fun value(): java.lang.annotation.RetentionPolicy
}
test.EnumInParam.MyRetention(value = RetentionPolicy.RUNTIME: java.lang.annotation.RetentionPolicy) public final annotation class RetentionAnnotation : kotlin.Annotation {
test.EnumInParam.MyRetention(value = RetentionPolicy.RUNTIME) public final annotation class RetentionAnnotation : kotlin.Annotation {
public constructor RetentionAnnotation(/*0*/ value: kotlin.String)
public final val value: kotlin.String
public abstract fun value(): kotlin.String
@@ -2,7 +2,7 @@ package test
public open class NestedEnumArgument {
public constructor NestedEnumArgument()
test.NestedEnumArgument.Anno(value = E.FIRST: test.NestedEnumArgument.E) public/*package*/ open fun foo(): kotlin.Unit
test.NestedEnumArgument.Anno(value = E.FIRST) public/*package*/ open fun foo(): kotlin.Unit
public final annotation class Anno : kotlin.Annotation {
public constructor Anno(/*0*/ value: test.NestedEnumArgument.E)
@@ -2,7 +2,7 @@ package test
public interface PrimitiveValueInParam {
test.PrimitiveValueInParam.Ann(bool = true: kotlin.Boolean, d = 1.0.toDouble(): kotlin.Double, f = 1.0.toFloat(): kotlin.Float, i = 1: kotlin.Int, l = 1.toLong(): kotlin.Long, str = "str": kotlin.String) public open class A {
test.PrimitiveValueInParam.Ann(bool = true, d = 1.0.toDouble(), f = 1.0.toFloat(), i = 1, l = 1.toLong(), str = "str") public open class A {
public constructor A()
}
@@ -2,13 +2,13 @@ package test
public interface RecursiveAnnotation {
test.RecursiveAnnotation.B(value = test.RecursiveAnnotation.A(value = "test": kotlin.String): test.RecursiveAnnotation.A) public final annotation class A : kotlin.Annotation {
test.RecursiveAnnotation.B(value = test.RecursiveAnnotation.A(value = "test")) public final annotation class A : kotlin.Annotation {
public constructor A(/*0*/ value: kotlin.String)
public final val value: kotlin.String
public abstract fun value(): kotlin.String
}
test.RecursiveAnnotation.B(value = test.RecursiveAnnotation.A(value = "test": kotlin.String): test.RecursiveAnnotation.A) public final annotation class B : kotlin.Annotation {
test.RecursiveAnnotation.B(value = test.RecursiveAnnotation.A(value = "test")) public final annotation class B : kotlin.Annotation {
public constructor B(/*0*/ value: test.RecursiveAnnotation.A)
public final val value: test.RecursiveAnnotation.A
public abstract fun value(): test.RecursiveAnnotation.A
@@ -8,7 +8,7 @@ public interface RecursiveAnnotation2 {
public abstract fun value(): test.RecursiveAnnotation2.B
}
test.RecursiveAnnotation2.A(value = test.RecursiveAnnotation2.B(value = "test": kotlin.String): test.RecursiveAnnotation2.B) public final annotation class B : kotlin.Annotation {
test.RecursiveAnnotation2.A(value = test.RecursiveAnnotation2.B(value = "test")) public final annotation class B : kotlin.Annotation {
public constructor B(/*0*/ value: kotlin.String)
public final val value: kotlin.String
public abstract fun value(): kotlin.String
@@ -8,7 +8,7 @@ public interface StringConcatenationInParam {
public abstract fun value(): kotlin.String
}
test.StringConcatenationInParam.Anno(value = "hello": kotlin.String) public open class Class {
test.StringConcatenationInParam.Anno(value = "hello") public open class Class {
public constructor Class()
}
}
@@ -8,7 +8,7 @@ public interface StringConstantInParam {
public abstract fun value(): kotlin.String
}
test.StringConstantInParam.Anno(value = "hello": kotlin.String) public open class Class {
test.StringConstantInParam.Anno(value = "hello") public open class Class {
public constructor Class()
}
@@ -8,7 +8,7 @@ public interface StringInParam {
public abstract fun value(): kotlin.String
}
test.StringInParam.Anno(value = "hello": kotlin.String) public open class Class {
test.StringInParam.Anno(value = "hello") public open class Class {
public constructor Class()
}
}
@@ -2,5 +2,5 @@ package test
public open class AnnotatedMethod {
/*primary*/ public constructor AnnotatedMethod()
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open fun f(): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java") public open fun f(): kotlin.Unit
}
@@ -1,6 +1,6 @@
package test
test.OptionGroups(o1 = test.StringOptions(option = {"abc", "d", "ef"}: kotlin.Array<out kotlin.String>): test.StringOptions, o2 = test.EnumOption(option = E.ENTRY: test.E): test.EnumOption) public final class AnnotationInAnnotationArguments {
test.OptionGroups(o1 = test.StringOptions(option = {"abc", "d", "ef"}), o2 = test.EnumOption(option = E.ENTRY)) public final class AnnotationInAnnotationArguments {
/*primary*/ public constructor AnnotationInAnnotationArguments()
}
@@ -26,7 +26,7 @@ internal final annotation class EnumAnno : kotlin.Annotation {
public final class EnumArgumentWithCustomToString {
/*primary*/ public constructor EnumArgumentWithCustomToString()
test.EnumAnno(value = E.CAKE: test.E) test.EnumArrayAnno(value = {E.CAKE, E.CAKE}: kotlin.Array<out test.E>) internal final fun annotated(): kotlin.Unit
test.EnumAnno(value = E.CAKE) test.EnumArrayAnno(value = {E.CAKE, E.CAKE}) internal final fun annotated(): kotlin.Unit
}
internal final annotation class EnumArrayAnno : kotlin.Annotation {
@@ -7,7 +7,7 @@ internal final annotation class Anno : kotlin.Annotation {
}
internal interface T {
test.Anno(s = "bar": kotlin.String) internal abstract val bar: kotlin.Array<kotlin.Array<kotlin.BooleanArray>>
test.Anno(s = "bar") internal abstract val bar: kotlin.Array<kotlin.Array<kotlin.BooleanArray>>
internal abstract fun <get-bar>(): kotlin.Array<kotlin.Array<kotlin.BooleanArray>>
test.Anno(s = "foo": kotlin.String) internal abstract fun foo(): kotlin.Array<kotlin.Array<kotlin.Array<test.T>>>
test.Anno(s = "foo") internal abstract fun foo(): kotlin.Array<kotlin.Array<kotlin.Array<test.T>>>
}
@@ -7,5 +7,5 @@ internal final annotation class Anno : kotlin.Annotation {
}
internal final class Constructor {
/*primary*/ test.Anno(value = "string": kotlin.String) public constructor Constructor()
/*primary*/ test.Anno(value = "string") public constructor Constructor()
}
@@ -8,8 +8,8 @@ internal final annotation class Anno : kotlin.Annotation {
internal final class Class {
/*primary*/ public constructor Class()
test.Anno(t = ElementType.FIELD: java.lang.annotation.ElementType) internal final var bar: kotlin.Int
test.Anno(t = ElementType.FIELD) internal final var bar: kotlin.Int
internal final fun <get-bar>(): kotlin.Int
internal final fun <set-bar>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
test.Anno(t = ElementType.METHOD: java.lang.annotation.ElementType) internal final fun foo(): kotlin.Unit
test.Anno(t = ElementType.METHOD) internal final fun foo(): kotlin.Unit
}
@@ -1,17 +1,17 @@
package test
kotlin.deprecated(value = "Class": kotlin.String) internal final class Class {
kotlin.deprecated(value = "Class") internal final class Class {
/*primary*/ public constructor Class()
kotlin.deprecated(value = "companion object": kotlin.String) public companion object Companion {
kotlin.deprecated(value = "companion object") public companion object Companion {
/*primary*/ private constructor Companion()
}
kotlin.deprecated(value = "Inner": kotlin.String) internal final inner class Inner {
kotlin.deprecated(value = "Inner") internal final inner class Inner {
/*primary*/ public constructor Inner()
}
kotlin.deprecated(value = "Nested": kotlin.String) internal final class Nested {
kotlin.deprecated(value = "Nested") internal final class Nested {
/*primary*/ public constructor Nested()
}
}
@@ -6,18 +6,18 @@ internal final annotation class Anno : kotlin.Annotation {
internal final fun <get-t>(): java.lang.annotation.ElementType
}
test.Anno(t = ElementType.METHOD: java.lang.annotation.ElementType) internal final class Class {
test.Anno(t = ElementType.METHOD) internal final class Class {
/*primary*/ public constructor Class()
test.Anno(t = ElementType.ANNOTATION_TYPE: java.lang.annotation.ElementType) public companion object Companion {
test.Anno(t = ElementType.ANNOTATION_TYPE) public companion object Companion {
/*primary*/ private constructor Companion()
}
test.Anno(t = ElementType.PARAMETER: java.lang.annotation.ElementType) internal final inner class Inner {
test.Anno(t = ElementType.PARAMETER) internal final inner class Inner {
/*primary*/ public constructor Inner()
}
test.Anno(t = ElementType.TYPE: java.lang.annotation.ElementType) internal final class Nested {
test.Anno(t = ElementType.TYPE) internal final class Nested {
/*primary*/ public constructor Nested()
}
}
@@ -1,5 +1,5 @@
package test
java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME: java.lang.annotation.RetentionPolicy) internal final annotation class Anno : kotlin.Annotation {
java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME) internal final annotation class Anno : kotlin.Annotation {
/*primary*/ public constructor Anno()
}
@@ -18,7 +18,7 @@ internal final annotation class CharAnno : kotlin.Annotation {
internal final fun <get-value>(): kotlin.Char
}
test.IntAnno(value = 42: kotlin.Int) test.ShortAnno(value = 42.toShort(): kotlin.Short) test.ByteAnno(value = 42.toByte(): kotlin.Byte) test.LongAnno(value = 42.toLong(): kotlin.Long) test.CharAnno(value = \u0041 ('A'): kotlin.Char) test.BooleanAnno(value = false: kotlin.Boolean) test.FloatAnno(value = 3.14.toFloat(): kotlin.Float) test.DoubleAnno(value = 3.14.toDouble(): kotlin.Double) internal final class Class {
test.IntAnno(value = 42) test.ShortAnno(value = 42.toShort()) test.ByteAnno(value = 42.toByte()) test.LongAnno(value = 42.toLong()) test.CharAnno(value = \u0041 ('A')) test.BooleanAnno(value = false) test.FloatAnno(value = 3.14.toFloat()) test.DoubleAnno(value = 3.14.toDouble()) internal final class Class {
/*primary*/ public constructor Class()
}
@@ -10,6 +10,6 @@ internal final annotation class Anno : kotlin.Annotation {
internal final fun <get-string>(): kotlin.String
}
test.Anno(double = 3.14.toDouble(): kotlin.Double, int = 42: kotlin.Int, string = "OK": kotlin.String) internal final class Class {
test.Anno(double = 3.14.toDouble(), int = 42, string = "OK") internal final class Class {
/*primary*/ public constructor Class()
}
@@ -1,8 +1,8 @@
package test
test.Anno(t = ElementType.FIELD: java.lang.annotation.ElementType) internal val bar: kotlin.Int = 42
test.Anno(t = ElementType.FIELD) internal val bar: kotlin.Int = 42
internal fun <get-bar>(): kotlin.Int
test.Anno(t = ElementType.METHOD: java.lang.annotation.ElementType) internal fun foo(): kotlin.Unit
test.Anno(t = ElementType.METHOD) internal fun foo(): kotlin.Unit
internal final annotation class Anno : kotlin.Annotation {
/*primary*/ public constructor Anno(/*0*/ t: java.lang.annotation.ElementType)
@@ -1,9 +1,9 @@
package test
test.Anno(t = {ElementType.PACKAGE}: kotlin.Array<out java.lang.annotation.ElementType>) internal val bar: kotlin.Int = 42
test.Anno(t = {ElementType.PACKAGE}) internal val bar: kotlin.Int = 42
internal fun <get-bar>(): kotlin.Int
test.Anno(t = {}: kotlin.Array<out java.lang.annotation.ElementType>) internal fun baz(): kotlin.Unit
test.Anno(t = {ElementType.METHOD, ElementType.FIELD}: kotlin.Array<out java.lang.annotation.ElementType>) internal fun foo(): kotlin.Unit
test.Anno(t = {}) internal fun baz(): kotlin.Unit
test.Anno(t = {ElementType.METHOD, ElementType.FIELD}) internal fun foo(): kotlin.Unit
internal final annotation class Anno : kotlin.Annotation {
/*primary*/ public constructor Anno(/*0*/ vararg t: java.lang.annotation.ElementType /*kotlin.Array<out java.lang.annotation.ElementType>*/)
@@ -1,9 +1,9 @@
package test
test.Anno(t = {"prosper"}: kotlin.Array<out kotlin.String>) internal val bar: kotlin.Int = 42
test.Anno(t = {"prosper"}) internal val bar: kotlin.Int = 42
internal fun <get-bar>(): kotlin.Int
test.Anno(t = {}: kotlin.Array<out kotlin.String>) internal fun baz(): kotlin.Unit
test.Anno(t = {"live", "long"}: kotlin.Array<out kotlin.String>) internal fun foo(): kotlin.Unit
test.Anno(t = {}) internal fun baz(): kotlin.Unit
test.Anno(t = {"live", "long"}) internal fun foo(): kotlin.Unit
internal final annotation class Anno : kotlin.Annotation {
/*primary*/ public constructor Anno(/*0*/ vararg t: kotlin.String /*kotlin.Array<out kotlin.String>*/)
@@ -10,14 +10,14 @@ internal final class Outer {
/*primary*/ public constructor Outer()
internal final inner class Inner {
/*primary*/ public constructor Inner(/*0*/ test.A(s = "inner": kotlin.String) y: kotlin.String)
test.A(s = "inner": kotlin.String) internal final val y: kotlin.String
/*primary*/ public constructor Inner(/*0*/ test.A(s = "inner") y: kotlin.String)
test.A(s = "inner") internal final val y: kotlin.String
internal final fun <get-y>(): kotlin.String
}
internal final class Nested {
/*primary*/ public constructor Nested(/*0*/ test.A(s = "nested": kotlin.String) x: kotlin.String)
test.A(s = "nested": kotlin.String) internal final val x: kotlin.String
/*primary*/ public constructor Nested(/*0*/ test.A(s = "nested") x: kotlin.String)
test.A(s = "nested") internal final val x: kotlin.String
internal final fun <get-x>(): kotlin.String
}
}
@@ -10,5 +10,5 @@ internal final annotation class Ann : kotlin.Annotation {
internal final class TypeAnnotationWithArguments {
/*primary*/ public constructor TypeAnnotationWithArguments()
internal final fun foo(/*0*/ param: @[test.Ann(x = "param": kotlin.String, y = 3.14.toDouble(): kotlin.Double)] kotlin.IntRange): @[test.Ann(x = "fun": kotlin.String, y = 2.72.toDouble(): kotlin.Double)] kotlin.Unit
internal final fun foo(/*0*/ param: @[test.Ann(x = "param", y = 3.14.toDouble())] kotlin.IntRange): @[test.Ann(x = "fun", y = 2.72.toDouble())] kotlin.Unit
}
@@ -9,27 +9,27 @@ public abstract class ClassDoesNotOverrideMethod : java.util.Date {
public open override /*1*/ /*fake_override*/ fun clone(): kotlin.Any!
public open override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: java.util.Date!): kotlin.Int
invisible_fake final override /*1*/ /*fake_override*/ fun getCalendarDate(): sun.util.calendar.BaseCalendar.Date!
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getDate(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getDay(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getHours(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getMinutes(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getMonth(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getSeconds(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getDate(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getDay(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getHours(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getMinutes(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getMonth(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getSeconds(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun getTime(): kotlin.Long
invisible_fake final override /*1*/ /*fake_override*/ fun getTimeImpl(): kotlin.Long
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getTimezoneOffset(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun getYear(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getTimezoneOffset(): kotlin.Int
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun getYear(): kotlin.Int
invisible_fake final override /*1*/ /*fake_override*/ fun normalize(): sun.util.calendar.BaseCalendar.Date!
invisible_fake final override /*1*/ /*fake_override*/ fun normalize(/*0*/ p0: sun.util.calendar.BaseCalendar.Date!): sun.util.calendar.BaseCalendar.Date!
invisible_fake open override /*1*/ /*fake_override*/ fun readObject(/*0*/ p0: java.io.ObjectInputStream!): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setDate(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setHours(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setMinutes(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setMonth(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setSeconds(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setDate(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setHours(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setMinutes(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setMonth(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setSeconds(/*0*/ p0: kotlin.Int): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun setTime(/*0*/ p0: kotlin.Long): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun setYear(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun toGMTString(): kotlin.String!
kotlin.deprecated(value = "Deprecated in Java": kotlin.String) public open override /*1*/ /*fake_override*/ fun toLocaleString(): kotlin.String!
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun setYear(/*0*/ p0: kotlin.Int): kotlin.Unit
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun toGMTString(): kotlin.String!
kotlin.deprecated(value = "Deprecated in Java") public open override /*1*/ /*fake_override*/ fun toLocaleString(): kotlin.String!
invisible_fake open override /*1*/ /*fake_override*/ fun writeObject(/*0*/ p0: java.io.ObjectOutputStream!): kotlin.Unit
}
@@ -1,6 +1,6 @@
package test
kotlin.inline() internal fun a(): kotlin.Unit
kotlin.inline(strategy = InlineStrategy.AS_FUNCTION: kotlin.InlineStrategy) internal fun b(): kotlin.Unit
kotlin.inline(strategy = InlineStrategy.IN_PLACE: kotlin.InlineStrategy) internal fun c(): kotlin.Unit
kotlin.inline(strategy = InlineStrategy.IN_PLACE: kotlin.InlineStrategy) internal fun d(): kotlin.Unit
kotlin.inline(strategy = InlineStrategy.AS_FUNCTION) internal fun b(): kotlin.Unit
kotlin.inline(strategy = InlineStrategy.IN_PLACE) internal fun c(): kotlin.Unit
kotlin.inline(strategy = InlineStrategy.IN_PLACE) internal fun d(): kotlin.Unit
@@ -1,9 +1,9 @@
package test
test.A(s = "2": kotlin.String) internal var v: kotlin.Int
kotlin.platform.platformName(name = "vget": kotlin.String) test.A(s = "3": kotlin.String) internal fun <get-v>(): kotlin.Int
kotlin.platform.platformName(name = "vset": kotlin.String) test.A(s = "4": kotlin.String) internal fun <set-v>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
kotlin.platform.platformName(name = "bar": kotlin.String) test.A(s = "1": kotlin.String) internal fun foo(): kotlin.String
test.A(s = "2") internal var v: kotlin.Int
kotlin.platform.platformName(name = "vget") test.A(s = "3") internal fun <get-v>(): kotlin.Int
kotlin.platform.platformName(name = "vset") test.A(s = "4") internal fun <set-v>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
kotlin.platform.platformName(name = "bar") test.A(s = "1") internal fun foo(): kotlin.String
internal final annotation class A : kotlin.Annotation {
/*primary*/ public constructor A(/*0*/ s: kotlin.String)
+1 -1
View File
@@ -3,7 +3,7 @@ package test
public /*synthesized*/ fun NullInAnnotation(/*0*/ function: () -> kotlin.Unit): test.NullInAnnotation
public interface NullInAnnotation {
test.NullInAnnotation.Ann(a = null: kotlin.Nothing?, b = {null}: kotlin.Array<kotlin.String>) public abstract fun foo(): kotlin.Unit
test.NullInAnnotation.Ann(a = null, b = {null}) public abstract fun foo(): kotlin.Unit
public final annotation class Ann : kotlin.Annotation {
public constructor Ann(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Array<kotlin.String>)