You could say this is P/Invoke for Java, which .NET had for more than a decade now. Better late than never I guess.
P/Invoke does not parse C headers, but neither does this proposal.
This proposal will pave the way for jextract, though. I would argue this series of JEPs is much closer in spirit to something like Rust's cxx than P/Invoke is.
/** @dll.import("USER32", entrypoint="GetSysColor") */
static native int getSysColor(int nIndex);
versus [DllImport("USER32", EntryPoint = "GetSysColor")]
static extern int GetSysColor(int nIndex);