Consider this Groovy class:
package test36
class Test36 {
Test36() {}
}
Now, copy and paste it, to create Test36b: the result is:
package test36
class Test36b {
Test36() {}
}
This class does not compile, of course, because the constructor hasn't been renamed.
Consider this Groovy class:
Now, copy and paste it, to create
Test36b: the result is:This class does not compile, of course, because the constructor hasn't been renamed.