Expand description
Kotlin’s generated artifacts are Java artifacts.
A Kotlin top-level function compiles to a static method on <File>Kt, and @JvmStatic
in an object compiles to a static method on that class. Java source can call both, so
the Java JNI codegen, batch codegen, reflection driver and shadow generation are reused
unchanged. Keeping one generator also keeps generated code under the same clippy gate.
Re-exports§
pub use crate::codegen_java::DRIVER_JAVA;pub use crate::codegen_java::ERROR_JAVA;pub use crate::codegen_java::JSON_JAVA;pub use crate::codegen_java::WIRE_JAVA;pub use crate::codegen_java::native_class;pub use crate::codegen_java::shadows;pub use crate::codegen_java::targets;pub use crate::codegen_java::typed_rs;pub use crate::codegen_java::wire_rs;pub use crate::codegen_java::wrappers;