New J2K: Make annotation's type parameters not null

This commit is contained in:
Ilya Kirillov
2018-12-24 12:59:01 +03:00
committed by Ilya Kirillov
parent 211405c034
commit 95efc5eecf
@@ -50,7 +50,7 @@ class JavaMethodToKotlinFunctionConversion(private val context: ConversionContex
if (declaration.throwsList.isNotEmpty()) { if (declaration.throwsList.isNotEmpty()) {
it.annotations += it.annotations +=
throwAnnotation( throwAnnotation(
declaration.throwsList.map { it.type }, declaration.throwsList.map { it.type.updateNullabilityRecursively(Nullability.NotNull) },
context.symbolProvider context.symbolProvider
) )
} }