witoldsz
06/18/2017, 9:36 PMClassName!
feature when calling Java from Kotlin that makes NPE easy as before.
Why Java methods return special types with !
instead of ?
? The bigger the trouble is, there is no visual difference between Java and Kotlin code, so it is hard to tell by looking at the code if it is safe or not.