...
OBJ01-EX1: "If a class is package-private or is a private
nested class, there is nothing inherently wrong with exposing its data fields �����������������€š�š�š�š�š�š�š�š�����������������‚�š�š�š�š�š�š�š����������������‚�š�š�š�š�š�š��������������‚�š�š�š�š�š������������‚�š�š�š�š����������‚�š�š�š��������‚�š�š������‚�š����‚��“ – assuming they do an adequate job of describing the abstraction provided by the class. This approach generates less visual clutter than the accessor-method approach, both in the class definition and in the client code that uses it" [Bloch 2008]. This exception applies to both mutable and immutable fields.
...