Function generate_java

Source
pub fn generate_java(
    abi_path: &str,
    out_dir: &str,
    package: &str,
) -> Result<(), Box<dyn Error>>
Expand description

Generates Java (Chicory) host function bindings from an ABI JSON file.

Reads and validates the manifest at abi_path, then writes <Name>HostFunctions.java under the Java source root out_dir, in the directory layout implied by the dot-separated package name. This is the library entry point behind the CLI’s --java-out/--java-package flags.