Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Using @Delegate in groovy, first bean
import groovy.transform.Sortable
import groovy.transform.TupleConstructor
@Sortable
@TupleConstructor
class BeanOne {
String firstName
String familyName
public String getFullName() {
"$firstName $familyName"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment