object JavaTypeName : StringNotation
A notation for Java type names. This notation is like UpperCamelCase, but when printing, it will drop any
character that is not allowed in a Java identifier. If the result is a Java keyword, _
will be appended to it.
Allowed characters are determined using Character.isJavaIdentifierStart and Character.isJavaIdentifierPart. Keywords are detected using SourceVersion.isKeyword.
|
Transforms a Word into a string that is formatted according to fun print(word: Word): String |
toString |
fun toString(): String |