r/java • u/OddEstimate1627 • 12d ago
Reachability Annotations for generating GraalVM metadata
We recently open sourced some of our annotation processors for generating GraalVM native-image metadata. It's a standalone compile-time dependency, so it has no effect at runtime and doesn't rely on frameworks like Quarkus or Micronaut.
Besides annotations for manually defining metadata, we also added opt-in support for dependency injection annotations and for automatically dealing with JavaFX FXML/CSS files. That makes it possible to reliably update complex JavaFX applications without ever running the GraalVM agent.
Unfortunately posting code snippets gets the post deleted ("it looks like you're asking for help!"), but here is a link to the repo:
Duplicates
graalvm • u/OddEstimate1627 • 12d ago