p-himik

joined 1 year ago
[–] p-himik@alien.top 1 points 1 year ago (1 children)
[–] p-himik@alien.top 1 points 1 year ago (1 children)

I see. FWIW, seems like you can find any older Maven version in their archive: https://archive.apache.org/dist/maven/maven-3/

[–] p-himik@alien.top 1 points 1 year ago (3 children)

Why not just apt install maven?

[–] p-himik@alien.top 1 points 1 year ago

Yeah, getting to inherited methods requires more work, more utility functions. But you can still get that information since you have the info on the bases of a class - you can reflect the whole base tree and build up the full set of supported methods.

[–] p-himik@alien.top 1 points 1 year ago (2 children)

IntelliJ IDEA is definitely much better than VSCode in this regard, and it's pretty much the only thing that's stopping me from switching to VSCode.

But if you're keen on keeping using VSCode, then IMO looking at the sources written in Java is your best bet. In addition, you can use Java reflection, directly or via clojure.reflect/reflect. In the case of the reflect function, things like Portal would be useful since even the simplest types will have a lot of members and Portal will help you with navigating the resulting data structure.

[–] p-himik@alien.top 1 points 1 year ago

Sometimes, depends on whether or not the compiler knows or can figure out which type a function returns. E.g. 1000 is a long, you've marked (handle2 max-time) as long, (* ...) is expanded into (clojure.lang.Numbers/multiply ...), and that static Java method for long arguments returns a long.

[–] p-himik@alien.top 1 points 1 year ago (4 children)

Try using (Thread/sleep ^long sleep-time).