Annotation methods never return null

This commit is contained in:
Andrey Breslav
2014-01-14 16:29:39 +04:00
parent bf20c3a734
commit 84709ed363
16 changed files with 26 additions and 25 deletions
@@ -4,8 +4,8 @@ public trait CustomAnnotationWithDefaultParameter : java.lang.Object {
public final annotation class MyAnnotation : jet.Annotation {
public constructor MyAnnotation(/*0*/ first: jet.String, /*1*/ second: jet.String = ...)
public abstract fun first(): jet.String?
public abstract fun second(): jet.String?
public abstract fun first(): jet.String
public abstract fun second(): jet.String
}
test.CustomAnnotationWithDefaultParameter.MyAnnotation(first = "f": jet.String, second = "s": jet.String) public open class MyTest : java.lang.Object {