alef-backend-java
Java (Panama FFM) backend for alef
Generates Java source code using the Panama Foreign Function & Memory API (JDK 21+) to call into the C FFI layer. Produces Java records for data types, enum classes, a raw FFI wrapper class with Linker.downcallHandle and FunctionDescriptor definitions, and a public facade class with idiomatic Java method signatures. Names conflicting with java.lang.Object methods are automatically disambiguated. Generates Maven pom.xml scaffolding.
Part of the alef polyglot binding generator.
License
MIT