https://kotlinlang.org logo
#announcements
Title
# announcements
d

diesieben07

08/16/2017, 11:24 AM
@michaelzinn You can also use the
@JvmSuppressWildcards
annotation like so:
List<@JvmSuppressWildcards List<String>>
.
👍 1
k

karelpeeters

08/16/2017, 11:35 AM
Wouldn't he need
List<@JvmSuppressWildcards List<@JvmSuppressWildcards String>>
then?
d

diesieben07

08/16/2017, 11:41 AM
In theory yes, but since
String
is final, the compiler does not seem to generate the wildcards there anyways.
1
k

karelpeeters

08/16/2017, 11:42 AM
Ah interesting.
m

michaelzinn

08/16/2017, 2:32 PM
Thank you, stranger with the great profile picture!
😄 1
4 Views