On May 19, 12:07 pm, "Richard Warburton" <[EMAIL PROTECTED]> wrote: > If one generates a method with such a naming, is it possible to call > it from java code? I presume reflection will allow it, but what about > otherwise?
According to the Java language specification, Java method names may only contain characters for which Character.isJavaIdentifierStart()/ Character.isJavaIdentifierPart() returns true. Thus, ',' '?' ' ' are not allowed. Nevertheless, names with such characters might be useful in DSL's based on other JVM languages. Cheers, Peter --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to jvm-languages@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en -~----------~----~----~----~------~----~------~--~---