GROOVY-6527: method pointer declaration whitelist blacklist
GROOVY-6527: merge fixes