groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <>
Subject Re: what kind of class should a open block be?
Date Fri, 19 Jun 2015 04:24:36 GMT
no one?

Am 17.06.2015 15:44, schrieb Jochen Theodorou:
> Hi all,
> since there are some changes in JDK9 that might get getSimpleName()
> working on our generated closure classes. I was wondering what kind such
> a class should actually be.
> If we want getSimpleName() to not to return an empty string, then it
> cannot be an anonymous class. It sure won't be a top-level class. That
> leaves nested/inner classes and local classes. Usually only local and
> anonymous classes have an enclosing method, so I think it should be one
> of those.
> If I understand Cedric right, it should be a local class. I think either
> is fine actually. Historically, the inner class information was not very
> reliable, so I think we are pretty open for this one
> bye blackdrag

Jochen "blackdrag" Theodorou

View raw message