Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using @DeleGate in groovy, second bean
import groovy.transform.Sortable
import groovy.transform.TupleConstructor
class BeanTwo {
int yob
public int getAge() {
new Date().year - yob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment