java.lang.Object
org.freedesktop.dbus.utils.bin.IdentifierMangler
Checks identifiers for keywords etc and mangles them if so.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic boolean
isReservedWord
(String _name) Checks if given value is a reserved keyword in Java.static String
Checks if given name is a reserved word in Java.
-
Methodendetails
-
isReservedWord
Checks if given value is a reserved keyword in Java.- Parameter:
_name
- name to check- Gibt zurück:
- true if reserved
-
mangle
Checks if given name is a reserved word in Java.If true, returns the given name with a "_" prepended. Otherwise returns the input string.
- Parameter:
_name
- name to check- Gibt zurück:
- String
-