groostav
11/05/2024, 6:06 AM::invoke off a KClass instanceCies
11/05/2024, 9:52 AMfun is not part of a class, right? Why would you need invoke on the class?Klitos Kyriacou
11/05/2024, 2:46 PMjava.util.function.Function from a KFunction just by the expression Function(x). Then you'll have the apply method available.groostav
11/05/2024, 8:13 PMannotationThing.process(arg = @CustomAnnotation fun(message: Message) { ... })
annotationThing.process in turn calls arg::class.members.findMembersAnnotatedBy<CustomAnnotation>groostav
11/05/2024, 8:13 PMinvoke fun. This seems like a bug to me.Cies
11/05/2024, 11:47 PMprocess?