Expand description
Java-17 keywords (incl. restricted identifiers like record, sealed,
var, yield).
Source: JLS 17 §3.9 + §3.8 (restricted identifiers).
When an IDL identifier hits a Java keyword, the generator cannot
avoid it via @-escape (Java has no such syntax).
Instead the name is given an underscore suffix
(class → class_).
Functions§
- is_
reserved - Checks whether an identifier is a Java keyword.
- sanitize_
identifier - Sanitizes an IDL identifier for Java.