Annotation constructor parameters are never nullable

This commit is contained in:
Andrey Breslav
2014-01-14 15:39:46 +04:00
parent 65d90e18a2
commit bf20c3a734
16 changed files with 31 additions and 29 deletions
@@ -6,7 +6,7 @@ public trait AnnotationInParam : java.lang.Object {
public constructor A()
}
test.AnnotationInParam.MyAnnotationWithParam2(value = test.AnnotationInParam.MyAnnotation2(value = {"test", "test2"}: jet.Array<jet.String>?): test.AnnotationInParam.MyAnnotation2) public open class B : java.lang.Object {
test.AnnotationInParam.MyAnnotationWithParam2(value = test.AnnotationInParam.MyAnnotation2(value = {"test", "test2"}: jet.Array<jet.String>): test.AnnotationInParam.MyAnnotation2) public open class B : java.lang.Object {
public constructor B()
}
@@ -15,33 +15,33 @@ public trait AnnotationInParam : java.lang.Object {
}
public final annotation class MyAnnotation : jet.Annotation {
public constructor MyAnnotation(/*0*/ value: jet.String?)
public constructor MyAnnotation(/*0*/ value: jet.String)
public abstract fun value(): jet.String?
}
public final annotation class MyAnnotation2 : jet.Annotation {
public constructor MyAnnotation2(/*0*/ vararg value: jet.String? /*jet.Array<jet.String>?*/)
public constructor MyAnnotation2(/*0*/ vararg value: jet.String /*jet.Array<jet.String>*/)
public abstract fun value(): jet.Array<jet.String>?
}
public final annotation class MyAnnotation3 : jet.Annotation {
public constructor MyAnnotation3(/*0*/ first: jet.String?, /*1*/ second: jet.String?)
public constructor MyAnnotation3(/*0*/ first: jet.String, /*1*/ second: jet.String)
public abstract fun first(): jet.String?
public abstract fun second(): jet.String?
}
public final annotation class MyAnnotationWithParam : jet.Annotation {
public constructor MyAnnotationWithParam(/*0*/ value: test.AnnotationInParam.MyAnnotation?)
public constructor MyAnnotationWithParam(/*0*/ value: test.AnnotationInParam.MyAnnotation)
public abstract fun value(): test.AnnotationInParam.MyAnnotation?
}
public final annotation class MyAnnotationWithParam2 : jet.Annotation {
public constructor MyAnnotationWithParam2(/*0*/ value: test.AnnotationInParam.MyAnnotation2?)
public constructor MyAnnotationWithParam2(/*0*/ value: test.AnnotationInParam.MyAnnotation2)
public abstract fun value(): test.AnnotationInParam.MyAnnotation2?
}
public final annotation class MyAnnotationWithParam3 : jet.Annotation {
public constructor MyAnnotationWithParam3(/*0*/ value: test.AnnotationInParam.MyAnnotation3?)
public constructor MyAnnotationWithParam3(/*0*/ value: test.AnnotationInParam.MyAnnotation3)
public abstract fun value(): test.AnnotationInParam.MyAnnotation3?
}
}