New J2K: Fix SOE in nj2k Java declarations printer

This commit is contained in:
Ilya Kirillov
2019-12-06 12:20:44 +03:00
parent 14a8d3726d
commit 7882f566be
@@ -107,7 +107,11 @@ class JavaContextDeclarationRenderer {
if (!type?.arguments.isNullOrEmpty()) {
append("<")
for (typeArgument in type!!.arguments) {
renderType(typeArgument.type)
if (typeArgument.isStarProjection) {
append("?")
} else {
renderType(typeArgument.type)
}
}
append(">")
}