Add the dependency to your project
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://www.jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.paradoxpixel</groupId>
<artifactId>jadi</artifactId>
<version>1.0.2</version>
</dependency>
</dependencies>
Then you can start using it by getting a new instance
JaDI jadi = new JaDI();
...
CompletableFuture<MyClass> future=jadi.resolve(Type.of(MyClass.class));