is there a way to reference inline function in Java terms, I'm trying to create an ArchJUnit rule that specific function should not be used but how can I reference function without class name or fully qualified name
s
Sam Garfinkel
05/28/2020, 1:20 PM
No. Inline functions don’t exist as independent named functions in the bytecode. The Java compiler can’t interpret them so they are only callable in Kotlin.
Sam Garfinkel
05/28/2020, 1:21 PM
It’s pretty self explanatory but the compiler inlines the function’s body at the call site.