Join Slack
Powered by
I have a java class with a bunch of static methods...
# getting-started
z
zpearce
03/23/2018, 9:11 PM
I have a java class with a bunch of static methods on it. Is there a way to use kotlin's
with()
against that?
with(MyJavaType) {}
complains about MyJavaType not having a companion object.
k
karelpeeters
03/23/2018, 11:09 PM
I don't think so, your best bet is to use static imports I guess.
3
Views
Open in Slack
Previous
Next