Is it possible to write a Kotlin extension function that uses an autowired Spring bean?
d
diesieben07
02/28/2019, 12:36 PM
Kotlin extension functions are just syntax-sugar for static methods. From a Java standpoint they behave just like static methods. So the answer is "Not really".