Annotation methods never return null
This commit is contained in:
@@ -16,32 +16,32 @@ public trait AnnotationInParam : java.lang.Object {
|
||||
|
||||
public final annotation class MyAnnotation : jet.Annotation {
|
||||
public constructor MyAnnotation(/*0*/ value: jet.String)
|
||||
public abstract fun 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 abstract fun value(): 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 abstract fun first(): jet.String?
|
||||
public abstract fun 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 abstract fun 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 abstract fun 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 abstract fun value(): test.AnnotationInParam.MyAnnotation3?
|
||||
public abstract fun value(): test.AnnotationInParam.MyAnnotation3
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,6 @@ public trait ArrayOfEnumInParam : java.lang.Object {
|
||||
|
||||
java.lang.annotation.Target(value = {ElementType.FIELD, ElementType.CONSTRUCTOR}: jet.Array<java.lang.annotation.ElementType>) public final annotation class targetAnnotation : jet.Annotation {
|
||||
public constructor targetAnnotation(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String?
|
||||
public abstract fun value(): jet.String
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,6 @@ public trait ArrayOfStringInParam : java.lang.Object {
|
||||
|
||||
public final annotation class MyAnnotation : jet.Annotation {
|
||||
public constructor MyAnnotation(/*0*/ vararg value: jet.String /*jet.Array<jet.String>*/)
|
||||
public abstract fun value(): jet.Array<jet.String>?
|
||||
public abstract fun value(): jet.Array<jet.String>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ public open class ClassObjectArrayInParam : java.lang.Object {
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ vararg value: java.lang.Class<out jet.Any?> /*jet.Array<java.lang.Class<out jet.Any?>>*/)
|
||||
public abstract fun value(): jet.Array<java.lang.Class<out jet.Any?>>?
|
||||
public abstract fun value(): jet.Array<java.lang.Class<out jet.Any?>>
|
||||
}
|
||||
|
||||
test.ClassObjectArrayInParam.Anno(value = {test.ClassObjectArrayInParam?.class, test.ClassObjectArrayInParam.Nested?.class, jet.String?.class}: jet.Array<java.lang.Class<out jet.Any?>>) public open class Nested : java.lang.Object {
|
||||
|
||||
@@ -5,7 +5,7 @@ public open class ClassObjectInParam : java.lang.Object {
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ value: java.lang.Class<out jet.Any?>)
|
||||
public abstract fun value(): java.lang.Class<out jet.Any?>?
|
||||
public abstract fun value(): java.lang.Class<out jet.Any?>
|
||||
}
|
||||
|
||||
test.ClassObjectInParam.Anno(value = test.ClassObjectInParam?.class: java.lang.Class<test.ClassObjectInParam?>) public open class Nested : java.lang.Object {
|
||||
|
||||
@@ -4,7 +4,7 @@ public trait CustomAnnotation : java.lang.Object {
|
||||
|
||||
public final annotation class MyAnnotation : jet.Annotation {
|
||||
public constructor MyAnnotation(/*0*/ value: test.CustomAnnotation.MyEnum)
|
||||
public abstract fun value(): test.CustomAnnotation.MyEnum?
|
||||
public abstract fun value(): test.CustomAnnotation.MyEnum
|
||||
}
|
||||
|
||||
public final enum class MyEnum : jet.Enum<test.CustomAnnotation.MyEnum> {
|
||||
|
||||
+2
-2
@@ -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 {
|
||||
|
||||
@@ -8,6 +8,6 @@ public trait EmptyArrayInParam : java.lang.Object {
|
||||
|
||||
public final annotation class MyAnnotation : jet.Annotation {
|
||||
public constructor MyAnnotation(/*0*/ vararg value: jet.String /*jet.Array<jet.String>*/)
|
||||
public abstract fun value(): jet.Array<jet.String>?
|
||||
public abstract fun value(): jet.Array<jet.String>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,6 @@ public trait EnumInParam : java.lang.Object {
|
||||
|
||||
java.lang.annotation.Retention(value = RetentionPolicy.RUNTIME: java.lang.annotation.RetentionPolicy) public final annotation class RetentionAnnotation : jet.Annotation {
|
||||
public constructor RetentionAnnotation(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String?
|
||||
public abstract fun value(): jet.String
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,6 @@ public trait PrimitiveValueInParam : java.lang.Object {
|
||||
public abstract fun f(): jet.Float
|
||||
public abstract fun i(): jet.Int
|
||||
public abstract fun l(): jet.Long
|
||||
public abstract fun str(): jet.String?
|
||||
public abstract fun str(): jet.String
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,11 +4,11 @@ public trait RecursiveAnnotation : java.lang.Object {
|
||||
|
||||
test.RecursiveAnnotation.B(value = test.RecursiveAnnotation.A(value = "test": jet.String): test.RecursiveAnnotation.A) public final annotation class A : jet.Annotation {
|
||||
public constructor A(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String?
|
||||
public abstract fun value(): jet.String
|
||||
}
|
||||
|
||||
test.RecursiveAnnotation.B(value = test.RecursiveAnnotation.A(value = "test": jet.String): test.RecursiveAnnotation.A) public final annotation class B : jet.Annotation {
|
||||
public constructor B(/*0*/ value: test.RecursiveAnnotation.A)
|
||||
public abstract fun value(): test.RecursiveAnnotation.A?
|
||||
public abstract fun value(): test.RecursiveAnnotation.A
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,11 +4,11 @@ public trait RecursiveAnnotation2 : java.lang.Object {
|
||||
|
||||
public final annotation class A : jet.Annotation {
|
||||
public constructor A(/*0*/ value: test.RecursiveAnnotation2.B)
|
||||
public abstract fun value(): test.RecursiveAnnotation2.B?
|
||||
public abstract fun value(): test.RecursiveAnnotation2.B
|
||||
}
|
||||
|
||||
test.RecursiveAnnotation2.A(value = test.RecursiveAnnotation2.B(value = "test": jet.String): test.RecursiveAnnotation2.B) public final annotation class B : jet.Annotation {
|
||||
public constructor B(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String?
|
||||
public abstract fun value(): jet.String
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ public trait StringConcatenationInParam : java.lang.Object {
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String?
|
||||
public abstract fun value(): jet.String
|
||||
}
|
||||
|
||||
test.StringConcatenationInParam.Anno(value = "hello": jet.String) public open class Class : java.lang.Object {
|
||||
|
||||
@@ -4,7 +4,7 @@ public trait StringConstantInParam : java.lang.Object {
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String?
|
||||
public abstract fun value(): jet.String
|
||||
}
|
||||
|
||||
test.StringConstantInParam.Anno(value = "hello": jet.String) public open class Class : java.lang.Object {
|
||||
|
||||
@@ -4,7 +4,7 @@ public trait StringInParam : java.lang.Object {
|
||||
|
||||
public final annotation class Anno : jet.Annotation {
|
||||
public constructor Anno(/*0*/ value: jet.String)
|
||||
public abstract fun value(): jet.String?
|
||||
public abstract fun value(): jet.String
|
||||
}
|
||||
|
||||
test.StringInParam.Anno(value = "hello": jet.String) public open class Class : java.lang.Object {
|
||||
|
||||
Reference in New Issue
Block a user