GROOVY-5783: Inconsistency when generating sets
Merge branch 'GROOVY_2_3_X' of https://github.com/groovy/groovy-core into GROOVY_2_3_X
trivial refactor: add helper method
trivial doco fix
Fix MetaClassRegistryTest