I am looking for a way to create a static class in Kotlin. One example is when I want to use JavaFX, I normally need to create a static class that inherit the Application class, and sometimes I also want to create some inner classes that are static. Of course, I have a way to deal with this problem in the former case, but I want to know a general way to create Java static class in Kotlin because I am translating a lot of Java code to Kotlin which has a lot of static classes and did not work using the default translation in IDEA.
Thank you. I am looking forward to hearing from you.