This crate exposes a deliberately small and stable surface area.
Public modules:
env- High-level safe wrappers (Jvmti,JniEnv,LocalRef,GlobalRef).sys- Raw FFI bindings for JNI and JVMTI.classfile- Class file parser with Java 8-27 attributes.prelude- Recommended imports for agent authors.advanced- Feature-gated helpers (disabled by default).
Public items:
Agenttraitexport_agent!macroget_default_callbackshelperjnire-export (crate::sys::jni)
Stability notes:
sysfollows the JVMTI/JNI C headers and may grow with new JDK versions.envis the recommended API for most users and aims for stability.advancedAPIs can change faster and are feature-gated.