Kirill Prybylsky
03/06/2020, 8:44 AMnfrankel
03/06/2020, 8:47 AMtypealias
in javanfrankel
03/06/2020, 8:47 AMKirill Prybylsky
03/06/2020, 8:48 AMnfrankel
03/06/2020, 8:50 AMKirill Prybylsky
03/06/2020, 8:52 AMdiesieben07
03/06/2020, 9:21 AMErrorEvent
with the alias.
Function types are compiled to kotlin.jvm.functions.FunctionN
with N being the arity. In this case you would get Function1<ErrorConsumer, Unit>
Shawn
03/06/2020, 11:53 AMBrian Dilley
03/06/2020, 5:43 PM@FunctionalInterface interface ErrorConsumer { void call(); }
Brian Dilley
03/06/2020, 5:44 PM