adjust
public static String adjust(String identifier)
Adjust the identifier to make sure that it is C++ compatible.
For example, '$' characters are not allowed in C++, and many identifiers
which are legal in Java are keywords or commonly used macros in C++.
- Parameters:
identifier - the Java identifier
- Returns:
- a C++-compatible mangling of the identifier