Crate graal_bindgen_macros[][src]

Macros

class

Generates bindings for a Java class, using method and constructor stubs provided in the body.

java_constructor
java_method

[return_type] rust_name [java_name]([args]);
This function takes a JavaFunctionStub and generates the binding code for it.
The following JavaFunctionStub will generate a binding for ArrayList#remove(int index), using remove_at as the rust name and remove as the java name. (some types shown as strings for clarity):