GitHub user mgroovy opened a pull request:
https://github.com/apache/groovy/pull/686
@Newify table name pattern support
Added class name pattern parameter support to `@Newify` annotation (e.g.
`@Newify(pattern=/[A-Z].*/)`) that allows users to define the classes with
newify support through the pattern in addition to the existing class list
parameter.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgroovy/groovy mgroovy_newify_pattern
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/groovy/pull/686.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #686
----
commit d0775888e1162d3378fedfb7ecf38797c82aa197
Author: mgroovy <31455466+mgroovy@...>
Date: 2018-04-10T22:36:28Z
@Newify: classNamePattern support for imported and inner classes
commit 9dad89ddeda8766e25e8bc62c9bf5a06fd4ffe00
Author: mgroovy <31455466+mgroovy@...>
Date: 2018-04-10T22:36:28Z
@Newify: classNamePattern support for imported and inner classes
commit 9eeaf2b976f61e45e12570304fade3b01d1a7b61
Author: mgroovy <31455466+mgroovy@...>
Date: 2018-04-11T01:14:40Z
Merge branch 'mgroovy_newify_pattern' of https://github.com/mgroovy/groovy
into mgroovy_newify_pattern
commit 66431efbe748781d9d86f79454c40918e941f937
Author: mgroovy <31455466+mgroovy@...>
Date: 2018-04-14T12:04:29Z
@Newify: classNamePattern support for imported and inner classes - all
cases working, when explicitely passing outer class this argument to non-static
inner class ctors
commit 382586875fa824bd6a495e6b7754aad4bba56b87
Author: mgroovy <31455466+mgroovy@...>
Date: 2018-04-17T00:22:42Z
@Newify classNamePattern: supporting all cases (imported/inner/global) +
documentation with too-lenient pattern warning [NewifyTransformBlackBoxTest]
commit 9f06e2d7ddedce93659d89149c0a2522635d62fa
Author: mgroovy <31455466+mgroovy@...>
Date: 2018-04-17T20:47:45Z
Merge branch 'master' of https://github.com/apache/groovy into
mgroovy_newify_pattern
merǵed with Groovy master
----
---