Joshua Hansen
10/23/2024, 2:56 AM@JvmStatic ever actually needed other than for a main method? I'm writing some kotlin code which will be used by Java code (which I don't have access to, so I don't know exactly how my functions will be used). Is it better to just mark something with the annotation if I know it's expected to be static in the Java code?loke
10/23/2024, 4:13 AMloke
10/23/2024, 4:14 AMloke
10/23/2024, 4:16 AMStephan Schröder
10/23/2024, 8:20 AMDaniel Pitts
10/23/2024, 2:31 PMJoshua Hansen
10/24/2024, 1:17 AMloke
10/24/2024, 3:12 AMDaniel Pitts
10/24/2024, 3:22 AMloke
10/24/2024, 3:24 AMApplication instance, so you call the launch method directly from the main method, the launch then looks at the stack trace to determine the class which the main method lives in, and instantiates it.loke
10/24/2024, 3:24 AMDaniel Pitts
10/24/2024, 2:24 PMStephan Schröder
10/25/2024, 8:32 AMDaniel Pitts
10/25/2024, 2:32 PMloke
10/26/2024, 12:17 PMloke
10/26/2024, 12:19 PM