Java to Kotlin converter: do not produce incorrect "code blocks" which are actually parsed as lambda's in Kotlin

 #KT-4670 Fixed
Java to Kotlin converter: correct nullability in signatures of overrides

 #KT-5269 Fixed
Java to Kotlin converter: minor code refactoring