What does 'private' mean in Groovy?

groovy

Solution

By design Groovy should respect the private modifier, however the current implementation takes no account of it.

There are further details in groovy call private method in Java super class

Problem

The following code sets a private method. So how private really is private? ``` public class Person { private String name } def u = new Person(name:"Ron") println u.name ```

Original source

Related problems