Juggle searches Java libraries for types and members that match a given declaration.
Since Juggle is aimed at Java developers, I don't provide a binary release; I assume you're comfortable building and running Java applications.
To install (you'll need to have JDK17 or later on your path):
$ git clone https://github.com/paul-bennett/juggle.git
$ cd juggle
$ ./gradlew jar
$
This will result in a juggle-*.jar
in the build/libs
subdirectory.
Juggle ships with a helpful shell script that sets an alias in Bourne shell derivatives to provide simple execution.
$ source juggle-alias.sh
$
Now, to execute a query just use the juggle
alias:
$ juggle class InetAddress
public sealed class java.net.InetAddress implements java.io.Serializable permits java.net.Inet4Address, java.net.Inet6Address
$
For much more information, including lots of example invocations, see the full documentation at src/main/resources/README.md.
I love feedback. Please let me know if you find Juggle useful or frustrating. Send it to [email protected].
Thanks!
-Paul