I'm new to groovy, and I found that by creating a public post, groovy provides default getters and seters. Is there a default way to use only getters, but not setters? The reason for this is that I have a Builder, and I do not want to provide access to the fields of the object for modification.
source
share