Edoardo Luppi
09/06/2023, 12:19 PM@file:JvmSynthetic
still work?
I can still access both the generated class and its methods in a Java project.mbonnin
09/06/2023, 12:23 PM-
in the filename: @file:JvmName("-foo")
mbonnin
09/06/2023, 12:24 PM@file:JvmSynthetic
is not workingEdoardo Luppi
09/06/2023, 12:25 PM-
prefix in Apollo, and I was really wondering why you were using that tooEdoardo Luppi
09/06/2023, 12:26 PM-
character choice random, or was it the only one to have the correct result?mbonnin
09/06/2023, 12:26 PMEdoardo Luppi
09/06/2023, 12:26 PMmbonnin
09/06/2023, 12:27 PMmbonnin
09/06/2023, 12:27 PMEdoardo Luppi
09/06/2023, 12:29 PMThe "Java letters" include uppercase and lowercase ASCII Latin letters A-Z (\u0041-\u005a), and a-z (\u0061-\u007a), and, for historical reasons, the ASCII underscore (_, or \u005f) and dollar sign ($, or \u0024). The $ character should be used only in mechanically generated source code or, rarely, to access pre-existing names on legacy systems.
Edoardo Luppi
09/06/2023, 12:30 PMThe $ character should be used only in mechanically generated source codeSeems we could even go with $
mbonnin
09/06/2023, 12:31 PMjw
09/06/2023, 12:36 PMjw
09/06/2023, 12:36 PMEdoardo Luppi
09/06/2023, 12:36 PMEdoardo Luppi
09/06/2023, 12:37 PMThe point is to use a character which is valid in the class but not in Java.Noted, thanks
CLOVIS
09/08/2023, 9:41 AMalthough that would maybe follow a "convention" to identify generated stuffwell, "anything that isn't a legal identifier in Java" has to be generated stuff already