Skip to main content

Module java

Module java 

Source
Expand description

Java: Maven and Gradle modules, imports, risks, the artifact-to-crate table, and public static methods of public classes with Java types mapped into the TS-like type dialect. A unit is a package (a folder).

Functions§

discover
exports
public static methods of the file’s public top-level classes. prototype holds the declaring class’s fully qualified name and the signature: com.x.Strings.slugify(String text).
java_to_ts
A Java type in the TS-like dialect, or why the bridge cannot carry it.
lookup
Rust counterparts of common Java libraries, by import prefix or Maven coordinates.
package_name
The package of a Java file.
receiver
The declaring class and the method name of an export: ("com.x.Strings", "slugify").
resolve
scan