GROOVY-5924: @ClosureParams annotations for ResourceGroovyMethods