GROOVY-4655: groovy.transform.EqualsAndHashCode annotation does not handle cycles
for @markhibberd: GROOVY-4655: groovy.transform.EqualsAndHashCode annotation does not handle cycles (test case)
for @markhibberd: GROOVY-4655: groovy.transform.EqualsAndHashCode annotation does not handle cycles (fix hashCode() too)
GROOVY-6055: Static context should be set to false when visiting closures