Using the “Push members down” refactoring when the class has no subclasses… In Java, IntelliJ will warn you that there are no subclasses and, in the next step, ask you if you want to create a new class. In Kotlin, IntelliJ will warn you that there are no subclasses and in the next step delete all the members.