Fork me on GitHub
#java
<
2019-02-21
>
jjttjj17:02:20

Is there a way to replicate getting a java static method from clojure, ie

ClassName::staticMethodName
I'm able to get a specific method by its signature using .getMethod but I need to get all implmentations of a method name (as :: seems to allow in java)

alexmiller17:02:59

In short, no

jjttjj18:02:05

gotcha, thanks

alexmiller18:02:36

In long, there are more tedious ways to do the equivalent by using java interop with Java method handles etc

alexmiller18:02:01

perhaps something we'll plug at some point

jjttjj19:02:52

cool. Found a workaround for now but the MethodHandles tip is useful