The only legal need to nest classes in Kotlin, is ...
# random
e
The only legal need to nest classes in Kotlin, is where nested class had to access private member of its outer class. Most often it is not the case and Java is actually very dirty here. In a typical Java code you’ll find a lot of nested classes that have no need to access private members of their parents