Java to Kotlin converter: checking that no element prototype assignment forgotten + no memory leaks through singleton Element instances
Java to Kotlin converter: honor external Nullable/NotNull annotations
Java to Kotlin converter: minor code refactoring
Java to Kotlin converter: specify local variable type when necessary
Java to Kotlin converter: more correct logic for specifying field type